This project is a variation on the flappy bird game, even using the same images for the bird and the pipes. The game is displayed on a µLCD screen and uses a speaker that runs in parallel by using a thread, a navigational switch for controls, and a potentiometer for game settings. The game will start with a title screen that shows the high score, read from a txt file, and tells the player to press fire on the navigational switch to start the game. There is also a short song that will play at initial startup. Once the player presses fire, the game will setup and begin moving the pipes. The objective of the game is to guide the flappy bird through the pipes without hitting them with each successful pass incrementing the score and making a beep. The up and down directions on the navigational switch move the flappy bird as interrupts, so you cannot continuously push a direction. Additionally, the potentiometer can be turned to change the game speed (i.e. the movement speed of the pipes). Once the flappy bird hits a pipe, the game is over and goes to the lose screen, playing an end game song. If a new high score is reached, the player is alerted and the txt file is updated. After waiting a few seconds, the game returns to the start screen.
Flappy Bird game on mbed with a micro LCD screen, class D amp, speaker, SD card reader/writer, 5-button navigation switch, and potentiometer speed control
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.
Access Warning
You do not have the correct permissions to perform this operation.