Creates a SpriteSheet for an animation for instance.
sht = gfx.CreateSpriteSheet(
file,
callback )
→
game object: SpriteSheet
See Also: CreateSprite
Properties
The following properties are available on the SpriteSheet object:
all types
String
String: path to file ( “/absolute/...” or “relative/...” )
function()
sht.data
An object for saving individual extra properties.
sht.loaded
indicates if the sheet is already loaded.