A bit of a half-project snapshot. This is a slightly revamped version of a previous dungeon generator I made to extend into 3d for a procjam entry.

Its an extension of https://donjon.bin.sh/d20/dungeon/ which i converted to run in unity and then added the ability for the dungeon to have multiple floors.

You can mess with the parameters and then hit the regenerate button. You can use the slider below this button to look at the different floors.

Rooms that have more than 1 story of height can have exits on multiple floors, they can also have balconies around their edges on tehhigher levels, and a spiral staircase (indicated by the spiral icon) that leads down to the level below.

Its kinda hard to see, but each room has a uniqe id. You can produce some pretty wierd/broken maps if you max out various sliders, and to be honest I can'[t even remember what function i used for some of the corridor options!

I know that some of the corridor connections can be a bit silly. I coudl fix that up a bit, but partly its a consequence of the corridor generation being a "filler" approach rather than a pathfinding approach.

Comments

Log in with itch.io to leave a comment.

Neat!

Very nice.