Game
TLP
8 years ago

XYZ - Floor with windows


Not as much work has been done as I planned. The easiest part was adding windows to current rooms, simple detection of collision in the second pass and here we go. The more challenging was looking for a little bug in calculation of entrance, but from now on we won’t encounter a situation where doors are blocked by wall from another room :)

So to sum it up, the current process of house generation looks like:

  1. Build space map

  2. Randomize base floor with checking in space map

  3. Check collisions of each room and add windows.

5d0a4a130cb47.jpg

Here is how my space map looks like:

5d0a4a15d532e.jpg

0 are free spaces
1 are occupied by room
2 represents an entrance that is not connected



0 comments

Loading...

Next up

TLP - Week #7 + #8 (Banana)

"Thanks guys for endless hours of fun." 👍

(My first fan art. Read the article, please.)

#sonic #mario #photoshop

Have a good Boi

Shadow The Hedgehog X pixel art

I was bored, so... ManutKat.

The whole squad is here!

Interested? Follow me!

So here's the first of the zodiac signs i will make for the next weeks.