Python application that creates a 2D underground cave world using cellular automata. The start to a game that was never finished. Made in the summer of 2017 due to boredom.
View some images
- game.py > The main game loop
- caves.py > The cellular automata algorithm
- textures.py > Texture handler
- map_editor.py > Controls for camera moving and destroying and placing blocks, saving and loading maps
- terrain_gen.py > Terrain handler
Lots of obsolete code and bugs. There isn't much functionality- the only part of this worth saving is the terrain_gen.py file and map_editor.py for the terrain generating and file saving/loading functionality. Everything else should be scrapped and re-written for future use, the main engine is a mess.
- Cellular automata algorithm
- Custom world filetype for importing and exporting world saves
- Destroying and placing various types of blocks within the world grid
- Re-write main game loop
- Remove obsolete code
- Re-write camera and player code
- Finish gravity implementation (Half finished)
- Proper start menu
- In-game menu
- More expansive underground 2D world