Hasan-Jawaheri / WasabiGame

Game showcase for the Wasabi Engine
GNU General Public License v3.0
5 stars 0 forks source link

Implement (initial) player synchronization #5

Open Hasan-Jawaheri opened 4 years ago

Hasan-Jawaheri commented 4 years ago

Functional requirements:

Hasan-Jawaheri commented 3 years ago

Use this as a reference: https://gafferongames.com/post/state_synchronization/

Hasan-Jawaheri commented 2 years ago

General idea (some details can be found in above link):

Details about sending/receiving input, sending/receiving state, compressing/optimizing packets and error calculation/application can be found in the article https://gafferongames.com/post/state_synchronization/

Hasan-Jawaheri commented 2 years ago
Hasan-Jawaheri commented 2 years ago

Optimizations checklist:

Hasan-Jawaheri commented 2 years ago

Motion is very jittery on client side because the framerate is highly varying. On server side, simulation runs at fixed 30 FPS and it is much smoother. This issue should allow running physics at a fixed step rate: https://github.com/Hasan-Jawaheri/Wasabi/issues/44 and needs to be implemented before this can be done