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)

art comission.

Quantum precognition is one of the most powerful cards. End game cards & equipment. Demo/alpha build boss is no match for this deck.

The whole squad is here!

Interested? Follow me!

Call it 'wrong turn'!🚫 The feeling of running into a house with only one exit🚪, and being doomed to die. #pixelart #pixelartist #pixelartwork #art #pixel #indiegame #IndieGameDev #indieartist

Very ambitious construction going on in Planet Zoo on Plays today. We're tryin'. LIVE: www.twitch.tv/dreamhackplays

Cash Banooca

Path of Kami, running around the shrine area

A 1h30 painting, coffee break.

My twitter: https://twitter.com/loupil100