9. Making the Game Engine by Daniel Schuller

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

Chapter 9. Making the Game Engine

The previous chapters have developed an excellent reusable body of code. Rather than copy this code from project to a project, it should be collected together in its own awesome engine library. It can then be shared by several game projects so that all changes and improvements happen in one place.

A New Game Engine Project

The game engine project will be unlike any of the projects we’ve created so far. The game engine doesn’t run by itself; instead, it is used by a separate game project. This means the game engine is more correctly referred to as a library rather than a program. As you learn more techniques, you can add more code to this library and tune it to your needs. Figure 9.1 shows how the library can be ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required