05be8ca62294b0764af9bc137a601d71522d2cc6
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 :)
Description
A game concept totally written in Rust with the sdl2 library to use window and gpu in crossplatform.
Languages
Rust
100%