Hibernate Rejection
j75
Member, PRO Posts: 235
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
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.
Make a boolean - when device hibernates it pauses the music and when it leaves hibernation it resumes the music
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 ????
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.
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.
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