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:
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.
When the download completes, open the downloaded
.dmg
file and it will mount a new drive calledTexturePacker
. It should open inFinder
straight away.Drag the
TexturePacker.app
in theApplications
shortcut and you have TexturePacker installed. Now, we're ready to create the spritesheet itself.Open the TexturePacker application (by navigating to Applications | TexturePacker.app). It will create a blank project at the start.
Open the book's supporting files at the
Chapter_04/Assets/Spritesheet/hd
folder inFinder
. This folder contains the Retina version of the images that we're going to use in our game. We're going to generate...