2D Player Animation (part 1)

Creating the Idle animation for the player

Simon Truong
2 min readNov 18, 2021

--

Now that we have our player basic functions down, it is time to add the flare of Animation.

Objective: Add and set up an Idle animation to the player

Player Prep:

First we need to bring out the Animation window in Unity, go to Window > Animation > Animation.

Then we are going to select the Player’s sprite (which is the child of the player game object) and create a new Animation clip.

Player Sprite:

Slice the player idle images into individual cells and drag and drop all the images into the animation window.

If you find that the animation is running to fast, we can slow down the animation by reducing the number of frames per seconds within the “Sample” slot.

When you hit play, by default the player should have automatically played the Idle animation. If the player isn’t playing the Idle animation, bring up the Animator window and double check if the Idle state is “Orange” this should mean that the Idle animation clip is the default state.

--

--

Simon Truong

A Designer, an Illustrator and a massive tech geek aspiring to become a professional Unity Developer.