Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Practical Game AI Programming
  • Table Of Contents Toc
Practical Game AI Programming

Practical Game AI Programming

By : Micael DaGraça
close
close
Practical Game AI Programming

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 (11 chapters)
close
close

Implementing vision awareness

Before starting out with the tactics, we will take a look at how we can implement an awareness system into our characters.

Let's start by implementing a vision awareness into our game character. The idea is to simulate the human vision, where we can see very good at close range and not so good when something is really far away. Many games have adopted this system and they all have differences, some have a more complex system while others have a basic one. The basic example can be found especially on a more juvenile adventure game such as Zelda - Ocarina of Time for example, where the enemies will only appear or react when you reach a certain trigger zone as shown in the following screenshot:

For example, in this situation if the player goes back and exits the enemy trigger zone, the enemy will stay in an idle position, even if he is clearly...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Practical Game AI Programming
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon