Summary
We covered a lot of material in this chapter, and in the process, we completed our 2D game. You learned a little about how audio is represented in the computer. Then we installed the FMOD API and learned how to integrate it into our project. Finally, we used FMOD to set up and play sound effects and music in our game.
This chapter completes our discussion of game programming in 2D. As you should now be aware, there is a lot more to completing a game than using the OpenGL library. Remember, OpenGL is a rendering library. We had to write our own class to handle input and we used a third-party class to handle audio.
In the next chapter, we begin our foray into the world of 3D programming!