Beginner · Sprite Sheet · Free Windows pixel art editor
How to Create a Sprite Sheet for Unity
Export four animation frames as a regular PNG grid and separate them into usable sprites in Unity.

Example files
What you'll make
A sprite sheet is one PNG containing multiple frames. You will export Scout Walk, the character from the walk-cycle tutorial, and split it into individual sprites in Unity. Four 32 × 32 frames in one row make a 128 × 32 sheet at 1× with zero padding.
If you only want to practice slicing, download the PNG and skip to Step 3. If you want to export it yourself, download the editable project and start at Step 1.
Before you start
Open Scout Walk or prepare an artwork with four animation frames. Save any edits to the .opal project before exporting so you can change the drawings or timing later.
The Unity steps below follow the Unity 2021.3 manual. Other versions or installed 2D packages can show different controls; consult the linked Unity documentation if your editor differs.
Step 1: Prepare a consistent animation
In the Timeline, click each numbered frame and check that all four poses fit inside the same 32 × 32 canvas. Keep the character’s feet and center aligned between frames; Unity will position each sprite using its frame rectangle and pivot.
Choose All Frames in the animation range menu and play the sequence. Correct missing layers, frame order, or inconsistent positions in SpriteOpal before exporting.
Step 2: Export a regular PNG grid
Choose File → Export... and select Sprite sheet. Set Animation source to All Frames. Scroll down, choose Grid (original layout), set Columns to 4 and Padding to 0, and leave Scale at 1×. Look for four equal cells in a row and a 128 × 32 px preview.
Select Export artwork and choose a destination. Grid keeps equal-sized cells in a predictable arrangement, which makes slicing by cell size straightforward. Packed atlas can save space by arranging or trimming frames differently, but a simple regular grid is easier for this first import.
Export animation data (JSON) is optional. It can describe frame locations and timing, but Unity does not automatically turn SpriteOpal’s JSON into an animation; using it requires a compatible importer or your own integration.

Step 3: Slice the sheet in Unity
Add the exported PNG to your Unity project’s Assets folder and select it in the Project window. In the Inspector, set Texture Type to Sprite (2D and UI), Sprite Mode to Multiple, and apply the import settings. Open Sprite Editor from the Inspector.
In Sprite Editor, open Slice and choose Grid By Cell Size. Enter 32 × 32 for Pixel Size and 0 for both Offset and Padding. Select Slice, then Apply. Expand the PNG in the Project window: it should contain four sprites, one per pose.
If the Sprite Editor button is unavailable, check the Texture Type and your project’s 2D Sprite package. If you exported at a different scale or with padding, use the actual cell size and spacing rather than copying the example values.
Step 4: Use and check the frames
Select the four sliced sprites in their intended order and drag them into the Scene to create an animation, saving the animation clip when Unity prompts you. Play it and compare the loop with SpriteOpal. Adjust the clip timing in Unity to match the intended pace; the PNG alone does not carry frame durations.
For crisp pixels, inspect the texture’s Filter Mode and choose Point (no filter); check compression if colors or edges change. Pixels Per Unit controls the sprite’s size in world units, not its sharpness. Use the same value and consistent pivots for frames that should stay aligned.
Check your result and troubleshoot
Verify the PNG has transparency, four cells of the same size, and the intended frame order. If slices cut through a character, compare Unity’s cell size, offset, and padding with the exported sheet. If the animation jumps, check frame alignment and pivots before changing the playback speed.
If it looks blurry, check filtering and compression in the texture import settings. Re-export from the saved project rather than resizing the PNG with a smoothing filter.
Unity documentation
For the version-specific Sprite Editor and slicing controls, see the Unity 2021.3 documentation linked below. The workflow does not require or imply a one-click SpriteOpal-to-Unity integration.
Related manual pages
For more detail about the tools used in this project, consult the user manual:
Related tutorials
- How to Create a Pixel Art Walk Cycle — Give a stationary character a readable four-frame walk, then export it as a looping animation or sprite sheet.
Create your own with SpriteOpal
Make and export your own pixel art with the free Windows editor.
Get SpriteOpal for Windows