A Falling Sand game written in C++ and utilizing SDL2. It can simulate millions of pixels at once with a steady framerate, and supports physical and alchemical reactions between materials. Materials are defined modularly such that they can be easily added and removed.
You can find the source code here.
- Graphics.hpp
- Graphics.cpp
- Simulation.hpp
- Simulation.cpp
- Texture.hpp
- Texture.cpp
- Main.cpp
- Materials.json