Game Development Reference
In-Depth Information
Getting ready
Before starting with the addition of background music and sound effects on some events,
we should have a good understanding of the
AVAudioPlayer
class and the
AVFounda-
tion
framework. So the prerequisite for this section is to have knowledge of how to play
audio using the AVAudioPlayer class as discussed in the preceding recipe.