Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Windows / Paused whilst moving window & timer based movement

Lucas Tiridath
AGK Developer
Years of Service
User Offline
Joined: 28th Sep 2008
Location: Kings Langley, UK
Posted: 12th Feb 2012 23:33
Hi. I've noticed that on Windows, when your app is running and you move the window around, the game appears to pause automatically. I don't know if this is also true on Meego and Mac OSX. Anyhow the problem is that because I use timer based movement, when I let go of the window, it makes all the objects jump a long way. This is a problem because it means that they often go straight through walls etc because they are moving too far in one jump. I wondered if anyone knew a way of detecting when the game is being automatically paused in this way so that I can handle the movement timers accordingly or alternatively, whether there is a way to stop this behaviour. Thanks!

Login to post a reply

Server time is: 2020-09-24 03:36:07
Your offset time is: 2020-09-24 03:36:07