Unity Multiplayer Games

Alan R. Stagner

  • 出版商: Packt Publishing
  • 出版日期: 2013-11-25
  • 售價: $1,980
  • 貴賓價: 9.5$1,881
  • 語言: 英文
  • 頁數: 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遊戲引擎和多種網絡中間件,從玩家主機遊戲到獨立專用服務器再到雲多人技術,寫出各種多人遊戲。您將通過這本實用指南學習製作任何您能想到的多人遊戲所需的所有技能。我們將複雜的多人遊戲拆分為基本組件,適用於不同類型的遊戲,無論是大型多用戶環境還是小型8人動作遊戲。您將從一個乒乓球遊戲開始學習各種情況下的網絡技術,並且還將主持一個遊戲服務器並學習如何連接到它。然後,我們將向您展示如何結構化遊戲邏輯以在多人環境中運作。我們將介紹如何為玩家主機遊戲實現客戶端遊戲邏輯,以及為MMO風格遊戲實現服務器端遊戲邏輯,以及如何處理網絡延遲、不可靠性和安全性。

接著,您將在創建星星收集遊戲時了解Photon Server,並通過創建多人即時戰略遊戲來了解Player.IO。您還將通過創建聊天應用程式使用PubNub與Unity一起學習。《Unity多人遊戲》將幫助您學習如何使用Unity提供的最受歡迎的網絡中間件,從面向對等設置到專用服務器技術。

本書的特點:
- 使用以學習通過實例的方式的易於遵循的教學方法。

本書適合對使用Unity遊戲引擎開始製作多人遊戲的開發人員。本書假設您具有一些基本的編程經驗,不需要事先了解Unity IDE。