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

Add Client Side Interpolation of Movement #188

Open
johnnyapol opened this issue Sep 1, 2019 · 1 comment
Open

Add Client Side Interpolation of Movement #188

johnnyapol opened this issue Sep 1, 2019 · 1 comment
Assignees
Labels
feature The issue describes a feature to be added

Comments

@johnnyapol
Copy link
Member

https://developer.valvesoftware.com/wiki/Latency_Compensating_Methods_in_Client/Server_In-game_Protocol_Design_and_Optimization

This would allow us to "smooth" out movements on the client when their connection is poor or the server is lagging behind, helping to ensure a still playable experience.

@DamienVesper
Copy link
Member

DamienVesper commented Jan 1, 2021

Implement some copy of serverside logic to clientside logic instead of just using static positions, as well as queue snapshots every 100ms or so to check the client and update it accordingly. If the client is on track, will be a smooth transition. If not, gameplay will be similar to teleportation. Interval can be increased but would not recommend any number above 300ms.

@johnnyapol johnnyapol transferred this issue from TornDotSpace/Torn-Issues Mar 8, 2021
@DamienVesper DamienVesper added the feature The issue describes a feature to be added label Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature The issue describes a feature to be added
Projects
None yet
Development

No branches or pull requests

3 participants