Unity Artificial Intelligence Programming: Add powerful, believable, and fun AI entities in your game with the power of Unity 2018!, 4/e (Paperback)

Dr. Davide Aversa, Aung Sithu Kyaw, Clifford Peters

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

相關主題

商品描述

Learn and Implement game AI in Unity 2018 to build smart game environments and enemies with A*, Finite State Machines, Behavior Trees and NavMesh.

Key Features

  • Build richer games by learning the essential concepts in AI for games like Behavior Trees and Navigation Meshes
  • Implement character behaviors and simulations using the Unity Machine Learning toolkit
  • Explore the latest Unity 2018 features to make implementation of AI in your game easier

Book Description

Developing Artificial Intelligence (AI) for game characters in Unity 2018 has never been easier. Unity provides game and app developers with a variety of tools to implement AI, from the basic techniques to cutting-edge machine learning-powered agents. Leveraging these tools via Unity's API or built-in features allows limitless possibilities when it comes to creating your game's worlds and characters.

This fourth edition with Unity will help you break down AI into simple concepts to give you a fundamental understanding of the topic to build upon. Using a variety of examples, the book then takes those concepts and walks you through actual implementations designed to highlight key concepts and features related to game AI in Unity.

Further on, you'll learn how to distinguish the state machine pattern and implement one of your own. This is followed by learning how to implement a basic sensory system for your AI agent and coupling it with a Finite State Machine (FSM).

Next, you'll learn how to use Unity's built-in NavMesh feature and implement your own A* pathfinding system. You'll then learn how to implement simple ?ocks and crowd dynamics, which are key AI concepts in Unity. Moving on, you'll learn how to implement a behavior tree through a game-focused example. Lastly, you'll apply all the concepts in the book to build a popular game.

What you will learn

  • Create smarter game worlds and characters with C# programming
  • Apply automated character movement using pathfinding and steering behaviors
  • Implement non-player character decision-making algorithms using Behavior Trees and FSMs
  • Build believable and highly efficient artificial flocks and crowds
  • Create sensory systems for your AI with the most commonly used techniques
  • Construct decision-making systems to make agents take different actions
  • Explore the application of machine learning in Unity

Who this book is for

This book is intended for Unity developers with a basic understanding of C# and the Unity editor. Whether you're looking to build your first game or are looking to expand your knowledge as a game programmer, you will find plenty of exciting information and examples of game AI in terms of concepts and implementation.

Table of Contents

  1. Introduction to AI
  2. Finite State Machines
  3. Randomness and Probability
  4. Implementing Sensors
  5. Flocking
  6. Path Following and Steering Behaviors
  7. A* Pathfinding
  8. Navigation Mesh
  9. Behavior Trees
  10. Machine Learning
  11. Putting It All Together

商品描述(中文翻譯)

在Unity 2018中學習並實現遊戲AI,使用A*、有限狀態機、行為樹和導航網格來建立智能遊戲環境和敵人。

主要特點


  • 通過學習遊戲中的行為樹和導航網格等AI的基本概念,來構建更豐富的遊戲

  • 使用Unity機器學習工具包來實現角色行為和模擬

  • 探索Unity 2018的最新功能,使遊戲中的AI實現更加容易

書籍描述

在Unity 2018中為遊戲角色開發人工智能(AI)變得更加容易。Unity為遊戲和應用程序開發人員提供了各種工具來實現AI,從基本技術到尖端的機器學習驅動的代理。通過使用Unity的API或內置功能來利用這些工具,可以在創建遊戲的世界和角色方面有無限的可能性。

這本與Unity合作的第四版將幫助您將AI分解為簡單的概念,以便您對該主題有基本的理解並進一步建立。通過各種示例,本書將帶領您進行實際的實現,以突出Unity中與遊戲AI相關的關鍵概念和功能。

接下來,您將學習如何區分狀態機模式並實現自己的狀態機。然後,您將學習如何為AI代理實現基本的感知系統並將其與有限狀態機(FSM)結合使用。

接下來,您將學習如何使用Unity內置的導航網格功能並實現自己的A*路徑尋找系統。然後,您將學習如何實現簡單的群體和人群動力學,這是Unity中的關鍵AI概念。接著,您將通過遊戲示例學習如何實現行為樹。最後,您將應用本書中的所有概念來構建一個熱門遊戲。

您將學到什麼


  • 使用C#編程創建更智能的遊戲世界和角色

  • 應用基於路徑尋找和轉向行為的自動角色移動

  • 使用行為樹和FSM實現非玩家角色的決策算法

  • 構建可信且高效的人工群體和人群

  • 使用最常用的技術為您的AI創建感知系統

  • 構建決策系統以使代理採取不同的行動

  • 探索在Unity中應用機器學習

本書適合人群

本書適用於具有基本的C#和Unity編輯器理解的Unity開發人員。無論您是想建立自己的第一個遊戲還是想擴展作為遊戲程序員的知識,您都會在概念和實現方面找到豐富的信息和遊戲AI的示例。

目錄


  1. AI簡介

  2. 有限狀態機

  3. 隨機性和概率

  4. 實現感知系統

  5. 群體行為

  6. 路徑跟隨和轉向行為

  7. A*路徑尋找

  8. 導航網格

  9. 行為樹

  10. 機器學習

  11. 將所有內容結合起來