Book Image

Mastering Unity 2D game development

By : Simon Jackson
Book Image

Mastering Unity 2D game development

By: Simon Jackson

Overview of this book

Table of Contents (21 chapters)
Mastering Unity 2D Game Development
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
1
Overview
Index

Basic Artificial Intelligence


Artificial Intelligence(AI) is a term banded around most game systems and is a general bucket for several techniques for machine-based learning systems. Its sole aim is to fool the user/player into believing that the system is behaving like any living being, mainly to challenge the player in head-to-head battles or helpful supporting characters.

Some systems used to achieve this are as follows:

  • Path-finding: This helps AI-controlled entities navigate through levels to a specific destination

  • Flocking: This orders how multiple AI entities will relate to each other within a given area

  • State machines: These are fixed and basic sensor-driven intelligence to drive AI actions.

  • Rule-based expert systems: These are the defined logic systems for an AI entity to derive action from and aid decision making

  • Neural networks: These are advanced learning networks for AI entities, typically used to predict the performance of the AI and also understand the predictable behavior of opponents...