Wednesday, August 8, 2018

Scratch 7


Circle 1: While the program is running, it checks what the Gravity variable is equal to. This controls what direction Flappy Bird will face. When Gravity is zero the bird will point right, downwards when Gravity is negative, and upwards when Gravity is positive.

Circle 2: When the spacebar is pressed, the bird will jump up by setting Gravity to 3.

No comments:

Post a Comment