Hi!
I copied the code from the sceneTest to pause my game.
But i am having a problem:
if i pause my game by touching a button i am showing an uialert (and pausing the director)to let the user press a button to dismiss it and resume the director.
I implemented the applicationWillResignActive and DidbecomeActive in my delegate.
i do any of those it works fine, but if i pause my game, and show a uialert and then (while the game is paused) i receive a call, onBecomeActive, the director will be resumed and the uilalert will be still there...(my game resumes and i don't have control over it)
So.. how do you handle this?
I would like to solve this by asking in the ApplicationDidBecomeActive if game->paused (i have a variable for this already) but i don't know to i could access it from the delegate...
Thanks again!