How to reset the value of NSInterval ?

Posted by srikanth rongali on Stack Overflow See other posts from Stack Overflow or by srikanth rongali
Published on 2010-03-26T08:30:34Z Indexed on 2010/03/26 8:33 UTC
Read the original article Hit count: 332

Filed under:
|

I am writing a small game. After the completion of the game we get the previous screen. So, we can play again. But problem is that the time interval (NSTime Interval)started first time while running game is still continuing. For example the time interval of my touch when I first started game is 3.0 seconds. When again I played (not quitting the application) the time interval is 3.0 seconds + interval till the present touch ?

Hoe can I make it work ? Please help me with solution for my problem.

© Stack Overflow or respective owner

Related posts about cocoa-touch

Related posts about cocos2d-iphone