User Tools

Site Tools


tile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
tile [2023/03/23 19:21] justintile [2024/03/14 09:42] justin
Line 19: Line 19:
 |<tile>.model|Name of the tile's model (e.g. "grass").| |<tile>.model|Name of the tile's model (e.g. "grass").|
 |<tile>.frame|Current [[animation]] frame (as a [[number]], with the first frame being 1). This can be used to either retrieve or change the model's current frame. If this property is changed and an [[animation]] is playing, the [[animation]] will first be stopped.| |<tile>.frame|Current [[animation]] frame (as a [[number]], with the first frame being 1). This can be used to either retrieve or change the model's current frame. If this property is changed and an [[animation]] is playing, the [[animation]] will first be stopped.|
 +|<tile>.animation|Name of the animation currently playing for this tile (as a [[string]]). Value will be null if no animation is playing.|
 |<tile>.animations|An [[array]] of [[animation]] names defined for this tile. The names will be [[string]] values.| |<tile>.animations|An [[array]] of [[animation]] names defined for this tile. The names will be [[string]] values.|
 |<tile>.attach_points|An [[array]] of [[attach_points|attach point]] names defined for this tile (across all [[animation]] frames). The names will be [[string]] values. The [[array]] will be empty if no [[attach points]] are defined.| |<tile>.attach_points|An [[array]] of [[attach_points|attach point]] names defined for this tile (across all [[animation]] frames). The names will be [[string]] values. The [[array]] will be empty if no [[attach points]] are defined.|
tile.txt · Last modified: 2024/03/14 09:44 by justin