
Here is a little something for the hobby game programmers and artist out there, including myself. It is a plugin to test and design Sprite Sheets. For those that do not know a Sprite Sheet is a collection of images arranged in a grid used to make animations. This is done instead of having a bunch of image files.
Hidden Content:
About:
This plugin will load each image from the grid to build a list of "frames". And from the list sequences can be created and animated.
I am quite proud of the user interface. Drag and Drop is used to add and arrange the frames. What this means is just click and drag to move them. An insertion point is drawn to specify the location. It is very intuitive and fast to create sequences.
For a simple demonstration try this image
Select "Animation->SpriteSheetAnim" to run the plugin. Upon opening the 4 frames will get added into the left list box like screen shot above where it says "Frames 4". This is the working set of frames that are used to build animation sequences. This set can not be arranged or added to like the sequence list. The size of the frames happens to be 32x32 pixels which is the default but this can be adjusted to up to 512x512 pixels. Selecting "Draw Grid" is useful for matching the frame size to an existing sprite sheet or starting a new one.
Creating a sequence is as easy as clicking any of the frames from the "working set" and dragging to the "sequence set" on the immediate right. Frames 0 and 1 were added to the sequence in the above screen shot. Frames in the sequence set can be arranged by dragging and removed by hitting the Delete key. Also, holding Control will duplicate the frame while dragging instead of moving (think copy then paste).
To start animation press the "On" button and "Off" to stop. While running the current frame is highlighted in the sequence list.
This plugin will load each image from the grid to build a list of "frames". And from the list sequences can be created and animated.
I am quite proud of the user interface. Drag and Drop is used to add and arrange the frames. What this means is just click and drag to move them. An insertion point is drawn to specify the location. It is very intuitive and fast to create sequences.
For a simple demonstration try this image

Select "Animation->SpriteSheetAnim" to run the plugin. Upon opening the 4 frames will get added into the left list box like screen shot above where it says "Frames 4". This is the working set of frames that are used to build animation sequences. This set can not be arranged or added to like the sequence list. The size of the frames happens to be 32x32 pixels which is the default but this can be adjusted to up to 512x512 pixels. Selecting "Draw Grid" is useful for matching the frame size to an existing sprite sheet or starting a new one.
Creating a sequence is as easy as clicking any of the frames from the "working set" and dragging to the "sequence set" on the immediate right. Frames 0 and 1 were added to the sequence in the above screen shot. Frames in the sequence set can be arranged by dragging and removed by hitting the Delete key. Also, holding Control will duplicate the frame while dragging instead of moving (think copy then paste).
To start animation press the "On" button and "Off" to stop. While running the current frame is highlighted in the sequence list.
Hidden Content:
Version:
V1.1 May 20
Improved Drag Drop Scrolling
Zoom decrement bug fix
Support for different borders around frames. No border, border both sides, or border just to right
Other bug fixes
v1.2 May 25
Added Saving/Loading Sequences. Make sure to save to file after done creating.
v1.3 May 31
Improved insertion of frame during drag and drop.
Added GIF save feature! Tested with Firefox and IE8.
Notes on GIF:
GIF's can only be created! There will be no support to load GIF's. Animations can be recreated by saving and loading sequence data.
The GIF is set to loop indefinitely and will animate at the same speed as the preview.
GIFs must use a palette. I choose to use the gdi, Window's graphic application interface to generate palette and image data for convenience. It is most likely using the window's system palette. As a result detailed images do not look that great. I noticed detailed images get dithered/halftoned. I am looking into some more advanced techniques on generating an optimized palette. I would also like to add an option to use PDN's palette or a web safe palette may also be included.
V1.1 May 20
Improved Drag Drop Scrolling
Zoom decrement bug fix
Support for different borders around frames. No border, border both sides, or border just to right
Other bug fixes
v1.2 May 25
Added Saving/Loading Sequences. Make sure to save to file after done creating.
v1.3 May 31
Improved insertion of frame during drag and drop.
Added GIF save feature! Tested with Firefox and IE8.
Notes on GIF:
GIF's can only be created! There will be no support to load GIF's. Animations can be recreated by saving and loading sequence data.
The GIF is set to loop indefinitely and will animate at the same speed as the preview.
GIFs must use a palette. I choose to use the gdi, Window's graphic application interface to generate palette and image data for convenience. It is most likely using the window's system palette. As a result detailed images do not look that great. I noticed detailed images get dithered/halftoned. I am looking into some more advanced techniques on generating an optimized palette. I would also like to add an option to use PDN's palette or a web safe palette may also be included.
Attached Files
-
PdnAnimateControlSln.zip 134.14K
2899 downloads
-
PDNSpriteSheetAnim.zip 16.41K
3852 downloads


















