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 game level with physics


Let's start by creating a new level in our game. To do this, we'll need to add one more scene to the project and add some resources that we're going to use in this scene. Perform the following steps:

  1. Open the Cocohunt Xcode project and create a new group in Resources group called PhysicsLevel.

    Note

    You can continue adding code to the project you have after completing the previous chapter or take the final project of the previous chapter from the book's supporting files in the Chapter_09/Cocohunt_09_Final folder and use it as a starter project.

    You can download book's supporting files from www.packtpub.com/support.

  2. Then, open the book's supporting files from the Chapter_10/Assets/PhysicsSpritesheet/result folder and add the .png and .plist files in the PhysicsLevel group. These are the two spritesheets (Retina and non-Retina) that contain all the sprites we're going to use in this chapter.

    Note

    The .tps files are the TexturePacker project files...