40 likes | 196 Vues
Flappy B ird Coding Explained. By Michaela Mansfield. This coding sequence instructs me to bounce through the pipes when the space bar is pressed. The velocity of the code controls the height of my jumps.
E N D
Flappy Bird Coding Explained By Michaela Mansfield
This coding sequence instructs me to bounce through the pipes when the space bar is pressed. The velocity of the code controls the height of my jumps.
This sequence controls what the pipes do, such as changing position and moving at the same pace as the flappy bird.
This tells the score variable to change every time the bird passes through a pipe, and to say high score if the new score is higher than the old one.