First, you run the program.
double-click DefaultSprite.exe
Then select an image file from the list at the top.
(It doesn't support sub-folders)
Now, adjust the settings on the right:
Directions
How many directions can this sprite face? Each direction is stacked vertically, one on top of the other, in clock-wise order.
Frames
How many frames of animation does this sprite use? Animation frames are arranged next to each other, and animate from left to right.
Columns & Rows
Multiple sprites are sometimes stored in one image, each with its own directions and animation frames. The sets are tiled. All sets have the same amount of animation frames and directions.
The "Rows" and "Columns" settings are used to tell it how many sets there are horizontally and vertically.
"Columns" refers to how many sets are sitting next to each other, horizontally.
"Rows" are how many sets are stacked on top of each other, vertically.
Speed
This is the delay between animation frames. Higher numbers make it slower.
This controls how the sprite is animated.
"loop" means the animation will be played from left to right, and then repeat.
"yoyo" means the animation will play from left to right, then right to left, then left to right, etc... This is useful for walk animations.
"once" the animation plays from left to right, and then stops on the last frame.
Animating
This controls whether or not the sprite is animating at all. When set to "frozen", it'll display only 1 frame.
When the settings are correct, the selection box should only contain a single image.
After adjusting the settings, click on the animation frame you want it to start on.
Finally, click the "save" button and save the file to the sprite's folder.
Make sure it's named: defaultSprite.xml |