This is so that every 0.1 second the wings change so it looks like it is flying.

6
Flap py Bird Code Presentat ion

description

The bird code. This is so that every 0.1 second the wings change so it looks like it is flying. This one tells the score what it is. This one starts again when it dies. This makes the bird travel forwards. - PowerPoint PPT Presentation

Transcript of This is so that every 0.1 second the wings change so it looks like it is flying.

Flappy Bird Code

Presentation

This is so that every 0.1 second the wings change so it looks like it is flying.

This makes the bird travel forwards.

This one tells the score what it is

This one puts the bird in the middle when you start and if you hit the pole it turns downwards but stays in that position

This one starts again when it dies.

This one makes the game through the poles

Altogether they make the bird Flappy.

The bird code

This is when Flappy touches that exact pole it will die.

This chooses which pole it will be.

Chooses what angle it will be.

Tells us if the flappy bird is dead.

This chooses which pole it will be.

Pole 1

This chooses which pole to use.

What angle to put the pole in.

If Flappy touches this pole then the bird will die.

Pole 2

What angle to put it in.

Where to go.

This is on the screen and tells you your high score

VariableScore

High score

When the bird dies a bubble comes up saying the score.