Making a Flappy Birds Game PART 2 – MAKING THE BIRD FLAP AND FALL – AND DEVELOPING THE GAME FURTHER (ADDING ADDITIONAL CHARACTERS, GOODIES, ENEMIES AND SCORE)
Challenge #1 Flappy Birds works like this. 1.The moment you press START (or the green flag) the Bird KEEPS FALLING TO THE GROUND 2.When you Press Space (or any other key you choose) the Bird then goes up On the previous slide, you have done Part 2. Can you now add the code blocks to make Part 1 work In the previous lesson, you were asked to code the first part. Go to the next slide for the answers
Making Bird Fall and Flap! Code for Beginning of Flappy Birds! Add this code to your scratch program and press the Green Flag to make it run!
For the first part of the game, your character is going to be plagued by two types of things. 1. ENEMIES (Bad words such as “Late” “Rude” 2. GOODIES (Good words such as “Courage” “Courtesy” etc The idea is that if the bird touches an enemy the score goes down. If however, they touch a Goody – the score goes up (increments) Challenge #2
Create a few more sprites (enemies and Goodies) See if you can get them to randomly fly across the screen so the character has to avoid them. Add a Score Variable so that it goes up or down Add additional features to the game Now you need to develop your game!