网上有很多很多网络游戏同步技术相关的文章,基本上都是不靠谱的,下面推荐一些我阅读过,筛选出来的写的很不错的文章,供参考。
韦易笑对于网络同步有深入研究:
Jerish 的这几篇文章对于网络同步的发展史考察得很深入:
Glen Fielder 是网络同步的世界级专家,在 gdc 上做过多次技术分享:
- Introduction to Networked Physics
- What Every Programmer Needs To Know About Game Networking
- Deterministic Lockstep
- Snapshot Interpolation
- Snapshot Compression
- State Synchronization
Gabriel Gambetta 这几篇关于状态同步相关优化手段的文章写得很通俗易懂,甚至还在文章里内嵌了一个 js 写的 demo:
- Fast-Paced Multiplayer (Part I): Client-Server Game Architecture
- Fast-Paced Multiplayer (Part II): Client-Side Prediction and Server Reconciliation
- Fast-Paced Multiplayer (Part III): Entity Interpolation
- Fast-Paced Multiplayer (Part IV): Lag Compensation
- Fast-Paced Multiplayer: Sample Code and Live Demo