Audio and Labels
In this chapter, you will learn how to play audio, both sound effects and music. Sound effects can be played via the Timeline, but most of it will have to be programmed using ObjectAL, the audio engine used by Cocos2D and SpriteBuilder.
The second half of the chapter is dedicated to labels—specifically, TrueType font effects as well as why and how to use bitmap font labels. You will also find an introduction on localizing label texts, and how to ensure a localized label can be changed to embed numeric information at runtime, such as score and other counters.
Cocos2D includes the ObjectAL audio framework to play back sound effects and music. ObjectAL is a framework built around the low-level ...