LoadSpriteSheet
Description
Loads a spritesheet and returns the ID of it.
Parameters
path
The file path to load the spritesheet from, relative toData/Sprites/
. Spritesheets may ONLY be in GIF format.scope
The asset's scope, may beSCOPE_GLOBAL
orSCOPE_STAGE
.
Return Value
Returns the ID of the loaded spritesheet as a uint16
. The return value will be -1
if the animation file failed to load.