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

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.