Navigation

Now, we should have a better understanding of why AI is so important and vital for video games, but it's such an extensive topic that it cannot be dealt with in a small chapter like this. Therefore, we will focus on just one particular aspect, which is navigation. Since this is an introductory chapter to the topic, we will hope to understand the basic concepts of navigation, but implement just one of the simple techniques that we will use in our game.

Aspects of navigation

Game characters move within the game and its levels. The movement can be quite simple, such as that of arcade games or NPCs following or targeting you, and others can be quite complex like in fast paced action and adventure games. Fixed routes are simple to implement ...

Get Getting Started with Unity 5.x 2D Game Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.