Multitasking, how to make app reset
The_Gamesalad_Guru
Member Posts: 9,922
Greetings all,
Does anyone know how to make a game reset when you back out of it by hitting the home button on the device? I want my game to restart and not stay static by multitasking in the background.
Thanx
D
Does anyone know how to make a game reset when you back out of it by hitting the home button on the device? I want my game to restart and not stay static by multitasking in the background.
Thanx
D
Comments
Rule; when touch is pressed & inside then reset game.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
I see this a lot with the projects I help ppl with. so I want to help clarify things for everyone that doesn't know.
"When touch is pressed" means touch is pressed inside the actor. there is no reason to add the inside condition to your rules for basic presses. you are just adding an extra condition for the engine to check for and probably adding a minuscule amount of memory usage to the game engine.
"When touch is inside" simply means any time the touch moves inside the actor. so either the touch can press on an actor or the touch can swipe inside the actor. either will trigger that condition. but if you only want a press on the actor to trigger it then you only need "touch is pressed "
I feel like im starting to ramble on so i'll cut it off here.
Hopefully this helps some of you guys.
Aaron
___________________________________________________________________________________
TEMPLATES AND PROJECT HELP BY TENRDRMER. CLICK HERE!!!
AppSolute Entertainment on Facebook
AppSolute Entertainment on iTunes