Export a sprite sheet with the frame data to match.
A sprite sheet places animation frames in one image. JSON records where those frames are and how long they should play. Pixelixor exports both together, for free, in your browser.
1. Prepare the animation
Open a .pxl project, draw frames in the timeline, or generate editable frames with Motion or Effect Creator. Play the animation and check each frame's duration.
Use Studio → Animation clips to name groups such as Idle, Walk or Attack. Separate clips make it easier to export just the movement you need. Save your .pxl project as an editable master.
2. Choose the export format
Open Export and choose Sprite sheet ZIP · PNG + JSON. The sheet and its matching metadata download in one archive.
Choose an Animation clip or a custom first/last frame range. For native game sprites, begin with 1× · native pixels. Keep the background Transparent if your sprite needs an alpha channel.
Illustrative layout: each rectangle represents one frame in the sheet.
3. Set the sheet layout
Choose a grid, horizontal strip or vertical strip. Grid layout uses the Columns setting. The preview shows the resulting arrangement.
| Control | Purpose |
|---|---|
| Padding | Space between frames, measured in output pixels. |
| Margin | Space around the sheet. |
| Edge extrusion | Duplicates border pixels to help with texture sampling. |
| JSON structure | A frame array or filename-keyed hash. |
| Animation tag | The name of a custom exported sequence. |
Match these choices to your engine's importer. A tool expecting a uniform grid may need fixed cell sizes and explicit padding values.
4. Check trimming and pivots
Trim transparent bounds removes empty space around frames. JSON retains source-size and offset information so a compatible importer can restore their alignment.
If your importer ignores trim offsets, leave trimming disabled. Otherwise a character can appear to jump between frames.
The optional Sprite pivot uses values from 0 to 1 against the untrimmed frame. The default is the center. Check your engine's coordinate and pivot conventions.
5. Review and download
Read Export checks. Empty frames or pixels touching a canvas edge may be intentional, but can also reveal misplaced effects or clipped drawings.
Download the ZIP and keep its PNG and JSON together. Metadata includes frame coordinates, source offsets and durations. Named clips can carry animation information. Compatibility depends on the receiving engine; no single JSON layout is automatically supported by every importer.
Export a GIF separately for a quick playback preview. PNG preserves partial alpha; GIF has more limited transparency. Keep the .pxl project for future changes.
Common questions
Can I export just one animation?
Yes. Select a named clip or set a custom frame range.
Does a sprite sheet animate by itself?
No. It is a static image. A game engine or animation player uses the coordinates and timing to play the frames.
Why keep both files?
PNG holds the artwork; JSON describes its arrangement and timing. Some importers support simple grids without metadata, but trimmed or variably timed frames need more information.
Can I start with an ordinary image?
Yes. Follow the image-to-pixel-art guide, then add animation frames.