Hibernate Rejection

j75j75 Member, PRO Posts: 235
edited November 2014 in Working with GS (Mac)

Amazon rejected my app due to game sounds continuing even while hibernating.

I added a rule that when hibernate, change scene to, "home" but it still does the same thing.

I tried also submitting with a pause behavior on hibernate but no dice. Any suggestions?

Comments

  • BBEnkBBEnk Member Posts: 1,764

    I assume this is a looping sound, first make sure you imported as music and in the hibernate put in a pause music and in the other section put un-pause game, and I would have this in a separate actor on ever scene.

    This worked for me.

  • mc99093mc99093 Member, PRO Posts: 133

    Make a boolean - when device hibernates it pauses the music and when it leaves hibernation it resumes the music

  • j75j75 Member, PRO Posts: 235

    Thanks @BBenk and @mc99093. It's actually not a bg loop, it's a sound an actor makes while moving. It moves for like 5 seconds and makes a noise when it is in motion. The reviewer happened to hibernate the game while the actor was moving and that is where my issue is.

    It actually seems to only activate the hibernate function when the game is resumed. After coming out of hibernation (while still making noise) this is when the game decides to run the hibernate function and go to the home screen. However, when pressing play again after this hibernation, the game resumes where it left off and and is frozen, sound still playing

    If I can't get it figured out, I think I will try getting rid of the sound while the actor is moving for the Amazon build. Create a fake home screen to hibernate to that will automatically reset game and go to the real home screen ????

  • mc99093mc99093 Member, PRO Posts: 133

    Check to see if you have the sound behavior set to "run to completion" try turning that off. That may fix the problem.

  • j75j75 Member, PRO Posts: 235

    @mc99093 said:
    Check to see if you have the sound behavior set to "run to completion" try turning that off. That may fix the problem.

    Thanks. Trying that now.

  • j75j75 Member, PRO Posts: 235
    edited November 2014

    Turns out I didn't have run to completion checked off. I made the custom hibernation page that automatically resets game. I also threw in a rule to turn off the moving actor sound attribute. Will report on the outcome.

  • BBEnkBBEnk Member Posts: 1,764

    What can happen is when you leave game it keeps running in background and when you start game up again it doesn't resume it starts a new game over the top of old game. theres a bug report for this problem.

    http://bugs.gamesalad.com/show_bug.cgi?id=216

Sign In or Register to comment.