Chapter 7. Creating Artificial Intelligence

In this chapter, we'll start the final project, which will cover extensive ground. This project, unlike the previous three, will not be a fully completed game with a clear win and loss condition but will be a functional prototype and proof of concept style project that highlights a range of important coding techniques and ideas prevalent in games. Specifically, we'll create a world with a terrain, first-person character, and some enemies. The enemies will have Artificial Intelligence (AI), patrol the level searching for the player, and attack the player when found. In this chapter, we will explore the following topics:

  • How to build levels and landscapes with the Terrain tools
  • How to generate and use navigation ...

Get Unity 2018 By Example - Second Edition 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.