2D Player Animation (part 1)

Creating the Idle animation for the player

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.

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

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

Recommended from Medium

How to create&build a Docker image

Machine Learning Model on Container

10 Essential Things you should know to Start your Open Source Journey: Beginner’s Guide

Pull Request WorkFlow

Stop Doing These In JavaScript

The Journey of my AWS Developer Associate Certification Exam and how I managed to crack it

EC2 ImageBuilder: Copy new AMI(s) to another account.

Where to start when learning to code?

Small cacti supporting two books, one HTML & CSS and second JavaScript and JQuery

Using New Relic with Docker for Monitoring .NET Core Applications

Location of NR license key in New Relic Account Settings.

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 Truong

Simon Truong

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

More from Medium

2D Player Animation (part 3)

Creating An fbx Emission Layer For Unity Using Photoshop & Blender

Unity Animation System Part 2

Camera plugin for Unity