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 – exploding coconut


We are going to add one more animation that demonstrates more aspects of frame-based animation. For this, we are going to create a new scene that will appear during the start of the game. This scene is what is often called as a splash screen.

  1. Open the Xcode project where we left it in the previous chapter.

    Note

    As always, if you don't have the code after completing the previous chapter, you can find the code in the Chapter_06/Chapter_06_Final folder in the book's supporting files and use it as a starter project.

    You can download book's supporting files by visiting the www.packtpub.com/support page and following the instructions.

  2. Let's add the frames of our animation to our Xcode project. Create a new subgroup in the Resources group and call it ExplodingCoconut.

  3. Open the book's supporting files available in the Chapter_07/Assets/ExplodingCoconut/Animation folder and select all files (command + A). Drag all the images to the ExplodingCoconut group in Xcode and...