powelli13 / dara-dots

Using Phaser 3 to implement a game idea I have.
MIT License
5 stars 2 forks source link

Player momentarily disappears from Lobby channel presence after joining queue #1

Closed powelli13 closed 3 years ago

powelli13 commented 3 years ago

When a player clicks join queue they will momentarily disappear from the other players lobby presence list. Also a player was able to join the queue against themselves, this should be prevented.

powelli13 commented 3 years ago

Resolved this by changing the lobby_channel to cast when players join rather than call. The player_queue will then dispatch to the Registered processes in the lobby_channel to start the game.