Adding Audio-Visual Elements
In the previous chapter, we learned about the game UI and how to create and add a user interface (also known as a widget) to the screen.
In this chapter, we will learn how to add audio and particle effects to our game. Both of these aspects will increase the quality of our game and produce a much more immersive experience for the player.
Sound in video games can come in the form of either sound effects (also known as SFX) or music. Sound effects make the world around you more believable and alive, while the music helps set the tone for your game. Both these aspects are very important to your game.
In competitive games such as Counter-Strike: Global Offensive (CS: GO), sound is also extremely important because players need to hear the sounds around them, such as gunshots and footsteps, and which direction they came from, to gather as much information about their surroundings as possible.
In this chapter, we will cover the following topics:
...