Time for action – using more transitions

The cross-fade transition that we used for the AboutScene to appear looks nice, but there are more transitions that come with Cocos2D, and we need to add more scenes to our game. In this section, we are going to add the scene for highscores and for level selection.

Both scenes will be empty for now, but in the next few sections, we are going to fill them with different controls. The HighscoresScene class will display the table with the highest scored points, and the LevelSelectScene class will display a scrollable view where you can select a level to play. Currently, we only have one level, but that is going to change in the next chapter, so we must be prepared. Refer to the following steps:

  1. Open the Xcode ...

Get Learning iPhone Game Development with Cocos2D 3.0 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.