Chapter 7. Putting It Together: Making a Game in OpenGL

Now for the exciting part. We get to take all that fairly dry stuff about OpenGL function calls from Chapter 6 and turn it into a game about blowing stuff up!

This chapter guides you through an iterative game design. We will start with our humble game template and add bits and pieces to it until our game is finished.

Our first version of the game is going to look the simplest. It is intended to demonstrate how to draw lines and effectively "sketch" with OpenGL. The biggest thing we are going to do in this chapter is to build the actual game mechanics. We will define how all the objects interact and how we control them. Then, when we build the other versions in the next chapter, we can just ...

Get Beginning iPhone Games Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.