Skip to content

Madadog/sandgame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sandgame

Falling sand demo in Rust.

Hastily ported from a small Lua demo before I knew about iterators. Single-buffered, interactions run from bottom-right of screen to top-left.

Uses Pixels for rendering.

Gameplay

This is what fun looks like.

Controls

Button Function
Left Click Draw particles
Space Pause/unpause simulation
Arrow Keys Move sand shower
Numbers 1-4 Draw with sand, wall, fire or water
+ or - Increase/decrease drawing size
Escape Quit the game

Elements

Element Description
Air Exists.
Sand Falls, forms piles.
Wall Static, collides.
Fire Burns sand... even though sand isn't really flammable?
Water Doesn't work.

About

Falling sand game in Rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages