Package Spa

Classes

class  SPA
 SPA (SPrite Animation) is a custom file format which holds optimized sprite animations and also supports alpha. As it's a custom format, we also have a freely available tool on the website which will encode a series of images into an .SPA file. Important Note: You must add .bytes onto the end of any .spa file in your Resources folder, otherwise it won't work! (e.g. countdown.spa.bytes). More...
 
class  SPACharacter
 Used when an SPA is acting as a bitmap font. Holds info for a particular character. In this case, ID is charcode. More...
 
class  SPAFontMeta
 Use one of these when creating a bitmap font. More...
 
class  SpaFormat
 Represents the SPA animation format. More...
 
class  SPAInstance
 A single instance of an SPA animation. It's instanced like this so that the same animation can be played back multiple times at once; the instance keeps track of which frame the animation is currently at. More...
 
class  SPAMapEntry
 
class  SPAReader
 Manages loading binary data from an SPA file. More...
 
class  SPASprite
 Represents a single sprite in an SPA animation. Note that a single sprite isn't always a single frame; one sprite can contain multiple frames itself. The frames are stored on the sprite from top to bottom, left to right. I.e. The first frame is in the top left corner; the next is below it. If there is no more height left, the next frame is at the top again but one column further right. More...
 

Delegates

delegate void Spa.OnSPAProgress ( int  frameID,
SPAInstance  instance 
)

A callback which can be used to get notified each frame.