---
title: "Game characters: actions, directions and export"
description: "Keep a game character's idle, walk and attack in every direction in one table. Mirror left from right, test it on a stage and export it to your engine."
source: https://makepixel.ai/guide/characters/
language: en
updated: 2026-11-25
---

# Game characters: actions, directions and export

A **character** in MakePixel keeps every animation of one game sprite in a single table: **actions** down the side, **directions** across the top. Idle, walk and attack in four directions stop being twelve loose files and become one asset you can test, recolour and export together.

## How a character is organised

Each cell of the table is one action in one direction, like **Walk · Right**. A cell is a full animation with its own layers, frames and tags, so everything from the [timeline](https://makepixel.ai/features/pixel-art-animation/) works inside it.

| | Down | Up | Right | Left |
| --- | --- | --- | --- | --- |
| **Idle** | Idle · Down | Idle · Up | Idle · Right | Mirrored |
| **Walk** | Walk · Down | Walk · Up | Walk · Right | Mirrored |

Left-side columns start **mirrored**, so you draw right and get left for free.

## Create a character

Characters live on your **Assets** page, so you'll need to be signed in.

1. Open **Assets** and select **New asset**.
2. Choose **Character**.
3. Under **Directions**, pick a preset:
   - **Side-scroller:** Right and Left, for platformers.
   - **Top-down 4:** Down, Up, Right and Left, for most RPGs. This is the default.
   - **Top-down 8:** adds the four diagonals.
4. Pick a **Cell size**, such as 32 × 32, and select **Create**.

You start with **Idle** and **Walk** rows. You can switch presets later from the top of the page. Columns both presets share keep their art, and a dialog warns you before any drawn column would be removed.

Already drew this character as a plain animation? Open it from the Assets page, choose **Create character** in the asset's `…` menu, pick a preset and select **Create character copy**. Your animation becomes Idle · Down (Idle · Right for a side-scroller), and the original stays as it was.

## Draw the cells

Click a cell to open it in the pixel editor. A cell showing `+` doesn't exist yet, and clicking it offers **Start from…**:

- **Blank**, which still takes the row's palette, frame count and timing, so it lines up with its neighbours.
- **Copy of** another direction, or the same direction from another action.
- **Flipped copy of** a direction.

Inside the editor, move around without going back to the table:

| Press | To |
| --- | --- |
| `[` / `]` | Go to the previous or next action |
| Alt+← ↑ → ↓ | Go to that direction |

The **Other directions** strip beside the selects is the detail that keeps a character consistent. Each thumbnail shows **the same frame number you're drawing** in another direction, so you can check that the head height and foot positions line up, pose by pose.

## Mirror left from right

A mirrored column stores no pixels. It always shows a live flip of its source, so **fixing Right fixes Left** automatically. Left mirrors Right, Down-left mirrors Down-right and Up-left mirrors Up-right. Down and Up never mirror.

Sometimes a character isn't symmetrical: a sword in one hand, a scar on one cheek. To draw that side by hand, open the column's `…` menu and choose **Unmirror**, or click a mirrored cell. You get real, flipped copies to edit.

**Unmirroring applies to the whole column, in every action.** Choosing **Mirror** on a column you've drawn deletes its art with no confirmation, so save a copy of anything you want to keep first.

## Add actions and directions

**Add action** sits under the table, with common names like Run, Attack, Hurt, Death, Jump and Cast, plus **Custom…**. The name matters, because **it becomes the clip name in your engine**, as in `walk_right`. Custom names use lowercase letters, digits and underscores.

Each row's `…` menu has **Rename**, **Duplicate action**, **Row timing…**, **Loop** and **Remove**. Duplicating is a good way to start a run from a walk. To add a direction, use the `+` at the end of the header row.

Rows and columns can't be reordered.

## Keep timing in sync

Each cell's timing is independent. If Walk · Up has six frames and Walk · Down has four, the character will pop when the player turns.

**Row timing…** fixes that by giving every drawn direction of an action the same frame count and duration. Open it from the row's `…` menu, or click the `4 frames · 100 ms` line under the action's name.

Check both fields before you select **Apply**. The form always opens at 4 frames and 100 ms rather than the row's current values. Fewer frames removes frames from the end of each cell, and one duration replaces every hand-tuned hold in that row.

**Loop** is set per action. Idle, walk, run and block loop by default, and everything else plays once. That one setting drives both the stage and your export.

## Test it on the stage

The stage beside the table plays your character like a game, so you catch bad timing and sliding feet before you export.

- **Move** with the arrow keys or WASD. An on-screen pad appears for touch.
- **Play an action** with its number key, 1 to 9, or its button.
- Choose which actions are **Move** and **Rest**, and adjust **Speed**, **Scale** and **Background**.

Looping actions play while you hold the key. One-shot actions like an attack play through once and hold the character still until they finish, the way they would in a game.

To change an action's key, click the keycap in its row and press a new one. If that key is taken, the two swap. Press Backspace to go back to the default.

## Recolour, resize and import

These live in the page's `…` menu, except resizing.

**Recolour** swaps one colour across every cell and direction, with a live preview. It changes this character rather than making a copy, so duplicate the asset first if you're making an enemy variant.

**Resize:** on desktop, click the `32×32` size chip in the page header, set the new size and pick an **Anchor**. All cells change together, so the table never ends up with mixed sizes.

**Import** brings in a tagged `.aseprite` or `.ase` file. Name your tags `action_direction`, like `walk_right` or `Walk-Down-Right`, using full direction names. You'll see a preview before anything changes, and existing cells are only replaced if you tick the box to do so. Use a file whose canvas size matches the cell size, because the import doesn't check it.

## Be careful: the table has no undo

Undo works normally **inside a cell**. Changes to the table itself take effect right away and can't be undone on this page:

- Removing an action or a direction
- **Mirror** on a drawn column
- A preset switch that drops columns
- **Row timing** that shortens a row
- **Recolour**

With Pro, you can make a checkpoint first: open **Versions** in the page's `…` menu and choose **Save version of all cells**. Restoring brings the whole set back as it was at that save, though it can't bring back a cell you've deleted since.

## Export to your engine

Select **Export** in the page header, pick a target and you get one `.zip`. Clips are named `action_direction`, like `walk_right` and `idle_down`.

| Target | What you get |
| --- | --- |
| **Godot** | `name.png`, a SpriteFrames `name.tres` and a ready `name.tscn`, with timing, loops and origin set |
| **Aseprite** | One `name.aseprite` with a tag for each clip, normally flattened to one layer |
| **Generic sheet + JSON** | `name.png` and `name.json` in Aseprite's JSON shape, with pivot and loop data |
| **Unity** | One PNG per clip, plus `name.json` with rects, durations, loops and pivot |

Mirrored directions export as real frames. For Godot, **Use flip_h** skips them and reuses the source row, so a mirrored set takes about half the texture. Your game then needs to set `flip_h` before playing a mirrored clip, and the zip includes a note explaining how.

Each cell exports as one clip. If it has several tags, only the first is used, and a notice after export names the cells that lost frames.

The Unity export doesn't generate `.anim` clips or an Animator, so you'll set those up in Unity. **Export again** repeats your last target and options.

## Use a character in a project

Open a project's **Assets** panel and place the character on the canvas. It's placed as **one cell**, the first one drawn in table order, and stays linked to the asset. You can't switch which action or direction an instance shows from the canvas.

Put that instance in a scene with a map and you can walk it around your level with **Playtest**, a Pro feature.

## Next steps

The [sprite maker overview](https://makepixel.ai/features/sprite-maker/) shows the whole character workflow, and the [Godot export guide](https://makepixel.ai/guide/export-to-godot/) walks through getting it into your project.
