Book Image

Learning iPhone Game Development with Cocos2D 3.0

By : Kirill Muzykov
Book Image

Learning iPhone Game Development with Cocos2D 3.0

By: Kirill Muzykov

Overview of this book

Table of Contents (19 chapters)
Learning iPhone Game Development with Cocos2D 3.0
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – creating a spritesheet


Let's create our first spritesheet that will contain all of the images that we've used before and the new images that we'll be using very soon as follows:

  1. Of course, before we create spritesheet, we need to install TexturePacker. Visit http://www.codeandweb.com/texturepacker/download and download the latest version of TexturePacker.

  2. When the download completes, open the downloaded .dmg file and it will mount a new drive called TexturePacker. It should open in Finder straight away.

  3. Drag the TexturePacker.app in the Applications shortcut and you have TexturePacker installed. Now, we're ready to create the spritesheet itself.

  4. Open the TexturePacker application (by navigating to Applications | TexturePacker.app). It will create a blank project at the start.

  5. Open the book's supporting files at the Chapter_04/Assets/Spritesheet/hd folder in Finder. This folder contains the Retina version of the images that we're going to use in our game. We're going to generate...