Back

CreateSpriteSheet

Hello World
Content:
- Methods

Creates a SpriteSheet for an animation for instance.

sht = gfx.CreateSpriteSheet( file, callback ) → game object: SpriteSheet

See Also: CreateSprite

Methods

The following methods are available on the SpriteSheet object:

dataObject
String: path to file ( “/absolute/...” or “relative/...” )
function()
An object for saving individual extra properties.
indicates if the sheet is already loaded.