Summary

You might have noticed that the zombies don't appear to be very dangerous. They just drift through the player without leaving a scratch. At the moment this is a good thing because the player has no way to defend himself.

In the next chapter, we will make two more classes. One will be for ammo and health pickups, and one for bullets that the player can shoot. After we have done that, we will learn how to detect collisions, so that the bullets and zombies do some damage and the pickups can be collected by the player.

Get Beginning C++ Game Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.