Creating Random Levels With Cellular Automata
Posted: Thu Aug 14, 2014 9:15 pm
http://gamedevelopment.tutsplus.com/tut ... medev-9664
This generator actually returns us a big two-dimensional array of blocks, each of which is either solid or empty. So in fact, you could use this generator for all sorts of games besides dungeon-crawlers: random levels for strategy games, tilemaps for platform games, perhaps even as arenas for a multiplayer shooter! If you look carefully, flipping the solid and empty blocks makes an island-generator too. It all uses the same code and output, which makes this a really flexible tool.