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

Properly handle and smooth client ticks #218

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

hasenbanck
Copy link
Collaborator

@hasenbanck hasenbanck commented Dec 30, 2024

After long experimentation, I finally came to the conclusion that the client needs to properly estimate the client tick based on the round trip time. We then need to gently adjust the local tick rate so that no discolorations occur. We use the Cristian's algorithm for the synchronization itself.

@hasenbanck hasenbanck force-pushed the client_ticks branch 10 times, most recently from 262eab5 to 366549c Compare December 30, 2024 18:54
After long experimentation, I finally came to the conclusion that the client needs to properly estimate the client tick based on the round trip time. We then need to gently adjust the local tick rate so that no discolorations occur. We use the Cristian's algorithm for the synchronization itself.
@hasenbanck hasenbanck merged commit f4279bd into vE5li:main Dec 30, 2024
3 checks passed
@hasenbanck hasenbanck deleted the client_ticks branch December 30, 2024 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant