Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/7irelo/flappy-bird
2D game created in Unity
https://github.com/7irelo/flappy-bird
Last synced: about 2 months ago
JSON representation
2D game created in Unity
- Host: GitHub
- URL: https://github.com/7irelo/flappy-bird
- Owner: 7irelo
- License: mit
- Created: 2024-10-10T01:20:00.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-09T14:33:47.000Z (2 months ago)
- Last Synced: 2024-11-09T15:29:21.915Z (2 months ago)
- Language: C#
- Size: 192 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flappy Bird
Welcome to **Flappy Bird**, a simple yet challenging game developed using Unity. Inspired by the classic Flappy Bird, the objective of the game is to navigate the bird through a series of pipes without colliding with them.
## 🎮 Gameplay
The player controls the bird by tapping (or pressing the space bar) to make it flap its wings and stay in the air. The bird must pass between sets of pipes to score points. The game ends when the bird hits a pipe or the ground.
## 🛠 Features
- **Flap Mechanic**: Tap or press the space bar to make the bird flap and avoid obstacles.
- **Procedural Pipe Generation**: Pipes are randomly spawned at varying heights to create dynamic obstacles.
- **Scoring System**: Earn points by passing through the gaps between the pipes.
- **Game Over Screen**: A game over screen appears when the player loses, with an option to restart the game.
- **Responsive Design**: The game adjusts to different screen sizes (optimized for 1080p).## 📜 Installation
To run the game locally on your machine, follow these steps:
1. **Clone the Repository**:
```bash
git clone https://github.com/7irelo/flappy-bird.git
cd flappy-bird
```2. **Open in Unity**:
- Open Unity Hub and select "Open" to load the project from the cloned directory.3. **Play the Game**:
- Once Unity has loaded the project, click the play button to start the game.## 🎮 Controls
- **Space Bar**: Makes the bird flap upwards.
- **Mouse Click**: If you're using the mouse, click to flap upwards.## 📊 Scoring
- The score increases by 1 point each time the bird successfully passes between two pipes.
- The current score is displayed at the top of the screen.## 🖼 Screenshots
![image](https://github.com/user-attachments/assets/e516b3d5-1deb-441e-b5ad-c645547bfd2f)
![image](https://github.com/user-attachments/assets/4e141364-d4c3-4294-8264-0eea7b9bf3ee)## 🚀 Future Enhancements
In future updates, the game may include:
- **High Score System**: Save and display the player's best score.
- **Background Music and Sound Effects**: Add audio for a more immersive experience.
- **Difficulty Levels**: Introduce varying difficulty modes or increasing speed as the game progresses.
- **Improved Animations**: Smoother bird movement and pipe animations.## 📜 License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
## 🤝 Contributing
Contributions are welcome! Feel free to submit a pull request or report issues in the issue tracker.