height WHILE TRUE height MULTIPLY 2000 1 4 8 200 height 0.01 Bird game

Tilt your phone up and down to move the bird up/Down.

addGame: Create a game set bird altitude; The height of the bird from the floor of the game box is set to the input number. It should be between 0(floor), and 1000(Roof)

Your phone has a built in rotation sensor.

The rotation values are between -1 and 1

These readings are measured and scaled to 0 to 1000 range by using basic arithmetic operators, and are then used to set the height of the character in the game.

Tilt your phone up and down to move the bird up/Down.

]]>