📚 Encyclopedia

Games & Graphics · updated 2026-10-13

Platformer movement feel (coyote time, jump buffering, wall jumps)

platformerphysicsgame-feelcoyote-timejump-bufferflame

How a 2D platformer character should move so that it feels responsive and fair. Most of "game feel" in a precision platformer comes from a handful of small forgiveness rules and well-chosen constants, not from a physics engine. These were researched and tuned for Run, Justin's Flutter/Flame speedrun platformer.

Use custom kinematic physics, not a rigid-body engine

Baseline constants (pixels, 32 px tiles, tune from here)

Constant Value
maxRunSpeed 400 px/s
runAcceleration 3000 px/s^2
runDecel 2000 px/s^2
airAccel 1800 px/s^2
jumpVelocity -720 px/s
gravity 2200 px/s^2
terminalVelocity 1200 px/s

Acceleration should be a quick initial response that tapers toward max speed (neither linear nor purely exponential).

The forgiveness rules

Dash and wall jump

Camera

Other tunings for comparison

Two other projects landed on similar rules with different numbers: - Fall (Godot 4, endless descent, 1920x1080): jump velocity -850, coyote 0.08 s, buffer 0.1 s, variable height via 2x gravity while the button is held on the upswing and a 5x cut on release. Gravity 680 normal, 340 gliding, 1360 diving; terminal velocity 800 (960 while diving). Horizontal accel 2000, decel 800 px/s^2 for a deliberately floaty, leaf-like feel (decel 1600 felt too tight, 400 too slippery). Glide actively decelerates to 30% of terminal velocity at 600 px/s^2 rather than just lowering gravity. - Fight (Godot 4.4 side-scroller shooter, 1280x720, gravity 980): speed 300, jump -520, air speed 85% of ground, coyote 0.12 s, buffer 0.1 s, one double jump, dash 600 px/s for 0.15 s with a 0.8 s cooldown and invincibility. - Clear the jump buffer when unpausing. In Fall, pressing A to pick "Resume" was still buffered and caused a jump; zero the buffer in NOTIFICATION_UNPAUSED (pausable nodes do receive it). - Use separate actions for jump and glide (one key for both was confusing) and a dedicated jump action instead of the built-in ui_up, so it can be remapped. - Thick platforms beat clever collision margins: Fall's 16 to 30 px branches let a player falling at 800 px/s clip through; 40 to 60 px fixed it, with a 24 px one-way collision margin (48 px blocked sideways movement).

Gotchas

See also

Linked from

Sources: fall memory (MEMORY.md, bugs.md), gd-fight memory (project_game_features), run memory (speedrun-platformer.md, research-platformer-design.md, research-mobile-game-ui.md, session-v053-v057.md, session-v065-v075.md)