fbaiodias / phaser-multiplayer-game

:video_game: Simple real-time multiplayer phaser game example which uses node and websockets.
https://phaser-multiplayer-game.herokuapp.com/
304 stars 80 forks source link

How to kill player when tab is not active? #16

Open Bomberworld opened 5 years ago

Bomberworld commented 5 years ago

I've a question:

How can I make sure that the client can be killed when switched to another tab?

https://github.com/Bomberworld/BMWBeta/issues/4

Would love to see a solution for this.