GrapeSodaGames / Multiplayer

0 stars 0 forks source link

LobbyPlayer is not updating when player changes color or ready #129

Closed zaphodb2002 closed 4 months ago

zaphodb2002 commented 4 months ago

I probably broke this. The info is being correctly shared across the clients, but the ui is not updating appropriately. Also, the local player is not initially set as its random color.

zaphodb2002 commented 4 months ago

I've fixed the issue with the local player's color not correctly updating in the ui, and I can confirm that the server is correctly sharing the info with the clients. I also made the ui correctly update the game.player_info() instead of the Server player record.

What needs to happen next is some kind of change detection to make sure that the game.player_info() keeps in sync with the server's record.

zaphodb2002 commented 4 months ago

I think this is going to be its own issue to create the sync functionality. I'll go make that and reference this issue.