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:
First, we are going to add some images to the project. Create a new group in the
Resources
group and call itAbout
. Open the book's supporting files available inChapter_09/Assets/About
and add all images to theAbout
group in the Xcode project.Create a new scene called
AboutScene
in theScenes
group.Open the
AboutScene.m
file and import the following headers:#import "cocos2d.h" #import "cocos2d-ui.h" #import "MenuScene.h"
Then, add the
init
method, which calls the methods...