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. [...] | ||
probability optional | :: double | Probability of 1x1 (size = 1) version of tile must be 1. |
Probability of 1x1 (size = 1) version of tile must be 1. | ||
weights optional | :: array[double] |
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. [...] | ||
probability optional | :: double | Probability of 1x1 (size = 1) version of tile must be 1. |
Probability of 1x1 (size = 1) version of tile must be 1. | ||
weights optional | :: array[double] |
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.
Default: 1.0
Probability of 1x1 (size = 1) version of tile must be 1.