A simple tutorial of classic networking replication mechanism
the instruction of this demo is followed the principle of series of articles: client server game architecture
This demo implemented following features:
- authoritive server
- client prediction
- entity interpolation
- server buffer
- network lagging simulation
- network package disorder handling
- network package loss handling
Feel free to check out the code, I made this for better understanding the mechanism behind the scene, there still might be bugs or things to be improved, I'll be glad to see mistakes to be pointed out. Thanks!