O'Reilly logo

Unity 3 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

In this step, we will create our 2D character and material, which will contain our 2D character sprite sheet from our Chapter1 package folder. We will have our character act out three different types of animation: staying, walking, and jumping.

Prepare for Lift Off

Let's make sure that we have all the sprites we need in the project folder:

  1. Go to Chapter1/Characters where you will see three subfolders, Jump, Stay, and Walk.
  2. Open the jump folder. We will see the files J_Frame1.png, J_Frame2.png, and J_Frame3.png. Next, open the Stay folder, we will see the s_set.png file. Then, open the last folder Walk, we will see the w_set.png file as shown in the following screenshot:

Now, we are ready to get started.

Engage Thrusters

Since ...

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