Game Development Reference
In-Depth Information
You can open the file CanonShowPartII-step3.gameproj located in the folder
Chapter7_Files.
Adding a Cool Menu
In the last section of this chapter, you will create a very cool sliding menu. You
will limit it to three levels, with each level displayed on one page. But you can
have many more levels on a page and as many pages as you want. In addition,
only the first level will be unlocked and you will need to win the level to unlock
the following levels.
Creating the Menu Scene
Create a new scene named ''Menu'' and position it before the Initial Scene, as
shown in Figure 7-37.
Figure 7-37. Menu scene
Double-click the Menu scene to open the Scene Editor.
As you are working on an iPhone Landscape project, the size of the screen is
480 x 320. As you want to have three pages of menu, you will need to change
the width to 1440.
Display the scene attribute and change Width to 1440, as shown in Figure 7-38.
 
Search WWH ::




Custom Search