What Is a Sprite Sheet? How Sprite Sheets Work in Games
What a sprite sheet is, how engines cut it into frames, sprite sheet vs texture atlas, and how to cut, pack or make one for Godot, Unity, GameMaker or Phaser.

A sprite sheet is one image that holds many smaller images, usually the frames of a character's animations, laid out in a grid. The game loads the one image and shows one rectangle of it at a time; stepping through the rectangles on a timer is what makes the character walk.
Every 2D engine works this way, so it is worth knowing how a sheet is put together, and which tool to reach for when you need to cut one, pack one or make one.
What a sprite sheet is
Picture a walk cycle of 8 frames, each 64 × 64 px. Laid side by side in one row, they make a 512 × 64 px image: that is a sprite sheet (a single row is also called a strip). Add the run on a second row and the jump on a third and you have a sheet for the whole character, one animation per row.
The engine only needs to know where each frame is. On a uniform grid that comes down to a few numbers.
Frame data: how the engine cuts the sheet
- Frame width and height: the size of one cell, 64 × 64 in the example.
- Columns and rows, or the total number of frames.
- Margin and spacing: empty pixels around the sheet and between cells, if there are any.
- Pivot or origin: the point the frame is placed by, usually the feet for a character, so it stands on the ground in every frame.
Keep every cell the same size and the character in the same place in each cell. Then slicing is one setting in any engine, and the animation doesn't jitter.
Why games use sprite sheets
- Fewer texture switches. Drawing many sprites from one texture lets the engine batch them, which matters most on the web and on phones.
- One file per character. An animation becomes "frames 0 to 7 at 12 fps" instead of eight separate files.
- Less wasted memory. Packing frames tightly into one texture leaves less empty space than many small ones.
Sprite sheet vs texture atlas
People use the words loosely. A sprite sheet usually means a uniform grid of animation frames, where the cell size is all the engine needs. A texture atlas packs sprites of different sizes as tightly as it can, and comes with a data file (JSON or XML) that names each sprite and gives its rectangle. Both do the same job: one texture, many images. Use a grid sheet for animations and an atlas for icons, items and UI pieces of mixed sizes.
Animations from a sheet
An animation is a list of frames and a frame rate: "walk = frames 0 to 7 at 12 fps, looping". Several animations can share one sheet, one per row, and the engine plays whichever the game asks for. Attacks and deaths usually play once; walks, runs and idles loop.
Cut, pack or make a sprite sheet
Three different jobs, three free or low-cost tools:
- Cut a sheet into frames. Got a sheet from an asset pack and need the frames as separate PNGs? The free Sprite Sheet Slicer finds the grid itself and downloads every frame in a ZIP, in your browser.
- Pack sprites into a sheet. Got loose PNGs and need one image? The free Sprite Sheet Packer packs them into a texture atlas with a JSON map for Phaser or PixiJS, or a CSS sprite sheet. The step-by-step guide walks through it.
- Make the animations in the first place. Got one character and no frames? The AI sprite sheet generator turns one sprite into a matching set (idle, walk, run, jump, attack, hurt and death) and lays them out as one sheet: a row per animation, every cell the same size.
Loading a sheet in your engine
- Godot 4: an AnimatedSprite2D with a SpriteFrames resource; the free SpriteFrames exporter turns a sheet into a .tres for you. See sprites for Godot.
- Unity: set the texture's Sprite Mode to Multiple and slice it in the Sprite Editor with Grid By Cell Size. See sprites for Unity.
- GameMaker: import a horizontal strip and set the number of frames. See sprites for GameMaker.
- Phaser: load it with
this.load.spritesheetand the frame width and height, or withthis.load.atlasfor a packed atlas and its JSON.
Practical takeaways
- Keep frames a uniform size and the character anchored the same way in each one.
- Put one animation per row: it is the easiest layout to read and to slice.
- Ship the atlas JSON with a packed sheet, so nobody works out rectangles by hand.
- For pixel art, turn off texture filtering in the engine so the frames stay sharp.