Heaven of all working Codes
April 28, 2012 / Box2D, Cocos2D, iPhone, Objective-C
For pausing a cocos2D game, then use the following line of code.
[[CCDirector sharedDirector] pause];
For resuming a cocos2D game, then use this line of code.
[[CCDirector sharedDirector] resume];
Tags: Game, Pause C, Resume
Your email address will not be published. Required fields are marked *
Your Name *
Your Email *
Theme by HermesThemes
Copyright © 2018 CoderzHeaven. All Rights Reserved