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

P#39808 2017-04-21 17:06 ( Edited 2017-11-30 04:43)

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)

P#39809 2017-04-21 17:07 ( Edited 2017-04-21 21:09)

please i need code for random dungeon generator(bsp)

P#46646 2017-11-24 01:29 ( Edited 2017-11-24 06:29)

i need complete code pls send me

P#46647 2017-11-24 01:34 ( Edited 2017-11-24 06:34)

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

P#46650 2017-11-24 01:55 ( Edited 2017-11-24 06:55)

@MBoffin Thanks for this.

P#46852 2017-11-29 23:43 ( Edited 2017-11-30 04:43)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-18 15:26:32 | 0.021s | Q:20