GrapeSodaGames / Multiplayer

0 stars 0 forks source link

Sync Server and Game PlayerInfo #135

Closed zaphodb2002 closed 4 months ago

zaphodb2002 commented 4 months ago

Game needs to be able to both get info from the server but also request changes.

zaphodb2002 commented 4 months ago

This was spun off from #129

zaphodb2002 commented 4 months ago

I've got the color thing working now, it correctly syncs between players, but for whatever reason the is_ready value isn't getting sent. Getting there though, if the color works I can fix this.

zaphodb2002 commented 4 months ago

Okay so it was PlayerList.update(), was only looking at the color. Now it does work and both share across the network, but player 2 isn't working correctly. Sometimes, when I click, it is immediately set back to the previous setting, but sometimes not. There are likely two competing sets happening here.

zaphodb2002 commented 4 months ago

Almost done with this. The remaining issue is that the ready button is setting both players to ready for some reason. We are at 4 hours now. I'm gonna take a bit of a break on this and I'll come back and see if this needs to be extended or if we can just make a new ticket for this specific problem.

zaphodb2002 commented 4 months ago

This is gonna take a bit more work. I am extending this to an 8 hour task.

zaphodb2002 commented 4 months ago

I still have not resolved this issue. see #139 and #140 for continuation, gonna close this one as the sync does technically work.