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
