⬇️
The Big Drop
Oh no! Our bird is floating in mid-air. We need Gravity to pull it down to the ground. In games, gravity adds to the Y position every frame.
Pulling Down
Use the “Add” operator to make the bird fall faster and faster!
🍌
Velocity: 0.0
🎯
🎯
Level Goal
Make the bird fall by adding gravity to velocity and velocity to the Y position.
Logic Lab: python.py
0/2
123456
gravity = 0.5
bird_velocity = 0
# Inside the game loop:
bird_velocity gravity
bird_y bird_velocity