Fishguts I : Dungeons
Adapted some more code from my roguelike, this creates a cellular automata based dungeon, does a flood fill to remove any disconnected parts and at the same time counts up the number of connected cells, and once its done, draws it on the screen so I can look at it. If I like it, I hit ‘S’ for save and it will create an image file that I can feed into my map segmentation routine, this way I can pre-generate plenty of maps, and just stick them in the data file.
The original idea was that I didnt want to spend memory/cycles on trying to generate maps and do all the error checking on the GP2X or GP32 itself.
Filed Under : Computers • Development • Fishguts •
Comments are closed There are no comments on this entry.