Black Week: −40% Pixor is $19.99 $11.99 until 2 December, on itch.io →

Animation timing

Pixel-art animation runs on few frames, so each one has to count. Good timing comes less from adding frames than from choosing which ones to keep and how long to hold them.

A crystal golem walking, rendered with Pixor
A slime hopping, rendered with Pixor
The crystal golem's walk, frame by frame, from Pixor
The walk's frames, in order

Few frames, held well

Film runs at 24 frames a second, and games at 60, but a pixel-art sprite rarely changes that often. At 32 or 48 px, a change between two frames may move a hand by one pixel. Show too many of those and the motion looks like jitter, not flow.

Most sprites change 8 to 12 times a second. That is the same idea as animating “on twos” in hand-drawn animation: a new drawing every other frame of 24. Fast actions can go on ones for a moment; idles can go on threes or fours.

Typical frame counts

  • Idle: 2 to 6 frames, slow. A breath, not a dance.
  • Walk: 4 to 8 frames per cycle.
  • Run: 6 to 8 frames, quicker than the walk.
  • Attack: 3 to 6 frames: wind-up, strike, follow-through.
  • Hit: 1 to 3 frames, often with a flash.
  • Death: 4 to 8 frames, ending on a held last frame.

These are starting points. A heavy ogre gets longer holds; a fly gets fewer, faster frames.

Holds

Not every frame should last the same time. The poses that tell the story, the key poses, deserve more screen time. In an attack, hold the wind-up a little so the player sees it coming, flash through the strike in one short frame, then hold the follow-through. That rhythm, slow-fast-slow, does more for weight than extra frames.

The top of a jump is another good hold. So is the last frame of a death.

Ease

Real motion speeds up and slows down. In frame terms, ease means poses bunch up near the start and end of a move and spread out in the middle. With few frames, you get ease by holding the end poses longer, rather than adding in-betweens.

Smears

A smear is a frame that stretches a shape along its path, such as a sword drawn as a long arc, or a leg blurred into two. It shows speed in one frame where a smooth version would need four. Use them on the fastest frame of a strike or a dash, and only for one frame.

Common mistakes

  • Every frame equal. Equal timing looks mechanical. Hold the keys.
  • Too many frames. Smoothness at 1× zoom is mostly one-pixel jitter.
  • No anticipation. An attack that starts on the strike frame has no weight.
  • Sliding. If the feet move but the pivot drifts, the walk skates. Lock the pivot.

How Pixor does it

A 3D clip is smooth, often 24 or 30 frames a second, so Pixor has to choose which frames become sprites. In the Asset graph, the Sprites node cuts an action in one of three ways: at a steady Frames/s; with Kept frames, where Pixor keeps the pose extremes and holds each until the next, the way an animator picks keys; or with Picked frames, the exact frames you choose. A Hold node holds a frame longer, such as a wind-up or the top of a jump. Pixor fixes the pivot to one pixel, so walks do not skate. See animation and the Asset graph docs.

Questions

How many frames should a walk cycle have?

Four to eight is common. Four reads clearly at small sizes; six or eight gives a smoother stride on larger sprites.

What frame rate do pixel-art games animate at?

Games usually run at 60 frames a second, but sprites change far less often, commonly 8 to 12 times a second, with some frames held longer.

Read next

Try it on your own model, free in your browser, or get the full version.

Try in browser Get Pixor