Animated Tile Sets in Unity

Objective: Set up an animated Tile Set

The above image is a sprite sheet for an animated waterfall. In order to set this up (Unity 2020 as version setup varies) we need to get the Unity 2D extras from the Unity Github.

As you can see above the Unity version will determine which branch of the project to use. The 2020.3 branch is needed for the projects setup and environment. Once downloaded, import the assets into the project. You can just pull/drag the extracted download into the project window and Unity will do the hard work.

Next slice the sprite object using what we did in the previous post. Once sliced, we need to create an animate tile show below.

Name it appropriately and place it in a folder to keep things clean in the hierarchy. Open the animated tile and tell it how many sprites(Our sprite sheet has 30) or drag the sprite sheet into the drop box shown below.

Next we need to create a palette for the waterfall tiles which we can then drag the waterfall tiles into. Here you can adjust how fast the animation plays. Go to the bottom of the sprites and change the minimum and maximum speeds to suit.

Above is the scene before the animated waterfall and below with the animated waterfall.

--

--

--

Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to rename a Git branch locally and remotely

Why You Should Stop Using VLOOKUP

How to scale a sales team and reduce sales churn (ft. Chris De Vylder, CRO @ Sentry.io)

Why we prefer Espresso to Appium?

I hate programming, and you should too.

Senior projects can’t be too bad, right? (Part 1)

Why you should attend GraphQL Asia 2019

Packaging 93K Levels

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
Simon Leen

Simon Leen

Developer

More from Medium

Simple Player Movement in Unity

I think you dropped something — Creating a simple loot drop system in Unity2D

Adding a health powerup to our prototype

Unity Interface Layout