After Pixelate exports a sprite sheet, you need to wire it into Unity’s animation system to get a looping, playable animation. This guide covers sprite slicing, creating animation clips, and handling material swapping when using normal maps.Documentation Index
Fetch the complete documentation index at: https://docs.tomblack.ca/llms.txt
Use this file to discover all available pages before exploring further.
Verify the sprite sheet is sliced
When Pixelate finishes a capture,
AutoSpriteSlicer automatically configures the output PNG as a Multiple sprite with each frame cut to your chosen Cell Size.To confirm: select the PNG in the Project window and check the Inspector. Sprite Mode should read Multiple. Click Sprite Editor to see the individual frame rectangles.If the frames look misaligned, the cell size used in the Sprite Editor may differ from your Pixelate cell size. Open the Sprite Editor, click Slice, choose Grid By Cell Size, and enter the same width and height you used in Pixelate’s Cell Size field.
Create an animation clip from the frames
- In the Project window, expand the sprite sheet asset to reveal the individual frame sprites
- Select all frames (click the first, shift-click the last)
- Drag them onto a GameObject in the Hierarchy
Set the animation sample rate
Open the Animation window (Window → Animation → Animation) and select your clip. Set the Samples value to match the FPS you used when capturing — for example, if you captured at 12 FPS, set Samples to 12. This ensures playback speed matches your capture rate.
Set up material swapping (for normal-mapped sprites)
Each animation clip has its own pair of textures (diffuse + normal map), so each needs its own material. When an animation starts, the Sprite Renderer must switch to the correct material.In the Animation window, with your clip selected:
- Click Add Property → expand Sprite Renderer → add Material._MainTex (or the full Material reference)
- At frame 0, key the material to the one for this clip
- Repeat for each animation clip, keying its own material
Character flipping
To flip your character to face the opposite direction, rotate the GameObject 180° on the Y axis:localScale.x = -1. Negative X scale inverts the normal map’s light response and breaks the lighting effect.
Tips for clean pixel-art animation
- Keep Filter Mode set to Point (No Filter) on your sprite textures to preserve sharp pixel edges
- Disable Compression (set to None) on sprite sheets to prevent color degradation on pixel art
- If frames appear out of order in the Sprite Editor, the slicing direction is top-left to bottom-right by default — make sure your Pixelate export matches this layout (it does by default)