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 GameScene

As we're going to work on this project for some time, let's keep everything clean and tidy by performing the following steps:

  1. First of all, let's remove the following files as we won't need them:
    • HelloWorldScene.h
    • HelloWorldScene.m
    • IntroScene.h
    • IntroScene.m
  2. We'll use groups to separate our classes. This will allow us to keep things organized. To create a group in Xcode, you should right-click on the root project folder in Xcode, Cocohunt in our case, and select the New Group menu option (command + alt + N). Refer to the following sceenshot:
    Time for action – creating GameScene

    Creating a new group

  3. Go ahead and create a new group and name it Scenes. After ...

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