Skip to content

milesturin/SDL2-Falling-Sand-Game

Repository files navigation

SDL2-Cellular-Automata

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.

General Functionality Demo (click to expand)

Density and Texture Demo

Alchemy Demo

You can find the source code here.

  • Graphics.hpp
  • Graphics.cpp
  • Simulation.hpp
  • Simulation.cpp
  • Texture.hpp
  • Texture.cpp
  • Main.cpp
  • Materials.json

About

A falling sand game (and engine) built with C++ and SDL2 ⏳

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages