© Casey Hardman  2020
C. HardmanGame Programming with Unity and C#https://doi.org/10.1007/978-1-4842-5656-5_26

26. Tower Defense Design and Outline

Casey Hardman1 
(1)
West Palm Beach, FL, USA
 

It’s time to start our next project – a little tower defense game. We’ll get some practice using inheritance, learn how to perform basic pathfinding for our enemy AI, get some experience with collision detection through scripts instead of colliders, and learn to use the newest UI features of Unity.

Gameplay Overview

If you’re unfamiliar with the genre, a tower defense is a game where the player places structures (towers) on the playing field which defend against oncoming enemy attackers. One level at a time, enemies spawn in at a certain location and attempt to ...

Get Game Programming with Unity and C#: A Complete Beginner’s Guide 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.