Animated Tile
Contribution by: MahdiMahzuni
An Animated Tile runs through and displays a list of Sprites in sequence to create a frame-by-frame animation.
Animated Tile editor window
Properties
Property | Function |
---|---|
Number of Animated Sprites | Number of Animated Sprites in the Animated Tile. |
Sprite list | The list displaying the current order of Sprites for this Animated Tile’s animation which plays in sequence. Set a Sprite by selecting the Select button at the bottom right of the Sprite preview, then choosing the Sprite from the dialog box. Select and hold the = next to each Sprite to reorder their place in the animation sequence. |
Minimum Speed | The minimum possible speed at which the Animation of the Tile is played. A speed value will be randomly chosen between the minimum and maximum speed. |
Maximum Speed | The maximum possible speed at which the Animation of the Tile is played. A speed value will be randomly chosen between the minimum and maximum speed. |
Start Time | The starting time of this Animated Tile. This allows you to start the Animation from a particular time. |
Start Frame | The starting frame of this Animated Tile. This allows you to start the Animation from a particular Sprite in the list of Animated Sprites. |
Collider Type | The Collider shape generated by the Tile. |
Flags | The Flags which control the Tile Animation. |
Loop Once | The Tile Animation will loop through once and stop at the last Sprite of the animation. |
Pause Animation | The Tile Animation will pause and not run. |
Update Physics | The Tile Animation will update the Physics Shape in the TilemapCollider2D whenever it switches to the next Sprite in the animation. |
Usage
Create the Animated Tile by selecting and ordering the Sprites that makes up its animation sequence in the Animated Tile editor, then paint the Animated Tile with the Tile Palette tools.
Game view, painted with the Group Brush.