/Sand-Box-SFML

Simple 2D physics simulation based on cellular automata

Primary LanguageC#

Sand-Box-SFML

Simple 2D physics simulation based on cellular automata.

Controls

  • Left click - place material
  • Right click - erase
  • Mouse scroll - change selecion radius
  • ESC - exit
  • Space - pause/resume
  • Use the sidebar menu for choosing current material
  • Save and load different worlds in/from .png images

Available materials

  • Sand
  • Dirt
  • Water and steam
  • Stone
  • Oil
  • Coal
  • Wood
  • Fire and embers
  • Smoke (produced by fire)
  • Ash (byproduct of any burning)
  • Seed and plants
  • Lava and obsidian
  • Acid
  • Titan (immune to acid)
  • Methane (try to set it on fire!)
  • Ice (melts when heated)
  • Virus (devours all of the materials)

Demonstration:

demo

Dependencies: