Hello,
The description of the “spriteLocation” is wrong for the fields “height”, “width”, “spriteHeight” and “spriteWidth” :
> “spriteLocation”: {
> // A reference to an image that contains all the sprites.
> “spriteSheetUri”: “string”,
> // The X coordinate where the top-left corner of the sprite is located.
> “left”: “int”,
> // The Y coordinate where the top-left corner of the sprite is located.
> “top”: “int”,
> // The width of the full sprite sheet (in pixels). The dimensions of the full sheet
> // are included so that the sheet can be resized.
> “width”: “int”,
> // The height of the full sprite sheet (in pixels). The dimensions of the full
> // sheet are included so that the sheet can be resized.
> “height”: “int”,
> // The width of this sprite (in pixels).
> “spriteWidth”: “int”,
> // The height of this sprite (in pixels).
> “spriteHeight”: "int"
> }
“spriteHeight” and “spriteWitdh” actually represent the dimmensions of the full sprite sheet instead of “width” and “height”. The descriptions are swaped.
Cheers.