Tinkering with a new bit of procedural code. This time its a version of a roguelike dungeon generator. I used a fairly standard set of functions/rules with the usual varying parameters of room size/corridor branching etc. (Im pretty sure i based mostof it on the d20 approach – but the site seems to have vanished). I started with a basic 2d version which you can see below.
You can try this one out with the unity player here.
However I really wanted to see what the structures woudl look like in 3D, so i just altered a few elements. Basically the corridors and rooms are rendered as solid cubes, so it becomes more of a pathways and platforms design(over swamps, lava etc in a torchlight style). Then I made the pathways capable of rising up a certain amount for every cell, so they can link up the rooms/platforms that exist on other levels. Of course its not perfect as sometimes pathways wont rise enough and end up at dead ends, they can also cut rhough each other. But with a small amount of gameplay adjustments (characters able to jump or climb various surfaces) I think it woudl be fine. Anyway , its jsut a simp,e sketch at the moment, I might work on it in more depth, possibly adding LOD or more non-cubic rooms etc. Ive put some images below and a link to the 3D version here.