Skip to content

This game is a Flappy Bird clone that uses state machines to know if the game is playing, in menu or in the tutorial. It also uses singletons to manage the player’s score and state. For the pipes, an Object pool pattern is used to save up on memory.

Notifications You must be signed in to change notification settings

lfeq/Flappy-Bird-Clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flappy Bird Clone

Description

Flappy Bird Clone is a simple clone of the classic Flappy Bird game, created using Unity. You can play the game online at Flappy Bird Clone on itch.io or clone the repository to play it on your computer. This project demonstrates the use of various design patterns and techniques in game development.

Features

  • State Machines: The game uses state machines to manage different game states, including gameplay, menu, and tutorial screens. This ensures smooth transitions between different parts of the game.

  • Singletons: Singleton design patterns are implemented to manage the player's score and game state. This allows for easy access to critical game data and ensures data consistency.

  • Object Pool Pattern: To optimize memory usage, an Object Pool pattern is employed for the pipes in the game. Instead of creating and destroying pipe objects, they are recycled from a pool, reducing memory overhead.

Installation

To play the game on your computer, follow these steps:

  1. Clone this repository to your local machine using Git:
git clone https://github.com/yourusername/flappy-bird-clone.git
  1. Open the project in Unity.

  2. Build and run the game in the Unity Editor or export it to your desired platform.

Controls

  • Spacebar: Jump and keep the bird afloat.
  • Escape (in menu): Quit the game.

Gameplay

Your goal in Flappy Bird Clone is to navigate the bird through a series of pipes without colliding with them. Each successful pass through a pair of pipes earns you a point. Try to achieve the highest score possible!

Credits

This game was created by develion I just implemented the features explained above.

Available on itch.io.

Enjoy the game!

About

This game is a Flappy Bird clone that uses state machines to know if the game is playing, in menu or in the tutorial. It also uses singletons to manage the player’s score and state. For the pipes, an Object pool pattern is used to save up on memory.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages