Mapping Spritesheets

Sprite Vortex make it easy to import sprite-sheets to create sprite maps

Sprite Vortex make it easy to import sprite-sheets to create sprite maps

 

To create sprite-sheets maps there are some commercial packages named Texture packers, also there are some free open source projects like Sprite Vortex by Rafael Vasco, written in C#.

FireBlaze requires 2 files to load and animation, the spritesheet, a png image with all the animation frames, and spritesheet map in a text file. The map file will list all the position and size of the frames as follow:

X Y Width Height
———————–
7 6 114 76
137 6 126 74

Sprite Vortex export XML Spritesheets maps but it can be tweak to export to a Text file map. Or your can read the XML files and extract the coordinates needed for you FireBlaze animation.