Chapter 12. Abstraction and Code Management – Making Better Use of OOP
In this chapter, we will take a first look at the final project of the book. The project will have advanced features such as directional sound, which comes out of the speakers relative to the position of the player. It will also have split screen cooperative gameplay. In addition, this project will introduce the concept of Shaders, which are programs written in another language that run directly on the graphics card. By the end of Chapter 16, Extending SFML Classes, Particle Systems, and Shaders, you will have a fully functioning multiplayer platform game built in the style of the hit classic Thomas Was Alone.
This chapter's main focus will be getting the project started—in particular, exploring how the code will be structured to make better use of OOP. The following topics will be covered:
- An introduction to the final project, Thomas Was Late, including the gameplay features and project...