← /browse
How does a game make a character jump? Gravity and the game loop
A jump in a game isn't an animation. It's two tiny sums, velocity changes by gravity, then position changes by velocity, repeated every frame.
Play with launch speed and gravity in a live simulation, see why strong gravity feels snappy, and learn the small tricks (coyote time, jump buffering) that make jumps feel good.