O'Reilly logo

Learn SpriteBuilder for iOS Game Development by Steffen Itterheim

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter    11

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.

Introducing ObjectAL

Cocos2D includes the ObjectAL audio framework to play back sound effects and music. ObjectAL is a framework built around the low-level ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required