Multiplayer Game Programming: Architecting Networked Games (Paperback)

Josh Glazer, Sanjay Madhav

買這商品的人也買了...

商品描述

The Practical Guide to Building Reliable Networked Multiplayer Games

 

Networked multiplayer games are a multibillion dollar business: some games now attract tens of millions of players. In this practical, code-rich guide, Joshua Glazer and Sanjay Madhav guide you through every aspect of engineering them. Drawing on their immense experience as both game developers and instructors, the authors lead you through building a robust multiplayer architecture, and creating every engine-level system. You’ll learn through in-depth working code examples for two complete games: an action game and a real time strategy (RTS) game.

 

First, Madhav and Glazer review the essentials of networking and network programming from the standpoint of game developers. Next, they walk through managing game data transmission, updating game objects across the network, and organizing the devices that join your game. You’ll learn how to ensure reliable performance despite the Internet’s inherent inconsistencies, and how to design game code for maximum security and scalability. The authors conclude by addressing two increasingly crucial issues: incorporating gamer services and hosting your games in the cloud.

 

This guide’s content has been extensively tested through the authors’ multiplayer game programming courses at USC. It is equally valuable both to students and to working game programmers moving into networked games.

 

Coverage includes

  • How games have evolved to meet the challenges of networked environments
  • Using Internet communication protocols and standards in game development
  • Working with Berkeley Socket, the most widely used networking construct in multiplayer gaming
  • Formatting game data for efficient Internet transmission
  • Synchronizing states so all players share the same world
  • Organizing networking topologies for large-scale games
  • Overcoming latency and jitter problems that cause delays or lost data
  • Scaling games without compromising performance
  • Combating security vulnerabilities and software cheats
  • Leveraging the networking functionality of the popular Unreal 4 and Unity game engines
  • Integrating gamer services such as matchmaking, achievements, and leaderboards
  • Running game servers in the cloud

About the Website C++ source code for all examples is available at github.com/MultiplayerBook . Instructors will also find a full set of PowerPoint slides and a sample syllabus.

 

 

商品描述(中文翻譯)

《可靠網絡多人遊戲實用指南》

網絡多人遊戲是一個價值數十億美元的行業:有些遊戲現在吸引了數千萬玩家。在這本實用且程式碼豐富的指南中,Joshua Glazer和Sanjay Madhav將引導您從工程的各個方面進行遊戲開發。作者們憑藉作為遊戲開發人員和教師的豐富經驗,帶領您構建強大的多人遊戲架構,並創建每個引擎級別的系統。您將通過兩個完整遊戲的深入工作代碼示例進行學習:一個動作遊戲和一個即時戰略(RTS)遊戲。

首先,Madhav和Glazer從遊戲開發人員的角度回顧了網絡和網絡編程的基本知識。接下來,他們介紹了如何管理遊戲數據傳輸,跨網絡更新遊戲對象,以及組織加入遊戲的設備。您將學習如何確保在互聯網的固有不一致性下實現可靠的性能,以及如何設計遊戲代碼以實現最大的安全性和可擴展性。作者最後討論了兩個越來越重要的問題:整合遊戲服務和在雲端上托管遊戲。

這本指南的內容在作者們在南加州大學的多人遊戲編程課程中經過了廣泛的測試。對於學生和轉向網絡遊戲的工作遊戲程序員來說同樣有價值。

內容包括:

- 遊戲如何應對網絡環境的挑戰
- 在遊戲開發中使用互聯網通信協議和標準
- 使用Berkeley Socket進行多人遊戲中最廣泛使用的網絡構建
- 將遊戲數據格式化為高效的互聯網傳輸格式
- 同步狀態以使所有玩家共享同一個世界
- 為大規模遊戲組織網絡拓撲
- 克服導致延遲或丟失數據的延遲和抖動問題
- 在不影響性能的情況下擴展遊戲
- 對抗安全漏洞和軟體作弊
- 利用流行的Unreal 4和Unity遊戲引擎的網絡功能
- 整合遊戲服務,如匹配、成就和排行榜
- 在雲端上運行遊戲伺服器

關於網站:
所有示例的C++源代碼可在github.com/MultiplayerBook上獲得。教師還可以找到完整的PowerPoint幻燈片和樣本課程大綱。