A simple game to test some graphics stuff with Rust.
- Install SDL 2.0.1 dev
- Compile and install rust-sdl2
- In /src/ run
rustc -O main.rs
The easiest way to compile on windows is to do the following:
- Install SDL2-devel-2.0.1-mingw
- Download rust-sdl2
- Navigate to /rust-sdl2-master/src/sdl2/
- Then run
rustc -O --rlib lib.rs
- Copy
libsdl-*.rlib
to /snake-game/src - Compile using
rustc -O -L . main.rs
- Basic network multiplayer (waiting on #11165 )
Swap from SFML to SDL2- Basic Menu