Dungeon Escape — Moss Giant Animation Setup

Go over how I set up my Moss Giant enemy with their animations

Objective: Start creating enemy AI, starting with the Moss Giant, for my Unity mobile game, Dungeon Escape.

Idle Animation

To start, I created the idle animation for my Moss Giant enemy. To accomplish this, I will be using the following set of sprites shown below.

After splicing my sprites properly, I created an animation clip and animation controller for my Moss Giant enemy. Then, in my Animation window, I drag-and-dropped in the sprites I will be using for my Moss Giant’s idle animation.

This gave me the result we see below.

Walking Animation

Following the idle animation, I went ahead and created the walk animation for my Moss Giant enemy as well. To accomplish this, I followed similar steps to what I did in the previous section to create the Moss Giant’s idle. Once properly set up, I got the result shown below.

The only thing I did differently from the previous section is in my Animator window, I created a trigger called “Idle” and hooked up the logic as to when I would like the idle and walking animations to play.

Coding up this logic will be done in the next article. With that said, thank you for taking the time to read today’s article!




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

Recommended from Medium

Concurrency and parallelism

Understanding lvalues and rvalues in C++ (Part 01)

Network statistics tool Darkstat

Traditional Organization and Agile Organization

The traditional project manager is responsible for the division of specific tasks of team members

Is ElasticSearch Set/Get Eventual Consistent?

Get Chatbot Clients: 3 Ways to Sell Chatbots on a Monthly Retainer

“Agile” Estimations; one way of doing them

Day 9 — Let’s get instantiating in Unity

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
Gabe Gomez

Gabe Gomez

More from Medium

Unity Development — The Resources Folder

Installing the Universal Render Pipeline in Unity 2021.2

Damage VFX Using Animated Sprites In Unity

2D Mobile: Setting Up The Player