Skip to content

Sprite terms, explained

Clips, frames, directions, cells and pivots, and how they fit into a sheet.

The words you will see#

These terms appear throughout the studio and in the files it makes.

TermWhat it means
ClipA named animation, such as Walk or Wave. Each clip you bake becomes its own sheet.
FrameOne pose sampled from a clip at a moment in time.
DirectionOne viewing angle around the character. Eight directions are 45° apart.
CellThe square that holds one frame in one direction, for example 128 × 128 pixels.
SheetAn image of cells laid out in a grid, with a JSON file describing each one.
PivotThe ground point of a frame, so the character stays in place as its outline changes.
Frame durationHow long each frame shows, in milliseconds, so the game plays it at the right speed.

How many frames a bake makes#

Frames × directions = cells. Sampling 24 frames from each of eight directions makes 192 cells. Before you bake, the line under the scene shows the frame count and the sheet's size, so you can see the effect of each setting.

The readout under the scene updating as directions and cell size change.

Sheets and pivots#

The JSON identifies each rectangle from the top left of the sheet and gives the pivot relative to the cell. Place the sprite by its pivot, so changes in its silhouette do not move the character.

A finished sheet, and the check that looks for empty frames and frames touching an edge.

Playback timing#

Frame duration is recorded in milliseconds. To loop, play the frames in order and return to the first frame at the end.