Fox Studios logo Fox StudiosGame projects, devlogs and Scratch builds
Tools

Aseprite Walk Cycle Workflow for an 8 Frame Game Sprite

The first walk cycle I made for our platformer took an entire Saturday and looked like a man stepping on hot coals. The second one took 40 minutes and shipped. The difference was not talent.

Aseprite editor showing an eight frame pixel art walk cycle with onion skin enabled

The first walk cycle I made for our platformer took an entire Saturday and looked like a man stepping on hot coals. The second one took 40 minutes and shipped. The difference was not talent. It was a fixed Aseprite walk cycle workflow: the same canvas size, the same eight poses, the same frame timing and the same export settings every time.

This is that workflow, written for people who can draw a standing character but freeze when it has to move. It assumes a 32 by 32 pixel sprite and a 2D engine that reads sprite sheets, which covers Godot, Unity, GameMaker and most web frameworks.

Why Aseprite Is Worth the Twenty Dollars

Aseprite costs about $20 on Steam or itch.io, and the source code is public if you want to compile it yourself for free. There are free browser editors, and I used one for a year. What I was missing was not drawing tools. It was three animation features that save hours on every character.

  • Onion skin. Shows the previous and next frames as faint ghosts, so you can see how far a foot has moved.
  • Tags. Name a range of frames "walk" or "idle" and the exported data carries those names into your engine.
  • Linked cels. One drawing shared across many frames. Fix the head once and it updates on all eight.

If the price is a real barrier, LibreSprite is a free fork of an older Aseprite version and has all three. Our wider list of free tools a small studio actually uses covers the rest of the pipeline.

Set Up the File Before You Draw Anything

Ten minutes of setup prevents most of the problems I used to blame on my drawing.

  1. Create a 32 by 32 canvas in indexed or RGBA mode with a transparent background.
  2. Load a small palette. Eight to sixteen colours is plenty for a character this size.
  3. Make three layers: body, far arm and leg and near arm and leg. Splitting limbs onto layers means the legs can move while the torso cel stays linked.
  4. Draw a one pixel horizontal guide line for the ground on a hidden layer, so every foot contact lands on the same row.
  5. Add eight frames and set each to 100 milliseconds. That gives a 0.8 second cycle, a natural walking pace for a small character.

The Eight Poses of a Walk Cycle

A walk is really two steps, and each step has four key moments. Draw the first four, then mirror the legs for the second four.

FramePoseWhat the body does
1ContactFront heel touches the ground, legs at widest stride
2DownWeight drops onto the front leg, body sinks 1 pixel
3PassingBack leg swings past the standing leg, body back to normal height
4UpBody rises 1 pixel as the standing leg pushes off
5 to 8Same fourLegs and arms swap sides

That single pixel of bounce on frames 2 and 4 does more for the feeling of weight than any amount of extra detail. Without it, the character glides like it is on a moving walkway.

Arms swing against legs

When the left leg is forward, the right arm is forward. Beginners often swing the arm on the same side as the leg, and the result looks like a marching toy. Check it on frame 1: the near arm and near leg should point in opposite directions.

Copy and Shift, Do Not Redraw

The common tutorial advice is to sketch every frame loosely, then clean each one up. For hand drawn animation that is right. For a 32 pixel sprite, it wastes most of your time and introduces wobble, because every redrawn head comes out a pixel different.

Instead, duplicate the previous frame with Alt+D, turn on onion skin and move only what changes. On most frames that is the two legs and the two arms, nudged with the move tool. The torso and head stay as linked cels. On my last character, only 34 pixels changed between contact and down. Redrawing all 400 or so pixels for that would have been silly.

The same thinking applies to frames 5 to 8. Copy frames 1 to 4, then swap the contents of the two limb layers instead of drawing anything new. If your character is symmetrical, that is the second half done in about two minutes.

Fewer Frames Often Look Better

There is a belief that more frames means smoother, better animation. At small sizes the opposite is often true. A 16 by 16 character has so few pixels that the in between frames of a 12 frame cycle barely differ, and the eye reads them as jitter.

For sprites at 16 pixels, a four frame walk (contact, passing, contact, passing) at 150 milliseconds per frame usually reads more clearly. Keep eight frames for 32 pixel characters and up. Test both: play the tag in the preview window at 1x zoom, the size players will actually see, not at the 800 percent you draw at.

Export a Sprite Sheet the Engine Understands

Use File, then Export Sprite Sheet, with these settings:

  • Layout: by rows, one row per tag, so walk, idle and jump each get their own line.
  • Padding: 1 pixel border and 1 pixel spacing, which stops neighbouring frames bleeding in when the engine scales the image.
  • Output: PNG plus a JSON data file with tags and frame durations included.

Godot and Unity both have importer plugins that read that JSON and build the animation for you, timing included. If you are placing the character into tile based levels, keep its size a multiple of your tile size; the grid settings in our Tiled map editor guide pair well with 16 or 32 pixel sprites.

Aseprite Walk Cycle Questions

How long should one walk cycle take?

Between 0.6 and 1 second for a full two step cycle. Faster than that reads as jogging, slower as tired. Change the frame duration rather than adding frames.

Do I need to know how to draw to animate a sprite?

Less than you think. If you can make a standing pose, the copy and shift method handles the rest. The approaches in simple game art for people who cannot draw are a good place to start that first pose.

Why does my character slide across the ground in the engine?

The movement speed in code does not match the stride in the art. Measure how many pixels the front foot travels across one step and set the walk speed so the character covers that distance in the same time.

Your Next Forty Minutes

Open a 32 by 32 canvas, set up the three layers and the ground line, and draw only frame 1, the contact pose. Then build frames 2 to 4 by copying and nudging limbs, mirror them for 5 to 8, and export with tags. Do one ugly walk cycle tonight; the second will already be faster.

DF
Diego Fenn

Diego covers finished builds and the community around them, and runs the feedback threads that shape what the studio makes next.

More posts by Diego

More in Tools

01doorganico 084goad 3hot8 4465456 after5internprogram ahandfulofblessings ahmadpc ahomcybersecurity allodialresources annodex antiquesandperiodcollectibles aotc asianworldkashmir beedlectrics bloggertemplatefree bluefeatheragency bodyweightsolution campaign08blog carfixadvisor catstreetcollective cbstvsports cnfanspurchasing committeeof500yearsofdignityandresistance covertopsdjs cs-kaiyuangame cuestacomunicaciontotal cxoutlet dancebetgame deskgearhub destinyvillastay detectmagazine di33 diamondsteelbuildings donmo dyanadropship emarsysfinance emimattl escapechan eskitarih evautoplay everythingweddings-orlando farmzone feedviewerapp gamevui123 gleasongrade greetingsday hacklabasu haskell iw-kaiyun jagoanproperti jilidskripsi joltbusinessfinance juegodepokergratis juegospucca kaeru-festival latestmehndidesigns lestanzediottaviano litemagazines localcommunityhero lustrsazan mariashebets menswheels newwebstechs1 nikkit ootheday oxigenvpn plurfitness prefetial probudgetcarpetcleaning psychicmrsmartin pyaten qvantor rejoignezlogis rexzbot riselayouts ruchin rwxqsgd5 sakaltime shibiaowang shop-bot skrtips strcoding tetapatrium topselller uneplanteartificielle vipertechcr webtech1223411 wo-kygaming yamaha-mekar yeknava yoybuysheets zenunwa yamaha-mekar jilidskripsi ankertoto ankertoto ankertoto ankertoto