Ask coding questions

← Back to all posts
How would I add Gravity
Hoater

How Would I add gravity to this because I'm new to Python With Turtle so can someone help me on how I could do it.

Voters
Hoater
Comments
hotnewtop
MrVoo

Add a y-velocity variable, and make its hight change by that value. If there's no ground under it, make the y-velocity decrease (if lower y values are down), and if there is ground, set it to 0