美文网首页
Rolling Piglet-Get candy

Rolling Piglet-Get candy

作者: 草鸡小脑斧 | 来源:发表于2018-07-04 19:35 被阅读0次

    The cute little pig wants to collect all the stars to eat candy. In the game, the pigs can be deformed at will.,Can you help it eat the candy you love to get all the stars and successfully pass? Try your best to win the game! Friends come and challenge it!

    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 show can be.

    相关文章

      网友评论

          本文标题:Rolling Piglet-Get candy

          本文链接:https://www.haomeiwen.com/subject/vasyuftx.html