Chapter 14. Sample Game: Tower Defense for PC/Mac

The tower defense genre has been around for many years, but its popularity really took off in custom maps for games such as StarCraft and Warcraft III. It’s such a popular genre that today there are many tower defense games on nearly every gaming platform.

This chapter takes a look at a sample implementation of a futuristic tower defense game called __Defense. It is fully rendered in 3D, though the gameplay occurs on a 2D plane. The code for this game was written in C# using the XNA/MonoGame frameworks.

Overview

Before you read this chapter, you should visit the book’s website and download the source code for this game. The link to the source code, along with instructions on how to build it, ...

Get Game Programming Algorithms and Techniques: A Platform-Agnostic Approach now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.