This chapter will cover how Cocos2d-x handles the implementation of audio within a game. We will also cover the different types of audio available for use and how to implement them using sound files that will be provided. The sound will be played when certain conditions are met and methods are triggered.
The topics covered in this chapter are as follows:
Cocos2d-x along with many other engines supports two main types of audio implementation. They are as follows: