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 從遊戲開發者的角度回顧網路和網路程式設計的基本要素。接著,他們將介紹如何管理遊戲數據傳輸、在網路上更新遊戲物件,以及組織加入您遊戲的設備。您將學習如何確保在互聯網固有的不一致性下仍能保持可靠的性能,以及如何設計遊戲程式碼以達到最大的安全性和可擴展性。作者最後討論了兩個日益重要的議題:整合玩家服務和在雲端托管您的遊戲。

本指南的內容已在作者於南加州大學(USC)的多人遊戲程式設計課程中進行了廣泛測試。對於學生和轉向網路遊戲的在職遊戲程式設計師來說,這本書同樣具有價值。

內容涵蓋:

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

關於網站:所有範例的 C++ 原始碼可在 github.com/MultiplayerBook 獲得。講師還可以找到完整的 PowerPoint 幻燈片和範本大綱。