Indie dev efficiency7 min read

Sprite Animation Origin and Pivot Guide for 2D Games

A practical guide to choosing stable origins and pivots for 2D sprite animations so characters do not shake, slide, or jump during playback.

Animation quality depends on stable reference points

When a 2D character animation shakes, slides, or jumps in place, the artwork is not always the problem. Very often, each frame has a different canvas size, a different origin, or a slightly different pivot. The result is an animation that looks unstable even if the drawings are good.

Before importing animation frames into Unity, Cocos, Godot, or another engine, use Sprite Animation Frame Tool to split, preview, and align the frame sequence.

Use a consistent canvas

Every frame in the same animation should share the same canvas size. If one attack frame is wider because of a weapon swing, the other frames should still keep the same canvas. This prevents the visible sprite from shifting when the animation changes frames.

Choose the pivot based on movement type

Grounded characters usually work best with a foot-center pivot. Flying characters may use a body-center pivot. UI effects often use a center pivot. The rule is simple: choose the point that should visually remain stable during playback.

Preview the loop before export

Do not judge frames only as still images. Preview the animation loop and look for foot sliding, head shaking, weapon snapping, or sudden scale changes. These issues are much faster to fix before the frames are packed into an atlas.

Clean the frame background first

If your frames come from AI-generated sheets or white-background images, process the source artwork first with AI Sprite Cutter. Clean transparent frames are easier to align and export.

Conclusion

Stable animation comes from consistent canvas size, clear pivot rules, and preview-based correction. A few minutes of alignment before export can prevent many animation bugs later in the engine.

FAQ

Why does a sprite animation shake during playback?

The most common reason is inconsistent frame size, origin, or pivot placement across animation frames.

What pivot should a grounded character use?

A foot-center pivot is usually best for grounded characters because it keeps the character anchored to the floor.

Should every frame have the same canvas size?

Yes. A consistent canvas makes animation playback more stable and easier to import into engines.

Recommended tools

Ready to try "Sprite Animation Origin and Pivot Guide for 2D Games"?

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