Parallax Backgrounds and Shaders
This is the last chapter where we will be working on our game. It will be fully playable with all the features by the end. Here is what we will do to wrap up the Run game:
- Learn about OpenGL, shaders, and the Graphics Library Shading Language (GLSL)
- Finish the
CameraGraphics
class by implementing a scrolling background and a shader - Code a shader for the game by using someone else’s code
- Run the completed game
The code for the completion of this chapter can be found in the Run7
folder. Let’s get started by learning about the OpenGL, shaders and GLSL.