Jump to content

clean way to not stop phaser animation when window lose focus


Recommended Posts



I'm experimenting some multiplayer functions with phaser, which I'll share with you if get it working.


but I have a question regarding Phaser.


when a phaser game lose focus, the simulation stops (game is paused).

I assume that this is related to RAF behaviour.


but is there a way to continue game state updates and only pause rendering ? so when the game is focused again it directly draws the actual state ?



for now, I don't want to do the whole simulation in the server side then synchronize with clients ...etc

my goal is to give a simple example on how to start a multiplayer game with phaser.

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...