Game paused when change tab

Hi all,

today I got a problem in cocos2d html5 version on web

my game will paused when I change the page tab at browser.

I had to search so many solutions but all solution is old solution, not for cocos2d html5 v3.10.

And I also mark the CCBoot.js _initEvents function() all about the HIDE & SHOW event event and callback function

but it still doesn’t work.

Somebody help.

thx

me too…
help me @pandamicro

up , help me @pandamicro

You should change framerate to any number different than 60 :smiley:

in cc.game.onStart = function(){};
i already put cc.game.setFrameRate(59);
the fps already changing to 59 fps but my animation still pausing when tab or inactive.
i’m using cocos2d html5 v3.10 library.