Hello... I would like to know how to make my application continue working when it is not in the foreground in chrome in html5.
I can't find a way to keep it running when I switch tabs or minimize the browser.
Thanks!
Develop games in your browser. Powerful, performant & highly capable.
This is one of the bigger inherent limitations of html5.
The workaround is to check time passed on resumed, and catch up the simulation accordingly.
Thanks for the clarification...Could you give me a small example? I can't get it...