Inherits from TileSpriteLayout |
size | :: uint32 | Only powers of 2 from 1 to 128 can be used. [...] |
Only powers of 2 from 1 to 128 can be used. [...] |
picture | :: FileName | |
scale optional | :: float | |
x optional | :: SpriteSizeType | Horizontal position of the sprite in the source file in pixels. |
Horizontal position of the sprite in the source file in pixels. | ||
y optional | :: SpriteSizeType | Vertical position of the sprite in the source file in pixels. |
Vertical position of the sprite in the source file in pixels. | ||
line_length optional | :: uint8 | Once the specified number of pictures is loaded, other pictures are loaded on other line. [...] |
Once the specified number of pictures is loaded, other pictures are loaded on other line. [...] | ||
count optional | :: uint8 | Frame count. |
Frame count. |
size | :: uint32 | Only powers of 2 from 1 to 128 can be used. [...] |
Only powers of 2 from 1 to 128 can be used. [...] |
picture | :: FileName | |
count optional | :: uint8 | Frame count. |
Frame count. | ||
line_length optional | :: uint8 | Once the specified number of pictures is loaded, other pictures are loaded on other line. [...] |
Once the specified number of pictures is loaded, other pictures are loaded on other line. [...] | ||
scale optional | :: float | |
x optional | :: SpriteSizeType | Horizontal position of the sprite in the source file in pixels. |
Horizontal position of the sprite in the source file in pixels. | ||
y optional | :: SpriteSizeType | Vertical position of the sprite in the source file in pixels. |
Vertical position of the sprite in the source file in pixels. |
Only powers of 2 from 1 to 128 can be used. Square size of the tile arrangement this sprite is used for. Used to calculate the width
and height
of the sprite which cannot be set directly. (width or height) = size * 32 / scale.