How Do I Make The Hibernate Rule More Responsive?

uhyanauhyana Member Posts: 36
edited May 2012 in Working with GS (Mac)
I have a game that spawn actors random and you must touch them before they fall. I used a hibernate rule saying, when device is in hibernate, pause game to the pause scene. In ad hoc mode when you exit of of the game while playing or answer a text message and then go back to the game it is paused, but when you resume game it spawns like 10 actors at once. It's like the game is taking too long to pause. Does anyone know how to make the hibernate rule pause the game faster?

Answers

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    the hibernate rule is just for the nook, i don't think it's meant to be used how you are using it.
  • uhyanauhyana Member Posts: 36
    @jonmulcahy

    What do you mean just for the nook?
  • EatingMyHatEatingMyHat Member Posts: 1,246
    edited May 2012
    sounds like the rule is working for you in iOS... interesting.

    What @jonmucahy means is that this rule was built only for nook, it is not really supported on iOS or other Android devices. Having it for iOS will be great, but I think that right now it is not built for it (hence your issues...).



    Follow Eating My Hat on Facebook, Twitter and our Blog
    Check out my templates in the GS Marketplace or at the store
  • uhyanauhyana Member Posts: 36
    Ok well despite that it's not meant for iOS tshirtbooth told me to use it to pause the game when you leave the app. I found a way to fix the spawning actors and also to make sure that it doesn't pause the pause screen which will happen if you exit out while it's already paused. It's like a pause within a pause. But if you make enough rules you can get around it.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    You shouldnt do a pause within a pause. That can create a infinite loop that you cant get out of.
  • uhyanauhyana Member Posts: 36
    @JohnPapiomitis

    I know. I was saying that that was happening to me with this hibernate pause rule. If you exit out, come back, it will be paused. If you exit out again, from that pause screen, come back, it will be a pause within a pause and you can't do anything. With a little toying around I was able to fix it.
  • JustMe74JustMe74 Member, PRO Posts: 542
    I implemented this in my iOS game too. What it seems to do is suspend the game like normal if you press the home button (GS does this automatically). However, when you go back into the game, it activates your hibernate behavior.
  • LeanneLeanne Member Posts: 168
    I implemented this in my iOS game too. What it seems to do is suspend the game like normal if you press the home button (GS does this automatically). However, when you go back into the game, it activates your hibernate behavior.
    when you exit and re-enter multiple times, using the hibernate behaviour, does your game crash? looking for a work around...

    mine crashes and i'm wondering if the game is reloading in the background eventhough it appears to be following the hibernate behaviour on the screen...
  • JustMe74JustMe74 Member, PRO Posts: 542

    when you exit and re-enter multiple times, using the hibernate behaviour, does your game crash? looking for a work around...

    mine crashes and i'm wondering if the game is reloading in the background eventhough it appears to be following the hibernate behaviour on the screen...
    No - it works fine on iOS. On Android (posted a separate topic about this, no answers) it causes the camera position to move.


Sign In or Register to comment.