Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-blocking sockets causing problems #2

Open
pbogre opened this issue Oct 24, 2022 · 0 comments
Open

Non-blocking sockets causing problems #2

pbogre opened this issue Oct 24, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@pbogre
Copy link
Owner

pbogre commented Oct 24, 2022

Non-blocking sockets are alright and from what I've tested they make the game a lot smoother with no jittering of the ball, but it can lead to desync in the game. A possible reason for this might be that when the ball "respawns" in the middle, I haven't handled that in the code so the two clients become desynced.

For now, the last working commit was "improved movement"

@pbogre pbogre added the bug Something isn't working label Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant