Log In  


Use Arrow Keys to change dungeon size
Press Z to make new dungeon

Cart #39807 | 2017-04-21 | Code ▽ | Embed ▽ | No License
4


This is a dungeon created by using binary space partitioning (as described on roguebasin here: http://www.roguebasin.com/index.php?title=Basic_BSP_Dungeon_generation)

MIT Licensed

4


cells are bordered by white lines, these are really imaginary and are used as "scaffolding" to make the rooms, in a game they most likely would not be used.

The rooms themselves are green, hallways are dark grey.

This will be later adapted to the map and use sprites (some are included already)


please i need code for random dungeon generator(bsp)


i need complete code pls send me


@rashmi... just click on the word "code" under the cart above.


@MBoffin Thanks for this.



[Please log in to post a comment]