Continue, a main menu feature (iTGB)
by rennie moffat · in iTorque 2D · 04/27/2010 (8:42 am) · 2 replies
I want to build a "continue" feature in my game. Thus I need to set up a global variable that will be triggered, set when the game is exited. This will be easy enough I think when a user hits my "exit game" button. but what about when the user hits the actual devices "exit" button? (iPhone, iPod etc). I have seen many games do this, but I am not sure how/if i can record my current level, sceneGraph etc if this button is hit.
Any insight?
Thanks.
Any insight?
Thanks.
About the author
My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.
#2
anyhow, I posted the same thread in the TGB forum and am getting some good help there.
Thanks.
www.torquepowered.com/community/forums/viewthread/114541
04/27/2010 (11:12 am)
timeScale. I use that for pause.anyhow, I posted the same thread in the TGB forum and am getting some good help there.
Thanks.
www.torquepowered.com/community/forums/viewthread/114541
Torque Owner Scott Wilson-Billing
MeYuMe
//--------------------------------------------------------------------------------------------- // Handles the iphone application system event. //--------------------------------------------------------------------------------------------- function oniPhoneResignActive() { $timeScale = 0; } function oniPhoneBecomeActive() { $timeScale = 1; } function oniPhoneWillTerminate() { }