guy Posted April 4, 2015 Share Posted April 4, 2015 Hi I'm trying to find a reliable way to calculate the time the game is being played and isn't paused. My scenario is that I want to show a "time left" counter on screen but I found out that game.time.now isn't reliable as it's counting even if game.paused is true. thanks Link to comment Share on other sites More sharing options...
BunBunBun Posted April 6, 2015 Share Posted April 6, 2015 try to add this to init function:this.stage.disableVisibilityChange = true; Link to comment Share on other sites More sharing options...
Recommended Posts