Ghost Holic – Day 5

  1. Design and Planning – Ghost Holic
  2. Ghost Holic – Day 2 Dev Diary
  3. Ghost Holic – Day 3 Dev Diary
  4. Conceptualization: Houses in Ghost Holic
  5. Ghost Holic – Day 4 Dev Diary
  6. Ghost Holic – Day 5
  7. Ghost Holic – A few days later.
  8. Ghost Holic – Building the Goal Map
  9. Project: Ghost Holic

Today I’ve expanded on the Procedural systems and added a Wall generator to interpret output of the House Generator and turn the data into a proper room.
I started by making some basic walls, and then a 1×1 room that I’d try to replicate in code.
Then after I was able to replicate the 1×1 I made a 2×2.

And then I tried to make doors and ran into an issue I had predicted with my system.

The doors push outwards instead of inwards. They have to or else they wont blend in with the other walls.

This here was my goal, and I was able to achieve it by adding a slight offset in the opposite direction of where the wall

And now I can generate some neat doorways like this!