Connect lights-Rotating line

In the game, the player needs to carefully observe the position of each lamp and the position of the switch, and start thinking about how to turn on the switch so that all the lights are lit up.

One level is more challenging than one level, with a total of 5 levels of difficulty, 10 levels for each level of difficulty, allowing players to challenge their limits step by ste

Level Selection Controller (WNXSelectStageViewController)

The level selection controller UIScrollView realize scrollWizard into 24 WNXStageListView (of course, you can also create their own cache pool reuse, personally feel that no need), each WNXStageListView has a corresponding level information model stageModel, the model attributes from the project -> Resources-> Plist-> stages.plist file to read, according to the member variables in the model, load the level corresponding to the information, such as level pictures, whether to unlock, the player's history score and rank markers.

Each WNXStageListView, according to the ID set a different Tag, and provides the click gesture in the stageView click event. Call the navigation controller, Push to the WNXPrepareViewController controller, and select the stageModel as an argument to pass, WNXPrepareViewController to make the appropriate The display can be.

你可能感兴趣的:(Connect lights-Rotating line)