Closed majg0 closed 2 years ago
Hi, thanks for the error report!
I assume that before it crashed, you could "play" for approx. a minute? In that case, it is an issue with the signalling server that has been fixed in this PR. There are some other things to take care of, but I will update the demo to use this newer version of matchbox; probably over the weekend.
@gschup that's right!
If you want me to try it out, we can keep this open and have you leave me a comment when it's ready to test. Otherwise, go ahead and close this at your will :)
Good job on this, cool stuff! 👍🏼
@majg0 A tad late, but the problem should be fixed. I would be very grateful if you could try again :)
No crash! Great, solved!
Just FYI, more a problem with the demo integration I assume but if you disconnect while rotating, the other player will forever see you rotate: it says in the status that you're disconnected so probably it's just a matter of updating the game state upon disconnect etc. This is more of a design question than a bug, for sure. Not clear what should happen. Can one reconnect though? That would be cool!
Just saw the other issue, free to ignore! 👍🏼 Keep it up!
the player spinning when disconnected is by design. I wanted to showcase that ggrs is able to detect disconnects and that your game logic can handle disconnected players (for example by letting some bot take over). Maybe I need to improve the visuals for that :)
Haha oh really! Yeah it wasn't clear. Maybe "pump" the size of it, scaling up and down. Probably quite annoying to implement if you don't have existing infrastructure for doing that kind of thing though. Maybe just fade the color a bit? Definitely not a deal breaker anyway.
Sorry to burst the issue template; wanted to get this out to you anyway.
Ran the demo in two chrome on the same macos, one of which was incognito.
Here are the browser logs.
One
Other