Maticzpl / PowderRS

Falling sand game in rust

Home Page:https://maticzpl.xyz/powderrs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PowderRS

I'm doing tpt clones in every new lang I learn now :P
If you want to play without having to compile it yourself, check the actions tab on GitHub and download artifacts from latest successful build.

🔨 Compilation

  1. Install rust if you haven't already: https://rustup.rs/
  2. Clone the repo
  3. Open a terminal in the main directory of the cloned repo
  4. Install rust nightly: rustup toolchain install nightly
  5. Use rust nightly in this project: rustup override set nightly
  6. Build and run the project: cargo run --release

⌨️ Controls

LMB - Place sand
RMB - Erase
Space - Pause game
F - Advance by one frame when paused
Scroll - Change brush size
Shift + Scroll - Change brush size faster
Ctrl + Scroll - Zoom
MMB + Move Mouse - Move the camera
G + Scroll - Change grid size
L - Reset Camera

Web Version

The version up on https://maticzpl.xyz/powderrs/ is still in development. Currently, it limits TPS.

About

Falling sand game in rust

https://maticzpl.xyz/powderrs/

License:GNU General Public License v3.0


Languages

Language:Rust 94.2%Language:WGSL 4.2%Language:HTML 1.7%