Book Image

Practical Game AI Programming

By : Micael DaGraça
Book Image

Practical Game AI Programming

By: Micael DaGraça

Overview of this book

The book starts with the basics examples of AI for different game genres and directly jumps into defining the probabilities and possibilities of the AI character to determine character movement. Next, you’ll learn how AI characters should behave within the environment created. Moving on, you’ll explore how to work with animations. You’ll also plan and create pruning strategies, and create Theta algorithms to find short and realistic looking game paths. Next, you’ll learn how the AI should behave when there is a lot of characters in the same scene. You'll explore which methods and algorithms, such as possibility maps, Forward Chaining Plan, Rete Algorithm, Pruning Strategies, Wall Distances, and Map Preprocess Implementation should be used on different occasions. You’ll discover how to overcome some limitations, and how to deliver a better experience to the player. By the end of the book, you think differently about AI.
Table of Contents (17 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
6
Navigation Behavior and Pathfinding
9
AI Planning and Collision Avoidance

Summary


In this chapter, we discovered how to create AI characters that make their own decisions no matter where we place them by using AFSMs. Then we learned how to calculate chance and how to use it in conjunction with the previous techniques to create a character that could calculate a better option for his next step. Using all of the the set techniques, we moved on to how to use utility-based functions to create a human-like character that can behave autonomously. Finally, we talked about different ways of adjusting the values that we input in our characters to make them balanced compared to player performance. In the next chapter, we'll be talking in depth about environment and AI, taking into consideration different genres of video game and different types of AI, how the AI should use the available space on the map to create a challenge for the player, how to interact with the environment, how to use the environment in its favor, and a lot more.