Showing posts with label room. Show all posts
Showing posts with label room. Show all posts

Wednesday, 18 July 2012

(Game Dev) How a simple room looks like

The basic idea of the rooms is simple: We have a prefab that contains the floor, top, walls and the walls with doorway. Everything is placed precisely, so the connection between rooms are seamless (tested, worked). If my generator founds out there is no neighbor at the south side, it will disable the southern doorway game object in Unity and it will enable the southern wall object.

Thursday, 12 July 2012

(Game Dev) Simple dungeon generator algorithm

I was thinking about creating a simple level generating algorithm, similar to what is made for The Binding of Isaac. If you are not familiar to The Binding of Isaac, the levels consists from rooms placed on a grid. There are different paths and special rooms. The level design is non-linear, so the main character can choose different paths to find the boss room, which is the end of the level.