O'Reilly logo

Learning iPhone Game Development with Cocos2D 3.0 by Kirill Muzykov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required