Hibernate Bug on Android
I have a behavior on every scene to handle the Hibernate function. If the device goes into Hibernate mode, my pause screen is loaded.
If I am in a level and I push my "Pause" button, the pause scene loads and it works fine. If I am in a level and I push the power button (Kindle Fire) and then go back to the game, it also fires the pause scene... BUT... when the pause scene is closed, the camera is not in the correct position. I have some off-screen actors above the game board, and it looks like it's moving the camera up, because I can see the bottom of one of the windows that should be off the screen.
Any idea how I can fix this?
If I am in a level and I push my "Pause" button, the pause scene loads and it works fine. If I am in a level and I push the power button (Kindle Fire) and then go back to the game, it also fires the pause scene... BUT... when the pause scene is closed, the camera is not in the correct position. I have some off-screen actors above the game board, and it looks like it's moving the camera up, because I can see the bottom of one of the windows that should be off the screen.
Any idea how I can fix this?
Answers
My app was rejected by Amazon for not having it on one scene.
Unfortunately, that didn't work either.