O'Reilly logo

Unity 4 Game Development HOTSHOT by Jate Wittayabundit

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a 2D character and animation

In this step, we will start with setting up our sprites. Next, we will create our 2D character from the sprite sheet in our SimplePlatform package. Then, we will create the animator controller and the animation clip for idle, walking, falling, and jumping.

Prepare for lift off

Let's begin with setting up our character from the sprite sheet:

  1. Now, we will go to SimplePlatform | Resources | Sprites | Characters and click on the Spritesheet file inside this folder in the Project view. Then, we will go to the Inspector view, set it as shown the following screenshot, and click on Apply:
    Prepare for lift off
  2. In the Inspector view, we click ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required