How do I use the pair?
- Select your character’s individual PNGs. Files use numeric filename order, so frame 2 comes before frame 10.
- Set the output name and animation prefix. To export several animations together, enable filename prefixes and use names such as idle_01.png and singLEFT_01.png. Each group starts at 0000.
- Download both files into the same asset folder. Keep the PNG filename in the XML’s imagePath and use the generated prefix wherever your project looks up an animation.
What does the XML describe?
Each SubTexture names one frame and gives its left and top coordinates, width, and height in pixels. Every exported cell has the same dimensions. Smaller images sit at the bottom center of the cell with transparent space around them. Hand-drawn animation pivots and character configuration are separate from these rectangles.
Already have a regular sheet? First split it into individual frames. You can also preview the exported PNG as a GIF. For the loader format, see HaxeFlixel’s Sparrow atlas reference.