Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Practical Game AI Programming

You're reading from   Practical Game AI Programming Unleash the power of Artificial Intelligence to your game

Arrow left icon
Product type Paperback
Published in Jun 2017
Publisher Packt
ISBN-13 9781787122819
Length 348 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Micael DaGraça Micael DaGraça
Author Profile Icon Micael DaGraça
Micael DaGraça
Arrow right icon
View More author details
Toc

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...

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 £16.99/month. Cancel anytime