709 B
709 B
test_sdl
It is just a playground for me to test SDL2 features
Run it
You need to download Rust
Then you clone this repository
And laucnh it with :
cargo build --release
cargo run --release
Controls
W,A,S,D and Arrow Keys are for moving around the cube.
Left Click teleports the block the cursors location
Right Click cancels any velocity of the cube
Tab toggles a debug mode where you can see the actual vector applied to the cube (maybe even more in the futur)
Spacebar doubles the acceleration (to use with moderation)
Bonus: Maintain the left click and moving(s) key(s) at the same time and it will store some momentum wich you can use when you release the click. Enjoy :)