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
Next revisionBoth sides next revision
tile [2021/11/05 19:54] justintile [2021/11/05 19:55] justin
Line 17: Line 17:
 |<tile>.property["x"]|Custom property stored on the tile, where "x" is a [[string]] containing the name of the property. This can be used to either retrieve or change the property's value.| |<tile>.property["x"]|Custom property stored on the tile, where "x" is a [[string]] containing the name of the property. This can be used to either retrieve or change the property's value.|
 |<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, it 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>.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>.terrain_type|[[terrain_types|Terrain type]] assigned to the tile (as a [[string]], or null if none is assigned).| |<tile>.terrain_type|[[terrain_types|Terrain type]] assigned to the tile (as a [[string]], or null if none is assigned).|
tile.txt · Last modified: 2024/03/14 09:44 by justin