A jump is a small system, not a single number.
Players experience a jump as one continuous action, but several rules share the work. Launch speed starts the rise. Gravity bends the path. A different falling gravity can shorten the return. Separate input rules decide whether a press just after leaving a ledge, or just before landing, should still count.
Changing everything at once hides the cause. The demo below keeps the square, horizontal speed and platform fixed. Change one control, watch the mint trajectory being recalculated, then reproduce it. The line is not a decorative curve: every point comes from the same function that moves the square.
Start with Smooth, queue a jump and note the sampled apex and flight time. Switch to Stiff and compare. Neither label is a universal recommendation. They are two controlled combinations that make differences easier to see.
Original interactive / Fixed at 120 steps per second
Change the arc.
Then test the edge cases.
The square moves only in this small model. The line is the complete calculated trajectory; the square is the current simulation state. Values describe this demo, not any catalog game.
Start on a continuous platform. Queue a jump, then compare its sampled arc. Focus the stage and press Space or ↑ to jump; → advances one step.
Static trajectory ready. Queue a jump, or advance one fixed step at a time.
Each display update is divided into 8.33 ms simulation steps. A long display frame produces more steps, not larger physics steps. No result is stored or sent anywhere.
Height sets launch speed; gravity shapes time.
For an ideal vertical jump under constant gravity, the relationship is v = √(2gh): launch speed v comes from gravity g and target height h. The demo uses that equation when take-off begins. Its samples then follow constant-acceleration motion at fixed intervals, so the sampled apex can differ slightly from the requested continuous height.
Gravity is not only about how high the square travels. With the target height held constant, stronger gravity requires a larger launch speed but gives less time to reach the apex. That changes how long the player has to read a landing or adjust another part of the game. Height alone therefore does not describe the feel.
The fall multiplier applies only after vertical velocity becomes negative. A value of 1.75 makes downward acceleration 1.75 times the rising gravity. This preserves the chosen rise while shortening the descent. Try comparing a multiplier of 1 with 1.75 without changing height or gravity; the second arc should have a steeper return, not a taller peak.
Two short windows preserve intent in different places.
Coyote time looks backwards. Support has already disappeared, but the model still accepts a jump for a limited interval. Choose Just past a ledge to begin 33 ms after support ended. Smooth accepts the queued input because its 100 ms window includes that moment. Stiff has a 0 ms window and does not. An intentional jump clears coyote eligibility here, preventing this allowance from becoming an accidental double jump.
Jump buffering looks forwards. The press happens while the square is airborne, and the model remembers it until a landing makes jumping legal again. Choose Just above a landing, queue the input and advance. With a suitable buffer, take-off occurs on the landing step. With no buffer, that early press is not stored for later.
Both windows need exact boundaries. This model includes the final millisecond: an error equal to the allowance still passes, while the next representable step fails. That choice avoids a mysterious gap between the displayed setting and the code. Larger windows are not automatically better; they can connect inputs to situations the player did not intend.
Fixed steps make the comparison repeatable.
A browser can draw at a different rate from the physics update. If a slow frame simply supplies a larger physics interval, the same jump can produce different samples. This demo instead advances at 120 fixed steps per second. A display frame with more elapsed time runs more steps; it never enlarges the physics step to catch up.
The static trajectory and the moving square use that same step function. Press Advance one step to inspect an 8.33 ms interval. When your system requests reduced motion, automatic playback switches off and this control, the static path and all settings remain available. You can also focus the stage: Space or ↑ queues a jump, and → advances once.
For timing on the input side, continue with timing windows and calibration. For another example of changing one rule on a fixed model, compare number gates and runners. The useful habit is the same: preserve the start, alter one rule and record what actually changed.
A practical testing routine.
- Write down the starting situation. Use the same preset, scenario and input each time.
- Compare the whole arc. Note apex, flight time and the shape of the descent, not only whether the jump succeeded.
- Probe both sides of a boundary. Test a ledge input inside and outside coyote time, then a landing input inside and outside the buffer.
- Repeat at a different display rate. Fixed physics should reproduce the same samples even when drawing is less frequent.
- Play at full size. A laboratory model isolates rules; only the complete game can show camera, animation, obstacles and player expectations together.
Keyboard and display settings can affect how a real game is experienced. Our controls and fullscreen guide covers the player-facing basics without assuming that one setting fits everyone.
Keep experimenting.
Compare another model in How games work, make a drawing or rhythm in our original browser studios, or follow a longer project in the guides.
Questions about jump feel.
Does a higher jump always need a higher gravity value?
No. Height and gravity do different jobs. For a given gravity, the launch speed determines the ideal height. Once height is chosen, changing gravity changes both the required launch speed and the time in the air. Adjust them together, then inspect the arc rather than treating either slider as a quality score.
Is coyote time the same as a double jump?
No. Coyote time accepts a jump shortly after support disappeared. In this demo, an intentional take-off clears that eligibility, so it cannot be used for a second jump. A double jump is a separate rule that explicitly permits another take-off while airborne.
Does jump buffering make every early press count?
No. A press is remembered only for the configured interval. It must still be valid when the character lands. In this model the exact expiry millisecond is included; after that boundary the request is stale. A buffer stores intent briefly rather than removing timing altogether.
Are the Smooth settings the best settings for every game?
No. Smooth is a comparison preset for this original square, platform and viewing scale. Character size, movement speed, level spacing and the intended challenge all change what reads well. Use the preset to form a question, then test the actual game with players.
Sources and method.
The trajectory, preset values and boundary behaviour are generated by DelionPlay’s original model on this page and checked by replayable tests. Glenn Fiedler’s Fix Your Timestep! explains the accumulator approach that separates fixed simulation from variable drawing. MDN’s prefers-reduced-motion reference documents the user preference used to replace automatic movement with static and single-step views.
Catalog names and links were checked against the public catalog API and its cursor pagination on 5 December 2026. No catalog game’s internal values are claimed or inspected. Read our editorial standards for the broader approach to evidence and original interactive material.