How can I apply a timer count down in Cocos2D and the score counter that both will be display on the screen?
I am still new to this
Please help me out
Thanks a lot
cocos2d-iphoneiphoneobjective c
How can I apply a timer count down in Cocos2D and the score counter that both will be display on the screen?
I am still new to this
Please help me out
Thanks a lot
Best Answer
You should have a look into the Timer class. Here is a link to the Timer class overview - cocos2d for iPhone 0.8.2. You won't need to implement one directly (but indirectly), but its good to know how it works.
For displaying the actual counter in the screen using cocos2d, have a look at LabelAtlas. Here is a link to LabelAtlas class overview - cocos2d for iPhone 0.8.2
Have a look at the cocos2d examples for AtlasSprites (and for LabelAtlas) to see how to implement the image you need to support the class.