Used by TilePrototype.
Children |
count | :: uint32 | Frame count. [...] |
Frame count. [...] | ||
picture | :: FileName | |
hr_version optional | :: TileSprite | If this property exists and high resolution sprites are turned on, its contents are used to load the tile sprite. [...] |
If this property exists and high resolution sprites are turned on, its contents are used to load the tile sprite. [...] | ||
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 | :: uint32 | 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 | :: uint32 | Frame count. [...] |
Frame count. [...] | ||
picture | :: FileName | |
hr_version optional | :: TileSprite | If this property exists and high resolution sprites are turned on, its contents are used to load the tile sprite. [...] |
If this property exists and high resolution sprites are turned on, its contents are used to load the tile sprite. [...] | ||
line_length optional | :: uint32 | 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. |
Frame count.
Optional if it is loaded inside of a hr_version
, see that property for more information.
If this property exists and high resolution sprites are turned on, its contents are used to load the tile sprite.
count
in hr_version
has to be either unspecified or the same as for normal resolution definition.
Default: 1
Default: 0
Horizontal position of the sprite in the source file in pixels.
Default: 0
Vertical position of the sprite in the source file in pixels.
Default: 0
Once the specified number of pictures is loaded, other pictures are loaded on other line. This is to allow having longer animations in matrix, to input files with too high width. The game engine limits the width of any input files to 8192px, so it is compatible with most graphics cards. 0 means that all the pictures are in one horizontal line.