This project is a simple implementation of the classic Flappy Bird game using Flutter and Flame game development framework. It serves as a fun and educational example of building a mobile game with Flutter and Flame.
- Classic Flappy Bird gameplay mechanics.
- Simple and intuitive controls.
- Customizable settings (speed, difficulty, etc.).
- Score tracking and display.
- Responsive design for various screen sizes.
https://youtube.com/shorts/MatDya8X0rQ?si=JOC5KvjMHGxIttC6
These instructions will help you get a copy of the project up and running on your local machine for development and testing purposes.
- Flutter SDK installed. Flutter Installation Guide
- A supported IDE (such as Visual Studio Code or Android Studio).
-
Clone the repository:
git clone https://github.com/AnishHazra/Flappy_Bird_Game.git
-
Navigate to the project directory.
cd Flappy_Bird_Game
-
Install dependencies.
flutter pub get
-
Run the app.
flutter run
- Tap on the screen to make the bird jump.
- Navigate the bird through the pipes to score points.
- Avoid collision with the pipes and the ground.
You can customize the game by adjusting parameters in the lib/game/game.dart file, such as speed, gravity, pipe spacing, etc.
// Example customization
final double birdJumpForce = -300.0;
final double gravity = 600.0;
final double pipeSpawnInterval = 2.0;
// ... other parameters
Feel free to contribute to the project by opening issues or submitting pull requests. Any contributions are highly appreciated!
- Inspiration: Flappy Bird by Dong Nguyen
- Flame - A minimalist Flutter game engine