Pausing a Game

Theoretically, in order to pause a game I would need to pause physics, all timers, and all transitions. I see no API documented to pause transitions. I do see some shared code that attempts to solve this issue.

Is there anything close to release that would solve this issue (or is it already solved) ? If not, which of the many shared code solutions out there is the most mature (reliable/free of bugs) ?

Thanks. [import]uid: 36054 topic_id: 18609 reply_id: 318609[/import]

unfortunately we still dont see official pause function
its kinda sad [import]uid: 16142 topic_id: 18609 reply_id: 71457[/import]

I created a pause function the hard way by basically saving out to a file the entire current state of my game, so all scores, times, points, positions etc so they weren’t lost then I had complete control of returning to any game menus to adjust sounds etc and then going back into the game exactly where you left off… It probably isn’t very elegant but thats how I did it :slight_smile:

[import]uid: 33866 topic_id: 18609 reply_id: 71468[/import]

I personally prefer to write my own pause function; there’s some great sample code but if you can keep track of your own code it just seems to work better at the end of the day. (Plus if you get an error you can usually fix it fast without digging through someone else’s code ;))

Just my two cents.

Peach :slight_smile: [import]uid: 52491 topic_id: 18609 reply_id: 71515[/import]