Chapter 6. Through a Sea of Sprinkles – Navigation in Artificial Intelligence
After having given a rendering (Chapter 4, No Longer Alone – Sweet-Toothed Pandas Strike) and a physical shape (Chapter 5, The Secret Ingredient Is a Dash of Physics) to our Pandas, it's now time to give them intelligence. In particular, the ability to walk/navigate through the map towards the player's cake to eat it. In fact, as we have already pointed out, artificial intelligence (AI) is at the core of giving life to NPCs, so that they can move around and act within the world. However, this chapter will focus on navigation.
In particular, we will implement a waypoint system for our Pandas. We will do it twice, so that we can have two different perspectives on the same thing, and we will highlight the advantages and disadvantages of each method.
Here is an outline of the topics that we will cover:
- The importance of AI in video games
- Navigation in video games and an overview of the...