This chapter has demonstrated the fundamental principles behind designing a 2D scene manager complete with layers, z-ordering, and scene object relationships. The concept behind scene managers will be applicable to most types of games, whether 2D or 3D.
This chapter concludes our discussion of 2D games. Before moving on, I recommend reading through the companion code and creating a number of sample applications using a 2D scene manager.
The next two chapters examine games in 3D, and specifically a library called OGRE, which will be used to develop such games.