Beginner · Animated Sprite · Free Windows pixel art editor

How to Create a Pixel Art Walk Cycle

Give a stationary character a readable four-frame walk, then export it as a looping animation or sprite sheet.

Four side-view frames of a teal-clad scout, alternating wide steps and passing poses
Scout Walk, drawn in SpriteOpal. Read the four 32 × 32 frames from left to right.

Example files

What you'll make

You will draw a small character walking in place: one foot reaches forward, the body passes over it, the other foot reaches forward, and the body passes again. The last pose leads back into the first so the movement can repeat without a visible pause.

Open the sample GIF for the motion or the editable project to step through the frames. The still image above makes it easier to compare the boots without pausing the animation.

Before you start

Start from a blank canvas to draw your own scout, or open the editable sample in SpriteOpal and select frames 1 through 4 to see which pixels change. The example uses a 32 × 32 canvas, square pixels, and a transparent background.

Save an editable project as you work with File → Save project. A GIF or PNG export is a separate output and is not a substitute for the .opal project.

Step 1: Make the first pose

Choose File → New artwork..., select 32², Transparent, and Square Pixels (1:1), then choose Create artwork. Select Pencil on the left and choose a foreground color from the palette. Increase the zoom below the canvas so individual pixels are easy to place; the zoom changes only the view, not the exported size.

Draw a compact head and body near the center, leaving empty pixels around the hands and feet. On frame 1, put one foot forward and the other back, with the opposite arm forward. Use contrasting colors to distinguish overlapping limbs and keep an imaginary ground line near the bottom of the canvas.

New artwork dialog for Scout Walk set to 32 by 32, transparent, and square pixels
Choose the 32² preset, keep the background transparent, and select Create artwork.

Step 2: Build the four poses

Select frame 1 in the Timeline and choose Duplicate frame, the overlapping-squares button beside the plus button (Alt + D). Frame 2 becomes active and starts as a copy. Use Eraser to remove the old limb pixels and Pencil to draw the back foot beneath the body as it passes the planted foot. Raise the body by about one pixel if that makes the movement easier to read; keep the head aligned horizontally.

Duplicate again for frame 3. Swap the legs so the other foot reaches forward, and reverse the arms. Duplicate once more for frame 4: bring the trailing foot beneath the body, mirroring the passing pose in frame 2. Duplicate frame makes copies; do not use a linked frame for poses you intend to edit independently.

Use the canvas toolbar’s Onion skin toggle (or O) to compare neighboring poses while editing. If outlines are confusing, adjust the adjacent onion-skin options. Select frame headers to check each drawing individually.

Scout Walk on frame 2 with onion skin enabled and all four frame thumbnails visible
Frame 2 is selected. Onion skin shows the neighboring poses as faint pixels around the active drawing.

Step 3: Set timing and test the loop

Select a frame and click the millisecond value in the Timeline toolbar. Try 150 ms as a starting example, check Apply to all frames, and choose Apply duration. This is a starting point, not a required speed: shorten the duration for a quicker walk or lengthen it for a slower one.

Choose All Frames in the animation range menu and Play animation. Watch the transition from frame 4 back to frame 1 as well as the other transitions. Stop playback and adjust the feet or body one pixel at a time until the motion reads clearly at normal size.

Frame duration set to 150 milliseconds with Apply to all frames checked
Apply 150 ms to all four frames. At this speed, one loop takes 0.6 seconds.

Check your result and fix common problems

The head should not wander sideways, the character should remain inside the canvas, and the two reaching poses should alternate. If a foot jumps, compare its position with the adjacent frame and keep the planted foot close to the same ground line. If the character looks like it is hopping, reduce the body’s vertical movement.

If editing one pose changes another, check for linked cels in the Timeline and unlink them before editing. If a pose is missing in playback, check that All Frames is selected and the relevant layers are visible. Transparent pixels around the character should remain empty.

Export your animation

Choose File → Export... and GIF. Set Animation source to All Frames and enable Loop animation, then select Export artwork and choose a destination. Open the GIF to check that it loops and that the background is transparent.

For a game engine, choose Sprite sheet instead, use Grid, and export a PNG. Check that the four frames appear in order and remain sharp. The Unity tutorial explains how to slice a regular grid; keep the .opal project to adjust the timing or drawings later.

GIF export selected with All Frames and Loop animation enabled
Select GIF, leave Animation source on All Frames, and keep Loop animation checked.

Related manual pages

For more detail about the tools used in this project, consult the user manual:

Related tutorials

Create your own with SpriteOpal

Make and export your own pixel art with the free Windows editor.

Get SpriteOpal for Windows