Skip to content

voodoosoft/gameroots-mapgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BSP map generation

A dungeon map generation using BSP trees.

Features:

  • special characters for room floors as well as for horizontal and vertical doors
  • generating room numbers

Examples:

seed: 1538747649050

..................................................
..................................................
..................................................
................................###########.......
................................#,,,,,,,,,#.......
................................#,,,,,,,,,#.......
....#####.......................#,,,,,,,,,#.......
....#,,,#.......................#,,,,,,,,,#.......
....#,,,#.......................#,,,,,,,,,#.......
....#,,,#.......................#,,,,,,,,,#.......
....#,,,#.......................#,,,,,,,,,#.......
....#,,,#.......................####--#####.......
....#,,,#..........................#..#...........
....#,,,#..........................#..#...........
....#,,,#......#########...........#..#...........
....#,,,#......#,,,,,,,#...........#..#...........
....#,,,#......#,,,,,,,#...........#..#...........
....#,,,#......#,,,,,,,#.........###--####........
....#,,,#......#,,,,,,,#.........#,,,,,,,#........
....#,,,#......#,,,,,,,#.........#,,,,,,,#........
....#,,,#......#,,,,,,,#.........#,,,,,,,#........
....#,,,#......#,,,,,,,#.........#,,,,,,,#........
....#,,,#......#,,,,,,,#.........#,,,,,,,#........
....#,,,########,,,,,,,###########,,,,####........
....#,,,|......|,,,,,,,|,,,,,,,,,,,,,,#...........
....#,,,|......|,,,,,,,|,,,,,,,,,,,,,,#...........
....#,,,########,,,,,,,#############,,#...........
....#,,,#......#,,,,,,,#...........#,,#...........
....#,,,#......#,,,,,,,#...........#,,#...........
....#,,,#......#,,,,,,,#.....#######--#######.....
....#,,,#......#,,,,,,,#.....#,,,,,,,,,,,,,,#.....
....#,,,#......#,,,,,,,#.....#,,,,,,,,,,,,,,#.....
....#,,,#......#,,,,,,,#.....#,,,,,,,,,,,,,,#.....
....#,,,#......#,,,,,,,#.....#,,,,,,,,,,,,,,#.....
....#,,,#......#,,,,,,,#.....#,,,,,,,,,,,,,,#.....
....#,,,#......#,,,,,,,#.....#,,,,,,,,,,,,,,#.....
....#,,,#......#########.....#,,,,,,,,,,,,,,#.....
....#,,,#....................#,,,,,,,,,,,,,,#.....
....#,,,#....................#,,,,,,,,,,,,,,#.....
....#,,,#....................#,,,,,,,,,,,,,,#.....
....#,,,#....................#,,,,,,,,,,,,,,#.....
....#,,,#....................#,,,,,,,,,,,,,,#.....
....#,,,#....................#,,,,,,,,,,,,,,#.....
....#,,,#....................#,,,,,,,,,,,,,,#.....
....#####....................#,,,,,,,,,,,,,,#.....
.............................#,,,,,,,,,,,,,,#.....
.............................#,,,,,,,,,,,,,,#.....
.............................################.....
..................................................
..................................................