Unity Networking Fundamentals: Creating Multiplayer Games with Unity
暫譯: Unity 網路基礎:使用 Unity 創建多人遊戲

Kelly, Sloan, Kumar, Khagendra

  • 出版商: Apress
  • 出版日期: 2021-11-14
  • 售價: $2,350
  • 貴賓價: 9.5$2,233
  • 語言: 英文
  • 頁數: 280
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484273575
  • ISBN-13: 9781484273579
  • 相關分類: 遊戲引擎 Game-engine
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Learn the fundamentals of networking with Unity and C#. This book covers a variety of topics, including accessing data using RESTful APIs, local networked games, and creating multiplayer online games using client-server architecture.

The book provides the basics of networking, sockets, TCP vs. UDP, client-server architecture, serialization, RESTful APIs, network latency, and client-side prediction. Projects are presented to illustrate the concepts, including a chat client/server overlay for your game, and a 3D maze game that allows up to four players to connect over the network.

By the end of the book, you will be familiar with low-level networking concepts such as protocols and architecture as well as high-level knowledge on how to create applications that use a client/server architecture for multiplayer games.


What You Will Learn

  • Know the difference between TCP and UDP, and the pros and cons of these protocols
  • Create client-server multiplayer games in Unity using C#
  • Receive and process data from a remote server using RESTful APIs
  • Understand latency and how to mitigate its impact


Who This Book Is For

Readers familiar with Unity and C# development who want to create multiplayer games

商品描述(中文翻譯)

學習使用 Unity 和 C# 的網路基礎知識。本書涵蓋多種主題,包括使用 RESTful APIs 存取資料、本地網路遊戲,以及使用客戶端-伺服器架構創建多人線上遊戲。

本書提供網路、套接字、TCP 與 UDP、客戶端-伺服器架構、序列化、RESTful APIs、網路延遲和客戶端預測的基本知識。書中通過專案來說明這些概念,包括為您的遊戲提供聊天客戶端/伺服器覆蓋的專案,以及一個允許最多四名玩家透過網路連接的 3D 迷宮遊戲。

在本書結束時,您將熟悉低階網路概念,如協議和架構,以及高階知識,了解如何創建使用客戶端-伺服器架構的多人遊戲應用程式。

您將學到的內容:
- 知道 TCP 和 UDP 之間的區別,以及這些協議的優缺點
- 使用 C# 在 Unity 中創建客戶端-伺服器的多人遊戲
- 使用 RESTful APIs 接收和處理來自遠端伺服器的資料
- 理解延遲及如何減輕其影響

本書適合對象:
熟悉 Unity 和 C# 開發的讀者,想要創建多人遊戲。

作者簡介

Sloan Kelly has worked in the games industry for more than 13 years. He has worked on a number of AAA and indie titles and currently works for an educational game company. He lives in Ontario, Canada with his wife and children. Sloan is on Twitter @codehoose and makes YouTube videos in his spare time.

Khagendra Kumar has worked with a number of educational institutions and game studios for training and solutions. He lives in Bihar, India and spends most of his time working with game AI. He can be reached via Linkedin at /itskhagendra and Instagram @Khagendra_Developer.


作者簡介(中文翻譯)

Sloan Kelly 在遊戲產業工作超過 13 年。他參與了多個 AAA 和獨立遊戲的開發,目前在一家教育遊戲公司工作。他與妻子和孩子住在加拿大安大略省。Sloan 的 Twitter 帳號是 @codehoose,並在空閒時間製作 YouTube 影片。

Khagendra Kumar 曾與多個教育機構和遊戲工作室合作,提供訓練和解決方案。他住在印度比哈爾邦,大部分時間專注於遊戲人工智慧的工作。您可以通過 LinkedIn 聯繫他,網址是 /itskhagendra,Instagram 帳號是 @Khagendra_Developer。