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

An 8-direction sprite sheet of a walking character

An 8-direction sprite sheet holds a character's animation seen from eight sides, South, Southeast, East and round to Southwest, one row per direction, every frame at one size and on one pivot, so the game plays the row closest to where the character is going. It is the hardest thing to draw by hand and the easiest to render from a 3D model.

Front
Right
Back left
An 8-direction walking character: the sheet this sample project renders

Sample project

An 8-direction walking character: the .pixor project and its library model (CC0). The sheet on the left is what it renders.

Intermediate · about 10 minutes · or watch it in 59 seconds

What the sheet looks like

Below is the sheet this tutorial makes, rendered by Pixor: the library golem’s walk, a row per direction, six frames each, seen from 35 degrees above like a top-down RPG.

An 8-direction walk sprite sheet of a crystal golem: eight rows, one per direction from South round to Southwest, six frames of the walk in each row

Row Side Angle The character faces
1 South 0° Down the screen, towards the player
2 Southeast 45° Down and to the right
3 East 90° Right
4 Northeast 135° Up and to the right
5 North 180° Up the screen, away from the player
6 Northwest 225° Up and to the left
7 West 270° Left
8 Southwest 315° Down and to the left

Every row has the same number of frames and every frame the same size, with the character’s feet on the same pivot, so switching rows mid-step never makes it jump. The JSON beside the sheet names each row after its clip and side (lib:walk_South, lib:walk_Southeast… for the library’s walk; Walk_South for a clip of the model’s own called Walk), so the game finds a direction by name. On the command line the same sheet is one line:

pxr render golem.glb --preset selout --view three-quarter --pitch 35 --size 48 \
  --ring 8 --clip lib:walk --smart-frames 6 --export png,json -o golem.png

The steps below make it in the app.

1. Import an animated character

Drag the crystal golem from the free library onto Pixor, or a rigged character of your own: glTF or FBX with its clips. The import says how many bones and clips arrived.

2. Eight cameras

In the Scene step, click South in the Outliner. Set Game to Top-down RPG (a three-quarter view from above), then Ring round the model to 8. Pixor adds a camera per side, named for the side each sees: South, Southeast, East, Northeast, North, Northwest, West, Southwest.

They share one view, pitch and size, so they share one sheet, one palette and one pixel scale. That is what keeps the eight directions looking like the same character.

3. The walk

In the Action step, click Walk in the Actions list. The golem has no walk of its own: press + under the list and pick Library clip: walk, Pixor’s walk fitted to its skeleton. If the character drifts forward as it walks, keep it in place in the action’s Inspector (root motion): the sprite stays on its pivot, and the offset is written for your engine.

4. Fewer, better frames

A walk at 24 frames a second is far too many frames for pixel art. Open the Asset step and choose the Sprites node: press Smart frames, then set Kept frames to about 6. Pixor keeps the pose extremes, each held until the next, the way an animator picks keys. Or set Frames/s to 8 to 12 for a steady rate.

5. Check it

Play the result in the 2D View. Light bands hold until a surface has clearly turned, and pixels that would blink for a frame are kept steady, so the walk shouldn’t flicker. Turn on the pixel grid (Shift+G) and onion skin (O) to look closer.

6. Export for your engine

Export writes a sheet with one row per side. For Godot, add the Godot SpriteFrames output in the Asset graph: every side becomes an animation of an AnimatedSprite2D (Godot guide). For touching up by hand, add the Aseprite file: a tag for every side, ready to paint on (re-bakes keep your paint).

Next

Questions

What is an 8-direction sprite sheet?

A sprite sheet with a character's animation from eight sides, a row per side: the four compass directions and the four diagonals, 45 degrees apart. Top-down and isometric games show the row closest to the way the character moves, so it never walks sideways.

Do I need 4 or 8 directions?

4 directions suit grid movement and games that move only up, down, left and right, as in classic RPGs. Free movement with a stick or the mouse needs 8, or the character snaps between four facings while walking diagonally. Vehicles and turrets use 16 or more.

Can I mirror the left directions instead of drawing them?

By hand, artists often draw five directions and flip three. It halves the work but swaps whatever is one-sided: a sword moves to the other hand, a scar to the other cheek. Rendered from a model, all eight are drawn, so nothing flips.

Can I use Mixamo animations?

Yes. FBX files from Mixamo import as they are. Clips in separate files are found automatically when they are named after the model (hero@walk.glb); otherwise add them with Clips from a file… under the Actions list.

My character slides across the canvas while walking. Why?

That is root motion: the clip moves the character forward. In the Action step, the action’s Inspector keeps it in place, and the offset is exported for your engine.

Read next

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

Try in browser Get Pixor