Creating Immersive Interactive Worlds
Welcome to Chapter 14! In the previous chapter, we added pathfinding and navigation to the instances. We started with a brief overview of navigation methods in computer games. Then we explored and implemented the A* algorithm to find a path between the instance position and a point in the virtual world. Next, we enhanced the models to serve as navigation targets and extended the instances to find a path to one of the targets. At the end of the chapter, we added the ability for an instance to follow the path and reach the desired target.
In this chapter, we will explore different ideas to enhance the example code for more immersion and visual quality. We will look at the audible side for tools and methods to add sound effects and music to the application. Also, we will implement a simple audio manager class to play sounds and background music. To please not just the ears but also the eyes, we will collect some ideas about how to enhance the...