阅读背景:

如何使用cocos2d中的警报视图重新启动游戏场景

来源:互联网 

I am trying to the restart the same level of the game once it is completed. I am using alert view to display at the time of Finish. I'm using 2 buttons in AlertView (End and PlayAgain). Once end is touched it should end that is working fine. The problem is once playAgain is touched The AlertView is displayed once again but i need to restart the game. The code for button index of AlertView is as shown below.I am trying to the restart the same level of th




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: