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.

Advertisements

One thought on “Mapping Spritesheets

  1. Pingback: Sprite Sheet Animation Component For Delphi XE5 Firemonkey On Android And IOS | Delphi XE5 Firemonkey, Delphi Android, Delphi IOS

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s