A gravity simulator tech demo, made with Macroquad.
- Install Rust
- Run the following commands:
git clone https://github.com/Pixels67/gravity-sim.git
cd gravity-sim
cargo build --releaseNote: On Linux you need to install libasound2-dev to build the project, on Debian-Based distros run the
following command:
sudo apt-get install libasound2-dev[A] / [D]: Left / Right
[W] / [S]: Forward / Back
[LShift] / [LCtrl]: Up / Down
[LMB] To enter object creation mode or if in object creation mode go into drag mode
[ESC] To return to idle/default mode
[R] On an object to remove it
[E] To raise placement or velocity line elevation
[Q] To lower placement or velocity line elevation
[UP] To increase placed object mass
[DOWN] To decrease placed object mass