reset app when home button pressed

kidwithoutradiokidwithoutradio Member Posts: 56
edited November 2012 in Working with GS (Mac)
on an iPad... or perform an action, such as pause when its pressed.. is this possible?

Comments

  • famekraftsfamekrafts Member, BASIC Posts: 834
    Every scene gets reset every time you reload, what exactly you want to reset? For example I have 90 stages in my game. If I want the stages to reset, I will make n attribute unlock which keeps track of how many stages are unlocked while plying game, if u press menu button, it will be turned back to one thus locking all stages. So any complete reset needs to be done through attributes or tables.
  • kidwithoutradiokidwithoutradio Member Posts: 56
    hey thanks for responding!! when i test my adhoc, i hit the home button on the ipad, the scene is never reset if i hit the home button again a minute later..
  • kidwithoutradiokidwithoutradio Member Posts: 56
    I've seen this question asked a good number of times.. Does anyone know the answer?
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    in gamesalad you have no access to any actions outside of the game, so you can't tell it to do anything based on buttons pushed.
  • kidwithoutradiokidwithoutradio Member Posts: 56
    edited November 2012
    hey thanks jonmulcahy, so none of the game salad games being made either pause, or reset when the home button is pressed like just about every other app does?
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    They suspend if the home button is pushed, and resume when relaunched. If enough time has passed the app closes in the background.
Sign In or Register to comment.