Animated Tilesets in Unity

How to set up animated tilesets in Unity!

First, we need to download the 2D Tilemap Extras package from Unity. It contains unique brushes and tiles that have specific features. And one of them is the ability to create an animated Tile!

You can download it via Unity’s Github if you have an older version of Unity below 2020. Click on “Code” to the top right of the page and select Download Zip.

If your project is using a version of Unity above 2020, you can download it via the Package Manager. Before you go looking in there, you need to go to “Edit > Project Settings > Package Manager” and check “Enable Preview Packages.” It will allow us to see packages that were hidden from us! But for a good reason.

With the 2D Tilemap Extras installed, we can start animating our tiles!

To create an animated tile, right-click on Project panel: Create > 2D > Tiles > Animated Tile.

Name the tile whatever your animated tile will be. In my case, a waterfall.

In the inspector, we can drag and drop our waterfall tileset below the “Number of Animated Sprite.

My waterfall tile has 30 frames, so we need to make sure we set the minimum speed to 30 frames per second.

Create a new Tilemap palette and name it “Waterfalls.” Drag the animated tile to the palette window.

We can now paint waterfalls to our scene!

Having animated tiles placed in the environment adds life to the world! Consider having animated tiles where needed, but do not overdo it either.

Gabriel

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store