Arkamarante / collision-domain

Automatically exported from code.google.com/p/collision-domain
0 stars 0 forks source link

Timestamping and lag compensation #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Need to add timestamping to player inputs and state updates.

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

This basically explains how to go about all the CSP and lag compensation that 
will be needed to smooth out gameplay. Hopefully it wont need to be as accurate 
as it describes for FPS games, because the cars are relatively large objects so 
hitting someone else directly isn't the same as aiming at a tiny player in the 
distance.

Original issue reported on code.google.com by jami...@gmail.com on 4 Jan 2012 at 3:24

GoogleCodeExporter commented 8 years ago

Original comment by jami...@gmail.com on 9 Feb 2012 at 3:37

GoogleCodeExporter commented 8 years ago
r277 adds some basic linear interpolation between position updates on all 
players, including the local

Original comment by jami...@gmail.com on 9 Feb 2012 at 4:34

GoogleCodeExporter commented 8 years ago
Not really much further needed in a hypothetical 'zero-latency' LAN network

Original comment by jami...@gmail.com on 20 Mar 2012 at 11:01

GoogleCodeExporter commented 8 years ago

Original comment by JonathanSimmonds on 20 May 2012 at 10:31