Gravity gets reset when I move in midair
During the making of a 2D game where you move, dodge spikes, and try to reach the finish, I found a problem where gravity does not effect the actor when it is moving in midair. When I tested the game, the actor was flying when I it was moved in midair. I tried changing self.position.x to self.position.x + 10 every 0.01 seconds, but then the actor started to do all kinds of weird moves. Is there a way to have gravity effect an actor while it is moving?