Fixed the dungeon gen


Basically the dungeon had an algorithm that decided if a place was a good spot for a rock to be placed or not...it barely worked and you might have been able to tell.
the issues are a lot to cover but basically it would look at the configuration of the neighbors and give it a penalty value.
I added special checks to see if a rock would be placed at a bad spot at the ends of hallways and fixed the code that decided if it was up against a wall or in the middle of a room. That was supposed to limit how many rocks showed up per the result but...didn't work. as you can see in the image it looks a lot better now.

Get The fallen

Leave a comment

Log in with itch.io to leave a comment.