Flappy bird game in rust making use of sdl2 library
- Download and setup sdl2 for rust on your OS by following this guide
- I went with the msvc for windows route
- The guide in step one only shows you how to set up sdl2 but not sdl2_image. The procedure is pretty much the same except you will just be setting up sdl2_image
- SDL2 and SDL2_image dll's are already included in this repo in the flappy bird files directory.
- After all of the set-up is done, run:
cargo run
- Cargo will build and run your game for you.
- https://lazyfoo.net/tutorials/SDL/
- https://blog.logrocket.com/using-sdl2-bindings-rust/
- https://sunjay.dev/learn-game-dev/getting-started.html
- assets pack: https://megacrash.itch.io/flappy-bird-assets
- font/text assets pack: https://xinjinmeng.itch.io/xinjinmengs-8-bit-font-pack-feb-2022
- SDL2 bindings for Rust: https://github.com/Rust-SDL2/rust-sdl2
- Amethyst/Legion: https://github.com/amethyst/legion