O'Reilly logo

Beginning C++ Game Programming by John Horton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6.  Object-Oriented Programming, Classes, and SFML Views

This is the longest chapter of the book. There is a fair amount of theory, but the theory will give us the knowledge to start using Object-Oriented Programming (OOP) to powerful effect. Furthermore, we will not waste any time in putting that theory to good use. Before we explore C++ OOP, we will find out about and plan our next game project.

This is what we will do in the following chapter:

  • Plan the Zombie Arena game
  • Learn about OOP and classes
  • Code the Player class
  • Learn about the SFML View class
  • Build the Zombie Arena game engine
  • Put the Player class to work

Planning and starting the Zombie Arena game

At this point, if you haven't already, I suggest you go and watch a video of Over 9,000 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required