Home

TileSpriteLayout

Type

struct

Properties

picture

scale

x

Horizontal position of the sprite in the source file in pixels.

y

Vertical position of the sprite in the source file in pixels.

line_length

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.

count

Frame count.