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:
- 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 ...
Get Learning iPhone Game Development with Cocos2D 3.0 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.