Unity Multiplayer Games
暫譯: Unity 多人遊戲

Alan R. Stagner

  • 出版商: Packt Publishing
  • 出版日期: 2013-11-25
  • 售價: $2,000
  • 貴賓價: 9.5$1,900
  • 語言: 英文
  • 頁數: 242
  • 裝訂: Paperback
  • ISBN: 1849692327
  • ISBN-13: 9781849692328
  • 相關分類: 遊戲引擎 Game-engine
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Take your gaming development skills into the online multiplayer arena by harnessing the power of Unity 4 or 3. This is not a dry tutorial - it uses exciting examples and an enthusiastic approach to bring it all to life.

Overview

  • Create a variety of multiplayer games and apps in the Unity 4 game engine, still maintaining compatibility with Unity 3.
  • Employ the most popular networking middleware options for Unity games
  • Packed with ideas, inspiration, and advice for your own game design and development

In Detail

Unity is a game development engine that is fully integrated with a complete set of intuitive tools and rapid workflows used to create interactive 3D content. Multiplayer games have long been a staple of video games, and online multiplayer games have seen an explosion in popularity in recent years. Unity provides a unique platform for independent developers to create the most in-demand multiplayer experiences, from relaxing social MMOs to adrenaline-pumping competitive shooters.

A practical guide to writing a variety of online multiplayer games with the Unity game engine, using a multitude of networking middleware from player-hosted games to standalone dedicated servers to cloud multiplayer technology. You can create a wide variety of online games with the Unity 4 as well as Unity 3 Engine.

You will learn all the skills needed to make any multiplayer game you can think of using this practical guide. We break down complex multiplayer games into basic components, for different kinds of games, whether they be large multi-user environments or small 8-player action games. You will get started by learning networking technologies for a variety of situations with a Pong game, and also host a game server and learn to connect to it.Then, we will show you how to structure your game logic to work in a multiplayer environment. We will cover how to implement client-side game logic for player-hosted games and server-side game logic for MMO-style games, as well as how to deal with network latency, unreliability, and security.

You will then gain an understanding of the Photon Server while creating a star collector game; and later, the Player.IO by creating a multiplayer RTS prototype game. You will also learn using PubNub with Unity by creating a chatbox application. Unity Multiplayer Games will help you learn how to use the most popular networking middleware available for Unity, from peer-oriented setups to dedicated server technology.

What you will learn from this book

  • Use Unity networking for in-game player-hosted servers
  • Create cloud-based games with Photon Cloud
  • Employ dedicated servers for massive multiuser environments
  • Make game logic server-authoritative
  • Deal with latency and unreliable networks
  • Use PubNub for HTTP-based push messaging
  • Employ Player.IO to persist game data to the cloud
  • Use various forms of networked entity interpolation

Approach

An easy-to-follow, tutorial manner that uses the learning-by-example approach.

Who this book is written for

If you are a developer who wants to start making multiplayer games with the Unity game engine, this book is for you. This book assumes you have some basic experience with programming. No prior knowledge of the Unity IDE is required.

商品描述(中文翻譯)

將您的遊戲開發技能帶入線上多人遊戲領域,利用 Unity 4 或 3 的強大功能。這不是一個枯燥的教程 - 它使用令人興奮的範例和熱情的方式讓一切變得生動。

概述
- 在 Unity 4 遊戲引擎中創建各種多人遊戲和應用程式,同時保持與 Unity 3 的相容性。
- 使用最受歡迎的 Unity 遊戲網路中介選項。
- 充滿創意、靈感和您自己遊戲設計與開發的建議。

詳細內容
Unity 是一個遊戲開發引擎,完全整合了一整套直觀的工具和快速工作流程,用於創建互動式 3D 內容。多人遊戲長期以來一直是視頻遊戲的主流,而線上多人遊戲在近年來的受歡迎程度激增。Unity 提供了一個獨特的平台,讓獨立開發者能夠創造最受需求的多人遊戲體驗,從輕鬆的社交 MMO 到令人腎上腺素飆升的競技射擊遊戲。

這是一本實用指南,教您如何使用 Unity 遊戲引擎編寫各種線上多人遊戲,使用多種網路中介技術,從玩家主機遊戲到獨立專用伺服器,再到雲端多人技術。您可以使用 Unity 4 以及 Unity 3 引擎創建各種線上遊戲。

您將學到使用這本實用指南所需的所有技能,以製作任何您能想到的多人遊戲。我們將複雜的多人遊戲分解為基本組件,適用於不同類型的遊戲,無論是大型多用戶環境還是小型 8 人動作遊戲。您將從學習各種情況下的網路技術開始,使用 Pong 遊戲,並且還會主機一個遊戲伺服器並學習如何連接到它。接著,我們將向您展示如何結構化您的遊戲邏輯以適應多人環境。我們將涵蓋如何為玩家主機遊戲實現客戶端遊戲邏輯,以及為 MMO 風格遊戲實現伺服器端遊戲邏輯,還有如何處理網路延遲、不可靠性和安全性。

然後,您將在創建星星收集者遊戲的過程中了解 Photon Server;之後,通過創建一個多人 RTS 原型遊戲來了解 Player.IO。您還將通過創建聊天應用程式來學習如何在 Unity 中使用 PubNub。Unity Multiplayer Games 將幫助您學習如何使用 Unity 中最受歡迎的網路中介技術,從對等設置到專用伺服器技術。

您將從這本書中學到的內容
- 使用 Unity 網路進行遊戲內玩家主機伺服器
- 使用 Photon Cloud 創建雲端遊戲
- 為大型多用戶環境使用專用伺服器
- 使遊戲邏輯具有伺服器權威性
- 處理延遲和不可靠的網路
- 使用 PubNub 進行基於 HTTP 的推送消息
- 使用 Player.IO 將遊戲數據持久化到雲端
- 使用各種形式的網路實體插值

方法
一種易於遵循的教程方式,使用以範例學習的方法。

本書的讀者對象
如果您是一位希望開始使用 Unity 遊戲引擎製作多人遊戲的開發者,這本書適合您。本書假設您對編程有一些基本經驗。不需要先前對 Unity IDE 的知識。