Procedurally Generated Caves

Very quickly thrown together demo for procedural cave generation:



Press "space" to generate further maps

Not finished yet, as a few more clean-up stages are needed to remove some nasty looking bits. The number of miners also needs tweaking controlling so there's some control over the size of the map. Source code is available on the PlayMyCode site - just click on the Code button.

Popular Posts