Hello. I am a new guy. This maybe easy to answer:
I am using System every x second condition to do a count down. I found that when I switch to a different tab, the count down stop. I know this might be a "feature", but I don't want it to stop. How do I do that? Thanks!
Try this ...
Download the example from here
I'm guessing by "tab" you mean layout. To have a timer across layouts, you can use a global object with the Timer behaviour. Have a separate event sheet with the timer code, and include that event sheet on each layout's event sheet.
Hello friends. I am glad so many people help here.
Tab I don't mean layouts. I just click the run button and it shows in firefox. When I switch to another tab in firefox. Or I minimize the firefox browser, the timer stop. Can I let it run when it not visible?
Develop games in your browser. Powerful, performant & highly capable.
found it, look like I can use wallclocktime to implement it. Thanks.
I'm kinda new, but maybe you have 'pause on unfocus' set to yes? this is in the configuration settings for your project - click on the canvas then click 'view' next to project properties
No, it's not that, even i set to no, it will stop when the game is no on foreground.