Android Question error when screen shut off

eric Allen

Member
Licensed User
Longtime User
When I lock my screen then come back to my open game (game view) I get errors but if game is not up but is in pause or minimized mode I can lock and unlock screen all I want and have no errors

Is there a way to use a resume and close when screen is locked
 

Peter Simpson

Expert
Licensed User
Longtime User
Please post the error log
 
Upvote 0

eric Allen

Member
Licensed User
Longtime User
It looks like your using a timer. Try setting the timer interval to 1000 or more.
The only timer I have is the game timer for running the game. The others get shut of on a close or pause . and the game timer pauses when game is in close or pause.

Then I resume when game is back on. This all works fine unless I use lock screen or shut off the screen

Can I use a do loop instead like me in DX to run my game or is timer only viable way because I tried do loop and that freezes and is sluggish
 
Upvote 0

RandomCoder

Well-Known Member
Licensed User
Longtime User
The only timer I have is the game timer for running the game. The others get shut of on a close or pause .
So it sounds like your using more than one timer? Is it possible that you have reset the interval on one of these but forgot to disable it?
 
Upvote 0
Top