Unity Artificial Intelligence Programming: Add powerful, believable, and fun AI entities in your game with the power of Unity 2018!, 4/e (Paperback)
暫譯: Unity 人工智慧程式設計:利用 Unity 2018 的力量在遊戲中添加強大、可信且有趣的 AI 實體!第 4 版(平裝本)

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*、有限狀態機、行為樹和 NavMesh。

主要特點


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

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

  • 探索最新的 Unity 2018 功能,使遊戲中的 AI 實現更簡單

書籍描述

在 Unity 2018 中為遊戲角色開發人工智慧 (AI) 從未如此簡單。Unity 為遊戲和應用開發者提供了多種工具來實現 AI,從基本技術到尖端的機器學習驅動代理。通過 Unity 的 API 或內建功能利用這些工具,為創建遊戲的世界和角色提供了無限的可能性。

這本第四版的書籍將幫助你將 AI 拆解為簡單的概念,以便你能夠建立對該主題的基本理解。書中使用各種範例,然後將這些概念帶入實際實現,旨在突顯與 Unity 中遊戲 AI 相關的關鍵概念和特性。

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

然後,你將學習如何使用 Unity 的內建 NavMesh 功能並實現自己的 A* 路徑尋找系統。接下來,你將學習如何實現簡單的群聚和人群動態,這些都是 Unity 中的關鍵 AI 概念。接著,你將通過一個以遊戲為中心的範例來實現行為樹。最後,你將應用書中的所有概念來構建一個受歡迎的遊戲。

你將學到什麼


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

  • 應用自動化角色移動,使用路徑尋找和引導行為

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

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

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

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

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

本書適合誰

本書適合對 C# 和 Unity 編輯器有基本了解的 Unity 開發者。無論你是想建立你的第一個遊戲,還是希望擴展作為遊戲程式設計師的知識,你都會發現許多令人興奮的資訊和遊戲 AI 的範例,無論是在概念還是實現方面。

目錄


  1. AI 介紹

  2. 有限狀態機

  3. 隨機性和概率

  4. 實現感知器

  5. 群聚行為

  6. 路徑跟隨和引導行為

  7. A* 路徑尋找

  8. 導航網格

  9. 行為樹

  10. 機器學習

  11. 綜合應用