Posted tagged ‘sprites’


March 7, 2008

In some cases in a project, we need to use striped sprites, it means an an animation of bitmaps which has their frames arranged in rows or columns like the examples below:



Sometimes the output of some graphic tools are this kind of sprite, for example this explosion generator: Actionscript do not brings anything built-in to handle this kind of sprites what I called Bitmap MovieClip, so I created a handy class to handle this situations where we need want to create an animation from an array of frames on an image.
The result is something like this: