A Flappy Bird clone built with Bevy game engine in Rust.
- ๐ฎ Classic Flappy Bird gameplay
- ๐ค Animated bird sprite with dynamic rotation (tilts up when flapping, dives down when falling)
- ๐๏ธ 8 unique city backgrounds with multi-layer parallax scrolling
- ๐ฒ Random city selection each game
- ๐ต Background music with mute toggle
- ๐ Score tracking
- ๐ Menu and game over screens
| Key | Action |
|---|---|
Space |
Flap / Start game / Restart |
M |
Toggle music on/off |
R |
Restart (on game over) |
- Rust (latest stable)
- Linux: Additional dependencies for Bevy (see Bevy setup)
# Clone the repository
git clone https://github.com/yourusername/floopybirb.git
cd floopybirb
# Run the game
cargo run --releaseNote: The first build may take a few minutes as it compiles Bevy and its dependencies.
floopybirb/
โโโ src/
โ โโโ main.rs # Game logic
โโโ assets/
โ โโโ textures/
โ โ โโโ bird.png # Bird sprite sheet
โ โ โโโ city 1-8/ # City backgrounds (5-6 parallax layers each)
โ โ โโโ 1.png # Furthest layer (sky)
โ โ โโโ 2.png
โ โ โโโ ... # Closer layers
โ โโโ music/
โ โโโ music.ogg # Background music
โโโ Cargo.toml
โโโ README.md
This project is open source and available under the MIT License.
- Inspired by the original Flappy Bird by Dong Nguyen
- Built with the amazing Bevy game engine
