This chapter is all about the different ways to present music and sound effects to the player of the game using Cocos2d, and why high-quality music and sound effects matter in a great game. Trust me, there's more to sound effects than just playing a sound file when an event happens. Otherwise, why would it have an entire chapter? Although there are a lot of users who play with the sound off on mobile devices, it's still an immersive part of some players' experience, so we have to pay close attention to not only the sounds we choose but also how they're implemented.
In this chapter, we will cover the following topics:
Loading and unloading effects
Playing sound effects and loop background music in creative ways
Modifying the played sound on the fly
Other good examples of sounds