Quiting the game for the user
by Warthog · in iTorque 2D · 12/30/2010 (3:23 am) · 3 replies
Okay, this hasn't come up yet I don't think.
When the game is over, I want it to quit. Is there any way to force the game to quit without the user pressing the "home" button? Do I have to kill the canvas (and how do I do that)? Is it something else? Can I do this from script?
When the game is over, I want it to quit. Is there any way to force the game to quit without the user pressing the "home" button? Do I have to kill the canvas (and how do I do that)? Is it something else? Can I do this from script?
#2
I've found the multitasking to be more of a hindrance than help. Games start fast enough on the devices where it's officially supported, and there's so much you have to keep track of when making apps from scratch if you also want the multitasking enabled. I blame whiny kids who never coded a damn thing in their lives.
12/30/2010 (5:54 pm)
Quitting the app when the game is over is 1)bloody tedious, and 2)not permitted. If you want the Home button to quit the game, you should check out the UIApplicationExitsOnSuspend flag for the Info.plist. Might be a boolean. Might only need to be present. Use the docs :)I've found the multitasking to be more of a hindrance than help. Games start fast enough on the devices where it's officially supported, and there's so much you have to keep track of when making apps from scratch if you also want the multitasking enabled. I blame whiny kids who never coded a damn thing in their lives.
#3
12/31/2010 (9:50 pm)
Thanks! Okay, I won't be doing that. I'll just move them to a new screen or something. I thought Apple might have a problem with it.
Torque 3D Owner Aun Taraseina