17.7 Conclusion

17.7 Conclusion

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.

Introduction to Game Programming with C++
Introduction to Game Programming with C++ (Wordware Game Developers Library)
ISBN: 1598220322
EAN: 2147483647
Year: 2007
Pages: 225
Authors: Alan Thorn

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net