A 2d map generator written in Go
$ go run main.go --algo=rogue
Using seed 1512389956399933000
+--------------------------------+
| WWWWWWW WWWW |
| W.....W W..W |
| W.....+## W..W WWWWWWW |
| WWW+WWW ##+..+## W.....W |
| # W..W ###+.....W |
| # W..W WWW+WWW |
| # WW+W # |
| # # # |
| # # # |
| # # # |
| # WW+W ## |
| # W..W # |
| WWW+WWW W..W # |
| W.....W W..W # |
| W.....W ##+.<+### # |
| W.....+## W..W # # |
| W.....W W..W ##### |
| WWW+WWW W..W # |
| ## WW+W # |
| # # # |
|WWWW+WWWW #### ### |
|W.......W # # |
|W.......W # # |
|W.......W # # |
|W.......+### # |
|W.......W WWW+WWW |
|W.......W W.....W |
|WWWWWWWWW W..>..W |
| WWWWWWW |
| |
| |
| |
+--------------------------------+
This map generator implements a number of different algorithms and can output to ASCII, CSV and TMX tile map.
See main.go
for all the options.
go get github.com/cxong/gomapgen
go run main.go
tmx_export/
tmx_export/map.tmx
in Tiled