AudioEngine
is a new class from Cocos2d-x version 3.3. SimpleAudioEngine
cannot play multiple background scores, but AudioEngine
can play them. Furthermore, AudioEngine
can call a callback function when it finishes playing the background music. In addition, we can get the playtime by using the callback function. In this recipe, we will learn more about the brand new AudioEngine
.
Cocos2d-x Cookbook
By :
Cocos2d-x Cookbook
By:
Overview of this book
Table of Contents (18 chapters)
Cocos2d-x Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Getting Started with Cocos2d-x
Creating Sprites
Working with Labels
Building Scenes and Layers
Creating GUIs
Playing Sounds
Working with Resource Files
Working with Hardware
Controlling Physics
Improving Games with Extra Features
Taking Advantages
Index
Customer Reviews