Implementing AI with Sensors, Behavior Trees, and ML-Agents
In Chapter 12, we dove into all the required details for approaching adding audio to our games. We did this by introducing an audio manager and individual reusable audio player components so that designers and developers can easily add different types of game audio to create a sound experience that encompasses our players. We enforced good coding practices to ensure we’re writing maintainable code, with an emphasis on reusability and extensibility, to simplify the challenges in our daily game developer lives.
Now that we have addressed the sound design of our game, we can continue to finish out the enemy non-player character (NPC) mechanics for our FPS game’s level by implementing some basic artificial intelligence (AI). We’ll accomplish adding simple AI navigation by reusing and refactoring our previous 2D components and code to 3D. We’ll continue to discuss the elevation and sophistication...