Game Development Reference
In-Depth Information
Chapter 14. Sample Game: Tower Defense for PC/
Mac
The tower defense genre has been around for many years, but its pop-
ularity 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
Beforeyoureadthischapter,youshouldvisit the topic' swebsiteanddownloadthe
source code for this game. The link to the source code, along with instructions on
how to build it, can be found at http://gamealgorithms.net/source-code/defense/ .
Once you've got the game running and have played it, you're ready to continue
on. But before we dive into the code analysis, let's take a brief look at the different
technologies used to make __Defense (pictured in Figure 14.1 ).
Search WWH ::




Custom Search