A downloadable FallingSand

A small "tech demo" of sorts for a falling sand game. Inspired by the multitude of falling sand games that exist (although, specifically, games like Noita were a huge inspiration).

Demo showcases a large 10x10 chunk world with randomly generated 'terrain'. Each chunk being 256x192 particles wide, each particle being 4 pixels and a total particle count per chunk of 49152 particles, The total world size in pixels is 10240x7680.  Currently there's only 4 particle types (sand, air, wall, water and oil).

This is made with performance in mind, but performance may vary based on your hardware. The simulation  isn't multi-threaded  but employs a range of different techniques to keep the framerate stable (such as not updating stable particles and only updating chunks that need to be updated).

There's a few bugs currently, such as particles getting stuck on chunk borders and particles piling up on chunks that aren't in update range. I plan to fix these.

The project is open source and the source code can be found here:

https://github.com/BradFitz66/BeefSand

This was made using the beef programming language and Atma.Framework

Controls:

Left Mouse Button - Paint selected particle

Left + Right arrow keys - Change selected particle

WASD - Move camera

Left Alt - Toggle debug mode

Leave a comment

Log in with itch.io to leave a comment.