I am developing an iPhone app using cocos2d and box2d.In this app i require to set a timer.
The timer will show the remaining time in hand of an player to reach destination…
how can i do that…..i have drawn a scene but no sure as i am beginner how to add timer..
thanks
You could use CCTimer.
Just like this:
The method myTimedMethod: will get called then each second.