Chapter 10: Sound and Music Integration
In the previous chapter, we achieved good graphics quality, but we are missing an important part of the game's aesthetics: sound. Often relegated to being the last step in game development, sound is one of those things that if it's there, you won't notice its presence, but if you don't have it, you will feel that something is missing. It will help you reinforce the ambiance you want in your game, and it must match the graphics settings you have.
In this chapter, we will cover the following sound concepts:
- Importing audio
- Integrating and mixing audio
We will apply these concepts to our game so that we can import audio and play it in different scenarios, such as when the Player shoots. This also includes the background music. Later in this book, we will play the sounds, but for now, we will focus on how to import them into our project.