Singularity/Library/PackageCache/com.unity.2d.tilemap.extras.../Documentation~/AnimatedTile.md
2024-05-06 11:45:45 -07:00

2.0 KiB
Raw Permalink Blame History

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 Tiles 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.

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.