Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Practical Game AI Programming

You're reading from  Practical Game AI Programming

Product type Book
Published in Jun 2017
Publisher Packt
ISBN-13 9781787122819
Pages 348 pages
Edition 1st Edition
Languages
Author (1):
Micael DaGraça Micael DaGraça
Profile icon Micael DaGraça

Search


We will start by talking about searching in video games. Search can be the first decision that our characters make because in most of the times, we want the characters to search for something, either searching for the player or for something else that will lead the character to their victory.

Having our characters be able to successfully find something is very useful and can be highly important as well. This is a feature that can be found in a large number of video games, and for that reason, it is likely that we will need to use it as well.

As we saw in previous examples, most of the times we have a player who walks around the map and when they come across an enemy, that enemy changes from an idle to offensive position. Now, we want the enemy to be proactive and constantly searching for the player instead of waiting for him. In our heads, we can start thinking about the process that is required for the enemy to start searching for the player. That process that we have in our heads...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}