Unity 4.x Game AI Programming
暫譯: Unity 4.x 遊戲人工智慧程式設計

Aung Sithu Kyaw, Clifford Peters, Thet Naing Swe

  • 出版商: Packt Publishing
  • 出版日期: 2013-07-18
  • 售價: $1,860
  • 貴賓價: 9.5$1,767
  • 語言: 英文
  • 頁數: 232
  • 裝訂: Paperback
  • ISBN: 1849693404
  • ISBN-13: 9781849693400
  • 相關分類: 遊戲引擎 Game-engine人工智慧
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

Use your basic knowledge of Unity3D to add effective artificial intelligence to your games. This tutorial will take you through all the essentials, from flocking to pathfinding, from navigation graphs to behavior trees.

Overview

  • A practical guide with step-by-step instructions and example projects to learn Unity3D scripting
  • Learn pathfinding using A* algorithms as well as Unity3D pro features and navigation graphs.
  • Implement finite state machines (FSMs), path following, and steering algorithms.

In Detail

This book fills the gap between artificial intelligence (AI) books designed to learn underlying AI algorithms and general Unity3D books written to cover basic scene setup and scripting in Unity3D. Game AI Scripting in Unity3D covers implementing AI techniques such as flocking, pathfinding, path following, and behavior trees in Unity3D with example projects.

Game AI Scripting in Unity3D will show you how to apply AI techniques to your Unity3D projects using C# as the scripting language. Unlike other AI books and Unity3D books, this book tries to focus more on the application of AI techniques in the Unity3D engine, with sample projects that demonstrate finite state machines (FSMs), pathfinding, steering, navigation graphs, and behavior trees techniques.

This book shows how to implement various AI techniques in Unity3D by implementing the algorithm from scratch using C#, applying Unity3D built-in features, or using available scripts and plugins from the Unity Asset Store. For example, we’ll be implementing our own A* algorithm to do pathfinding but will also explore the Unity3D navigation graphs feature. Then we’ll use the Behave plugin to construct behavior trees for intelligent AI character behaviors.

Game AI Scripting in Unity3d covers other AI techniques such as flocking behavior, building a sensory system for taking inputs from the environment and other AI agents, and so on. In the final chapter this book will show you how to build a racing game AI project using Unity3D and applying the techniques described in earlier chapters.

What you will learn from this book

  • Building finite state machines (FSMs)
  • Implementing a sensory system
  • Applying flocking behavior for a crowd
  • Executing your own A* pathfinding algorithm in Unity3D
  • Applying random and probability techniques in a betting game
  • Using the Unity3D pro feature, navigation graphs, for path finding
  • Learning about behavior trees and the Behave plugin
  • Implementing a racing game AI through the final chapter project

Approach

Step-by-step practical tutorial

Who this book is written for

Are you are a programmer with basic knowledge of Unity3D who would like to add AI features to your game? Are you looking for a reference on implementing AI in Unity3D with simple to follow instructions, and lots of sample code and projects? Then this book is for you. You should have some background in C# language as this book will use C# for scripting. However if you know any other language you should be able to follow this book fairly easily.

商品描述(中文翻譯)

使用您對 Unity3D 的基本知識,為您的遊戲添加有效的人工智慧。這個教程將帶您了解所有基本要素,從群聚行為到路徑尋找,從導航圖到行為樹。

**概述**
- 一本實用指南,提供逐步指導和示例專案,以學習 Unity3D 腳本編寫
- 學習使用 A* 演算法進行路徑尋找,以及 Unity3D 專業功能和導航圖。
- 實現有限狀態機 (FSM)、路徑跟隨和引導演算法。

**詳細內容**
本書填補了旨在學習基礎 AI 演算法的人工智慧 (AI) 書籍與涵蓋 Unity3D 基本場景設置和腳本編寫的一般 Unity3D 書籍之間的空白。《Unity3D 遊戲 AI 腳本編寫》涵蓋了在 Unity3D 中實現 AI 技術,如群聚行為、路徑尋找、路徑跟隨和行為樹的示例專案。

《Unity3D 遊戲 AI 腳本編寫》將向您展示如何使用 C# 作為腳本語言,將 AI 技術應用於您的 Unity3D 專案。與其他 AI 書籍和 Unity3D 書籍不同,本書更專注於 AI 技術在 Unity3D 引擎中的應用,並提供示例專案來演示有限狀態機 (FSM)、路徑尋找、引導、導航圖和行為樹技術。

本書展示了如何在 Unity3D 中實現各種 AI 技術,通過使用 C# 從零開始實現演算法,應用 Unity3D 內建功能,或使用 Unity 資源商店中的可用腳本和插件。例如,我們將實現自己的 A* 演算法來進行路徑尋找,同時探索 Unity3D 的導航圖功能。然後,我們將使用 Behave 插件來構建智能 AI 角色行為的行為樹。

《Unity3D 遊戲 AI 腳本編寫》還涵蓋其他 AI 技術,如群聚行為、建立感知系統以從環境和其他 AI 代理獲取輸入等。在最後一章中,本書將向您展示如何使用 Unity3D 構建一個賽車遊戲 AI 專案,並應用前面章節中描述的技術。

**您將從本書中學到什麼**
- 建立有限狀態機 (FSM)
- 實現感知系統
- 為人群應用群聚行為
- 在 Unity3D 中執行自己的 A* 路徑尋找演算法
- 在賭博遊戲中應用隨機和概率技術
- 使用 Unity3D 專業功能導航圖進行路徑尋找
- 了解行為樹和 Behave 插件
- 通過最後一章專案實現賽車遊戲 AI

**方法**
逐步實用教程

**本書的讀者**
您是否是一位對 Unity3D 有基本知識的程式設計師,希望為您的遊戲添加 AI 功能?您是否在尋找一本關於在 Unity3D 中實現 AI 的參考書,並希望有簡單易懂的指導,以及大量示例代碼和專案?那麼這本書適合您。您應該具備一些 C# 語言的背景,因為本書將使用 C# 進行腳本編寫。然而,如果您知道其他語言,您應該能夠相對輕鬆地跟隨本書。