LoadSkeleton2DFromSpriterFile

Description

Loads a Spriter animation exported in the JSON format. Please see the guide section for details on what is supported. Returns an ID to use to reference this skeleton. The atlas image parameter is not yet supported and must be 0, the images will be loaded from the paths specified in the Spriter JSON file. You can use the scale value to change the size of the sprites and bones to match your chosen resolution. A value of 1 will not change the sizes, a value of 2 will make everything twice as big, a value of 0.5 will half the size, and so on.

Definition

integer LoadSkeleton2DFromSpriterFile( filename, scale, atlasImage )

LoadSkeleton2DFromSpriterFile( iSkeleton, filename, scale, atlasImage )

Parameters