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

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors