Skip to content

binarymind-dev/sand-simulation-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🏜️ Sand Simulation — C++ & SFML 3.0

Real-time falling sand simulation with multiple materials.

Demo

✨ Materials

  • 🟡 Sand — gravity ne khali padte
  • 🔵 Water — flow hote
  • 🔥 Fire — Wood jalvte + Smoke nighte
  • ⬛ Stone — solid wall
  • 🟤 Wood — Fire ne jalte
  • 🌋 Lava — Water shet Stone bante

🎮 Controls

Key Action
1-6 Material select
Left Click Place material
Right Click Erase
C Clear all

📸 Screenshot

Demo

🛠️ Build

mkdir build && cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
mingw32-make

About

Real-time falling sand simulation in C++/SFML with interactive Sand, Water, Fire, Wood, Stone, and Lava material physics

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors