Flappy Bird is one of the best games that I played when I was 14 or 15 years old. I wanted to improve my skills in Unity and C#, while also revisiting old memories, by recreating this legendary game.I have used Player, GameCamera, GameController and ParallaxLayer scripts in order to control the behavior of the game. Player class controls the player character's movement, interactions with obstacles and scoring mechanisms, and manages events like scoring and killing the player. ParallaxLayer class handles the parallax scrolling effect for a particular layer in the game, shifting elements based on the player's movement to create an illusion of depth. GameController class manages the overall game state, including UI elements, obstacle and score area spawning, and game restarts, and also listens for player events to update the score or detect game over. GameCamera class is responsible for controlling the camera's movement to follow the player in the game world. I have also used animation and animation controller for Flappy Birds flap.
![Screenshot 2023-09-11 at 18 43 40](https://private-user-images.githubusercontent.com/72814790/267074588-7b8924a0-e1b0-4ef5-bda0-54a54fc50fd8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwNzg0OTAsIm5iZiI6MTcyNTA3ODE5MCwicGF0aCI6Ii83MjgxNDc5MC8yNjcwNzQ1ODgtN2I4OTI0YTAtZTFiMC00ZWY1LWJkYTAtNTRhNTRmYzUwZmQ4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODMxVDA0MjMxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg3NmIwZDBiMGViNzZjYmRmNDljMTE5ZTQ2OTUwYmU3Mzc4NGMxNTEwZDE4NzE4YTY1ZjhjNzZiZDIwZjEzNmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.gJhsCEBn1v_o_6bgCGXm4Bfk2d2FdkyOusdB4HiHhqc)
![Screenshot 2023-09-11 at 18 51 27](https://private-user-images.githubusercontent.com/72814790/267076616-1c808693-641e-4d97-9d0b-9f504a32fb69.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwNzg0OTAsIm5iZiI6MTcyNTA3ODE5MCwicGF0aCI6Ii83MjgxNDc5MC8yNjcwNzY2MTYtMWM4MDg2OTMtNjQxZS00ZDk3LTlkMGItOWY1MDRhMzJmYjY5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODMxVDA0MjMxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkwZDBmMDczOGQ1OWQ3MGI1NTk3YTFjMzI4Yzg1NmY3ZTNjMGUxOWNmOThlNzUzNmM3N2EzMDI2NzY2ZmNkMWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.GsK0_-XkVF1z0IM76qWmjDwccrlHyQh1JQwbnOBEEfw)
![Screenshot 2023-09-11 at 18 51 46](https://private-user-images.githubusercontent.com/72814790/267076687-3a839d96-d128-4072-a26d-8fe1514b4805.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwNzg0OTAsIm5iZiI6MTcyNTA3ODE5MCwicGF0aCI6Ii83MjgxNDc5MC8yNjcwNzY2ODctM2E4MzlkOTYtZDEyOC00MDcyLWEyNmQtOGZlMTUxNGI0ODA1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODMxVDA0MjMxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE5MjU3OTc4ZGNiYjliZjc3MjE5MGJjYzNlNTY5ODg3MTQ4MTQyMTNhMDEwNGYwNmQ4NTNlZWRiNGJmNWMxZjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.IBdWWho_HzuXHXkjd25XyIoZpDOHrsNjtGfA5808sM0)