CellForest icon indicating copy to clipboard operation
CellForest copied to clipboard

A cellular-automaton forest simulation set to live data-driven music.

CellForest

A cellular automata biological and geological simulation in C++ and Godot. It also plays music. Download the game here.

Setup

If you'd just like to play the game, use the link above. If for some inconceivable reason you'd like to build it from source, proceed with caution! Since the simulation is programmed in C++ as a GDNative module, setup is a bit hairier than a pure Godot game. I've tested it on Windows, MacOS, and Ubuntu. Here's the steps:

  • Dowload or clone this repository.
  • Pull the godot-cpp source with git submodule update --init --recursive
  • Consult the official Godot documentation to set up additional dependencies for your operating system.
  • In the directory you just cloned (cd godot-cpp), compile the source. (Something likescons platform={your platform} generate_bindings=yes [target=release] [-j <cores>])
  • You'll have generated a file called something like CellForest/godot-cpp/bin/libgodot-cpp.windows.debug.default (The 'debug' will be replaced with 'release' in release mode.) On windows, you need to add the ".lib" suffx. On Linux, you may need to change the ".64" to a ".default" (These issues seem to result from the Godot's example scons file code, if anyone knows a fix, pray tell me!)
  • Compile the game with scons platform=<your platform> [target=release]
  • Open and run the project in Godot! If all went well, it will be ready to play or export.