You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This topic http://www.html5gamedevs.com/topic/7178-detect-visibility-change-without-pause/
made me wonder. Is there a specific reason that the onBlur and onFocus events can't be dispatched without dispatching the game.gamePaused event?
If not, shouldn't be a good addition for a method that can set if the game will pause when it loses focus?
for example :
focusLoss: function (event) {
this.onBlur.dispatch(event);
if (shouldPause){
this.gamePaused(event);
}
},
I offered him a bad patch to let him do his job for now.
Maybe there is something i'm missing and this can already happen.
The text was updated successfully, but these errors were encountered:
This topic http://www.html5gamedevs.com/topic/7178-detect-visibility-change-without-pause/
made me wonder. Is there a specific reason that the onBlur and onFocus events can't be dispatched without dispatching the game.gamePaused event?
If not, shouldn't be a good addition for a method that can set if the game will pause when it loses focus?
for example :
focusLoss: function (event) {
},
I offered him a bad patch to let him do his job for now.
Maybe there is something i'm missing and this can already happen.
The text was updated successfully, but these errors were encountered: