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 – pushing AboutScene


Imagine that you have just finished the game and are about to release it. I am sure you want to tell the world something about yourself or your game studio, give a link to your website, and so on. Even if you don't want a lot of attention, putting a link to your website with information about your other games is a good idea from the marketing point of view. In this way, players can discover your other games or applications.

You can do all of this in AboutScene, so we are going to add one:

  1. First, we are going to add some images to the project. Create a new group in the Resources group and call it About. Open the book's supporting files available in Chapter_09/Assets/About and add all images to the About group in the Xcode project.

  2. Create a new scene called AboutScene in the Scenes group.

  3. Open the AboutScene.m file and import the following headers:

    #import "cocos2d.h"
    #import "cocos2d-ui.h"
    #import "MenuScene.h"
  4. Then, add the init method, which calls the methods...