Skip to content

Trying to implement a simple sand simulator (with other elements than sand too) in Raylib :)

License

Notifications You must be signed in to change notification settings

bharatm29/SandSimulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sand Simulation

Trying to implement a simple sand simulator (with other elements) in Raylib :)

showcase

Pre-requisites

  1. Raylib
  2. FFMPEG

Usage

make

This will build the project. If it does not run the executable: ./main

Controls/Keybinds:

  • s - Sand
  • w - Water
  • h - Solid
  • c - Smoke
  • Draw while holding LSHIFT to delete pixels
  • Enter - Clear the screen
  • r - toggle to send frames to ffmpeg
  • - and + - decrease or increase particle brush size

Bugs to fix

(fix everything tbh but still)

  1. Add interaction of water with sand
  2. Add gravity and water physics

About

Trying to implement a simple sand simulator (with other elements than sand too) in Raylib :)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published