Friday, 15 June 2012

objective c - Cocos 2d game pause when home button clicked takes time -


I am blocking my game when Home button is clicked using application representative application WillResignActive method breaks right Works, but it seems that the break takes some time.When I start the game again, the player takes some distance

But if I click on the pause button available in the game to play the game If I stop it works fine.

The problem occurs when the Home button is pressed, please help me with it.

Thanks in advance.

This may be the reason that the main thread is still when you press the Home button and time Is executed between applicationWillResignActive applies

No comments:

Post a Comment