The routine to search rooms was simple to implement, but problems started then. There is no mask map tech in Teemu so it's impossible to tell apart room floor (area) and regular floor. Doors could be created to another room, never connecting that room to the maze.
Luckily it was quite easy to add mask map, although it doesn't work perfectly. Also there is a bug in rooms next to right side of the level (also bottom side). There are no doors in them. I can't seem to figure out how the bug works, but it has to do something with checking out-of-bounds in level. If there is a bug in it it's quite hilarious since I've been using it always like that.
1 comment:
Assuming you get the bug squished,
I have to ask, do you intend to add in any forms of loops or is the large number of dead ends desired?
Post a Comment