Book Image

Learning Unity iOS Game Development

Book Image

Learning Unity iOS Game Development

Overview of this book

Table of Contents (14 chapters)
Learning Unity iOS Game Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
6
Main Menu, iAds, Leaderboards, Store Purchases, and Achievements
Index

Creating the character


The character will be our representation of what the player is controlling. You can think of it as the "hero" or positive visual character, something the player can identify with their input actions.

  1. To begin with, open Unity and create a new folder in the Project window in the Assets folder:

  2. Name it Character.

  3. In this folder, right-click and select Import New Asset…:

  4. Navigate to the Art folder for this book. You will find a subfolder called CharacterThree_Character.

  5. Open it. In this folder, there is a file named Character_Sheet.png.

  6. Select this file and then click on Open to import the asset into Unity.

This will import the default running sprite sheet that will be used for our character.

Tip

http://opengameart.org/ is a website designed to offer 2D artwork under the creative commons license. If you want to find the art that you can use, manipulate, and distribute freely, this site can be very useful.

  1. Once you have Character_Sheet.png in the Assets folder, select it. Then,...