Why is the application not starting from top...

Posted by user536213 on Stack Overflow See other posts from Stack Overflow or by user536213
Published on 2010-12-27T11:50:22Z Indexed on 2010/12/27 11:54 UTC
Read the original article Hit count: 140

Filed under:

i have created iphone game.When i pause the game using pause button i quit cliking quit button...

Now when i start the game again ..the previous counter i created using this code...

[NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(updateTimerFunc) userInfo:nil repeats:YES];

the timer is 100 sec and moves to zero...now it start giving the difference of twwo ,,98,96,94

if i quit the game again ans start this time the difference will become of 4 96,92 ...its keep on increasing ....what is this issue?

kindly help

© Stack Overflow or respective owner

Related posts about cocos2d-iphone