一种可行的简单的Scene结构in cocos2d
一种简单可行的scene结构
MainMenuScene
1.CCMenuItemLabel play --> LevelSelectionScene
2.CCMenuItemLabel options --> OptionsScene
3.CCMenuItemLabel exit --> Exit
LevelSelectionScene
1.CCMenuItemLabel level i --> GameiScene
2.CCMenuItemLabel back --> MainMenuScene
OptionsScene
1.CCMenuItemToggle music
2.CCMenuItemToggle sound effect
3.CCMenuItemLabel back --> MainMenuScene
GameiScene
1.win / lose --> LevelCompleteScene
LevelCompleteScene
1.touch --> MainMenuScene