What pixel animation involves
Pixel animation is a sequence of frames, each drawn at the same canvas size. Every frame is extra work, so small animations are usually short. Many walk cycles use a handful of frames, and idle loops often use only a few. Plan the frame count around what the motion needs.
Set up before you animate
- Keep the canvas size and the character’s position consistent from frame to frame. A character that drifts or changes size will jitter.
- Keep one ground line. The feet should land on the same line each time they touch the ground.
- Use the same palette in every frame. A new color that appears in only one frame looks like flicker.
- Use onion skinning if your editor offers it. It shows the previous and next frames as faint overlays, so you can judge spacing.
- Put body parts on separate layers if you can. That makes it easier to move an arm without redrawing the whole figure.
Start with the key poses
Before you draw in-betweens, plan the main poses. A common walk cycle uses four key poses for one side of the body:
- Contact: the front foot touches the ground, and the back foot is raised behind.
- Down: the body is at its lowest, with the weight on the front leg.
- Passing: the legs pass each other under the body.
- Up: the body is at its highest, with the weight moving over the back leg.
Once you have these four, draw the other half of the cycle with the legs swapped. Mirroring the frames works for many side-view characters. It does not work if the character carries an item in one hand or has asymmetric details, so check those frames by hand.
Walk cycle, step by step
- Draw the contact pose and check that the feet and body spacing look natural.
- Draw the down pose. Lower the body and bend the front knee slightly.
- Draw the passing pose. The legs cross beneath the body.
- Draw the up pose. Raise the body and extend the back leg.
- Repeat the sequence with the legs swapped, then play the cycle back as a loop.
Two rules matter most:
- Keep a planted foot still while it is on the ground. A foot that slides across the ground line looks wrong.
- Bob the body once per step. The body is lowest in the down pose and highest in the up pose. The arms swing opposite the legs.
Idle frames
An idle loop shows a character at rest. Keep the motion small: a slight chest rise and fall, a blink, or a shift of weight. Idle loops often need only a few frames. Make the first and last frames match so the loop does not hitch.
Timing and loop testing
Frame timing sets how fast the motion feels. Set durations in your editor, then test in the engine or viewer you plan to use. Watch for a hitch at the seam between the last and first frame, and adjust the poses or timing if you see one.
If your engine moves sprites at fractional positions, rounding can cause jitter. Keep positions to whole pixels where you can, or see the subpixel section of advanced pixel art techniques.
Common mistakes
- Outline thickness that changes from frame to frame.
- New colors that appear in only one frame.
- Feet sliding across the ground.
- A sprite that drifts or changes size between frames.
- Too much change between frames, which causes jitter, or too little, which looks stiff.
Tools that help
Most pixel art editors offer a frame timeline, and many offer onion skinning. Aseprite has both, and free tools such as Piskel include a frame timeline too. If you animate in Krita, see how to render a Krita animation for exporting the frames. For the static sprite your animation is built on, see how to draw a pixel art character sprite. For shading that holds up across frames, see pixel art shading.