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
About the Author
About the Reviewer
Customer Feedback
Navigation Behavior and Pathfinding
AI Planning and Collision Avoidance

About the Author

Micael DaGraca is a game designer and an AR developer living in Porto, Portugal. He has worked for multiple game studios, contributing to the creation of different indie games and interactive apps.

Micael grew up playing video games, and that passion never went away. So, later on in his life, he decided to learn how to create games. Without any previous knowledge in coding or 3D animation, he slowly started to create simple games, learning each time more with those experiences. When the games started to work and the gameplay became enjoyable, he started to make plans to publish a game in collaboration with an old friend. Micael was responsible for the technical aspect of the game, making sure that the game worked as planned, while his friend created all the artwork for the game. Finally, the game was published, and it received some positive feedback from other indie game developers. Since the game generated some revenue, the dream of becoming a game designer turned into reality.

Today, Micael works for other studios, helping others to develop their game ideas, and has also integrated into a company that focuses on the creation of games and interactive apps for health and well-being purposes. Even though he doesn't have the time to keep working on personal projects, he has a few frozen game projects that are still under development with the help of his friend.


I would like to thank to my parents for the unconditional support throughout the years, because without them my life as a game designer would not have been possible; a warm thank you to my sister, Alexandrina, for all of your help when I needed it the most and for sharing your office with me so I could start working as a game designer. A thank you to my old friend Vicente for the eternal rivalry, forcing me to always push my limits, making me a better professional. I also would like to thank my girlfriend, Marta, for her smile, which always make me happy, and for taking care of everything so that I could focus on my work. And finally, I would like to dedicate this book to my grandpa, who inspired me to be the person that I am today.