Player animations - Part 1 (Creating player animations)

2D Game Design with Unity

🕑 This lesson will take about 11 minutes

In this lesson, you will learn how to create 2D animations for your player GameObject in Unity. In this lesson, we will cover how to use individual image files (sprites) for each frame of a player animation, how to splice and use sprite sheets for a player animation, and how to create each animation (eg. idle, walk, jump) on the timeline using the Animation panel in Unity. In the next two lessons, we will also look at how to configure the animations in the Animator and control them with C# code.

These are the three steps involved in creating player animations:

  1. Create each of the player animations (this lesson)

  2. Configure the animations in the Animator

  3. Control when the animations play with C# code

Game art, tiles and sprites from the Free Pixel Space Platform pack are used in this lesson video and can be downloaded from the Unity Asset Store.

Is YouTube blocked at school? Watch on Google Drive.

Next lesson: Player animations - Part 2 (Setting up the Animator)