Game asset processing3 min read

Phaser animation jumps under load? Check skipMissedFrames

Use numbered sprites and render-time logs to distinguish absent atlas frames from Phaser catching up under load.

Phaser animation jumps under load? Check skipMissedFrames
A leaping character jumps past an empty pose card toward the next frame
Concept illustration

An attack pose can appear in a clean preview and disappear under load. First check that Phaser 3 resolved the atlas frame. Then compare how the animation advances and what reaches the screen when the game falls behind.

Change one option in a six-frame fixture

  1. Prepare six visibly numbered poses and organize the atlas with Sprite Sheet Packer. Explicitly list those frame names in two Phaser 3 animations. Use the same 20 fps rate and a single playthrough. Enable skipMissedFrames in one config and disable it in the other.
  2. Play each at full speed to check the atlas names. Introduce one brief main-thread stall mid-clip in a local test. Log the actual scene update delta. If smoothing turns the stall into small deltas, adjust the fixture until the animation accumulates several frame intervals in one update.
  3. Log frame changes and the final frame visible at each render. Catch-up can advance several poses within one update. A pose can appear in the event log without receiving its own screen render. With skipping disabled, fewer poses advance at once and the clip can fall behind wall-clock time.

Choose a clock for gameplay events

If the same pose is missing at normal speed, check atlas resolution and names. If it only disappears from rendered output during a stall, verify the timing policy before replacing the art. Track hit logic with game state or elapsed time so it does not depend on one pose making it to the screen.

Recommended tools

Ready to try "Phaser animation jumps under load? Check skipMissedFrames"?

Use our online tools to apply this tutorial to your indie game project right away.