Building Tower Defense Games
Building Tower Defense Games
Codeless Game Construction using Construct2 & Construct3
About the Book
Learn how to create Tower Defense (TD) online games using the techniques covered in this "Building Tower Defense" workshop. This comprehensive workbook guides you through the development of five TD games, along with a dozen additional ideas. The workbook includes source code for both Construct v3 and v2. It's ideal for beginners, experienced web developers, or anyone looking to design their own custom Tower Defense game with unique artwork and features.
Upon completing the lessons in this workbook, you will have a complete production pipeline to create as many "Tower Defense" games as your imagination allows!
My goal is to guide you in developing various styles of Tower Defense (TD) and "Anti-TD" game mechanics. We will explore these game mechanics, innovations, display features, and development methods to develop your own unique game. By the end of this workbook, you will have several fully functional TD games — not just replicas of my game, but your very own original creations using your customized gaming assets.
Additionally, a supporting website is available where you can download all the example content, instructor guides, and PowerPoint slides included with your purchase of this workbook.
The bonus content, downloadable examples, and source code references included in this workbook show you how to implement everything, allowing you to copy and paste any example into your projects and modify the artwork resources to suit your needs. General game licenses are provided with this book, enabling you to publish my Tower Defense game versions if you wish.
This comprehensive guide will teach you how to:
- Use Construct, whether it's version 2 or version 3.
- Integrate Tower Defense (TD) game mechanics into other genres, including RPGs, first-person shooters, educational content, and simulation development.
- Utilize your game as a Progressive Web Application (PWA) or Single Page Application (SPA) for any device.
- Analyze the current market demand for this genre of game and determine where to deploy it.
- Automatically generate a variety of Tower Defense game maps featuring different terrain elements.
Team Discounts
Get a team discount on this book!
Table of Contents
-
-
Preface
- Distribution Permission
- Forewords
- Disclosures
- Disclaimer
-
Workbook Content
- > For Patrons from Amazon and other Book Distributors
- > About this Workbook
- > How to Read & Use this workbook:
- > Viewing the eBook:
- > External Links
- > References Used
- Your newly obtained skills …
- More Resources
- Programming Courses
-
Preface
-
Making Innovative TD Games
-
1 Introduction to Game Design
- 1.1 Approaching Game Development
- 1.2 Focusing Your Game
- 1.3 Developing Storylines & Gamer’s Avatar
- 1.4 Designing The User Interface (UI)
- 1.5 Formulating Good Gameplay
- 1.6 Developing The Logic
- 1.7 Writing The Source Code
- 1.8 Checking For Errors
- 1.9 Preparing For Distribution
-
2 “Tower Defense” Concepts & Design
- 2.1 Our Goal
- 2.2 Typical TD Gaming Features
- 2.3 TD Historical Evolution
-
2.4 TD Artwork & Development Kits
- > FREE “Ultimate Tower Defense” v2.0 Template
-
2.5 Reviewing the TD Gaming Market
- > Top TD Competitors’ Games
-
2.6 Game Mechanics (GM) — Logic & Rules
- > Participation Modes
- > Perspective Modes
- > Gameboard Development
- 2.7 Game Mechanics (GM) — Data Structure
- 2.8 Game Framework Display Mechanisms
- 2.9 Innovative Feature Recommendations
- 2.10 Conclusion: “What & How”
-
1 Introduction to Game Design
-
Part II: Starting a C2 Project
-
3 Lesson 1: C2 “TD” Project
- 3.1 About Your Project
- 3.2 Project Settings:
- 3.3 Configuration Settings
-
3.4 Design Considerations: CMS, PWA, or SWPA?!
- > Creating a C2 SWPA Game Version?
- > Creating a C2 CMS or PWA Game Version?
- > CMS edition
- 3.5 Season to Taste …
- 3.6 Comparing your code
-
3 Lesson 1: C2 “TD” Project
-
Part III: Starting a C3 Project
-
4 Lesson 1: C3 “TD” Project
- 4.1 About Your Project
- 4.2 Project Settings: Color Theme, Start-up & Display
- 4.3 Configuration Settings: Advanced & Editor
-
4.4 Design Considerations: CMS, PWA, or SWPA?!
- > Creating a C3 SWPA Game Version?
- > Creating a C3 CMS or PWA Game Version?
- > CMS edition
- 4.5 Season to Taste …
- 4.6 Comparing your code
-
4 Lesson 1: C3 “TD” Project
-
Part IV: Production
-
5 Tower Defense Gaming Series
- 5.1 Game Descriptions
- 5.2 Tower Defense Gaming Series — “Elevator Speech”
-
6 Lesson 2: “Typical” TD Game Mechanics
- 6.1 Required TD Foundation
-
6.2 Gameplay Layout
- > User Interface (UI)
- > Background Theme
- > Deeper Dive: “Tiled Background” Design Consideration
-
6.3 Gameplay Event Sheet
- > Global Variables
- > Event #1 “On start of layout”
- > Events #2 To #9 — AIBot controller
- > Events #10 To #14 — AI turret control
- 6.4 Comparing your code
-
7 Adding “Innovative” TD Features
- 7.1 (Optional) Configuration Layout
-
7.2 Generating Dynamic Paths & “Mazes”
- > Using “Tilemaps”
- > Generating Random Mazes
- > Multiple Entrances with Single Destination
- > Multiple Entrances & Destinations
- > Advanced “A*” Open Pathfinding
- 7.3 TD Map Editor!
- 7.4 Elite & “Boss” Units Group
- 7.5 Power Up Management Group
- 7.6 Elite Defensive Turrets Group
- 7.7 “Bi-directional” — Multi-Player Gameplay Group!
- 7.8 Changing Game Perspectives Group
-
8 US Civil War — Battle of the Crater™
-
8.1 Design Considerations
- > Historical References
-
8.2 Gameplay Layout
- > User Interface (UI)
- > Background Theme
-
8.3 Gameplay Event Sheet
- > Global Variables
- > Event #1 “On start of layout”
- > Events #3 To #23 AIBot Controller
- > Event #25 To #37 AI CSA Fire Control
- > Event #41 To #51 User Interface (Taps & Clicks)
- > Event #52 To #60 User Interface (roll-overs)
- > Event #61 To #76 Supporting Functions
- 8.4 Comparing your code
-
8.1 Design Considerations
-
9 “Maginot Line Defense™”
-
9.1 Design Considerations — “Bi-directional” TD
- > Prohibited Gaming Symbols & Icons
- > Historical References
- > Published “Wargame” References
-
9.2 Game Flow Sequence & Layouts
- > User Interface (UI)
- > Background Theme
-
9.3 Gameplay Event Sheet
- > Global Variables
- > Event #1 “On start of layout”
- > Event #2 “Game Exit” (Quit!)
- > Events #3 to #77 Advanced Features Groups
- > Events #3 to #22 AIBot Controller
- > Optional Behavior Design for German Regiments!
- > Events #23 to #29 AIBot Fire Control
- > Events #40 to #42 AIBot Panzer Combat Control
- > Events #43 to #53 UI Taps & Clicks
- > Events #54 to #62 UI Touch & Roll-over
- > Events #63 to #77 Supporting Functions
- 9.4 Comparing your code
-
9.1 Design Considerations — “Bi-directional” TD
-
10 “Helm’s Deep” — Lord of the Rings!
-
10.1 Design Considerations
- > Published References
- > Published Games
- > Terrain Feature Descriptions
- > Additional Innovative Features …
-
10.2 Gameplay Layout
- > Other Favorite Maps
- > User Interface (UI)
- > Background Theme
-
10.3 Gameplay Event Sheet
- > Global Variables
- > Event #1 “On start of layout”
- 10.4 Comparing your code
-
10.1 Design Considerations
-
11 “ANTI” Tower Defense — The Gingerbread Man
-
11.1 Gameplay Layout
- > Gingerbread Man Game Perspective
- > User Interface (UI)
- > Background Theme
-
11.2 Gameplay Event Sheet
- > Global Variables
- > Event #1 “On start of layout”
- 11.3 Comparing your code
-
11.1 Gameplay Layout
-
5 Tower Defense Gaming Series
-
Starting Your Game Studio!
- 12 One “GM” to Rule them all!
-
13 Capstone “Practicum”
- 13.1 Reality Themes!
-
13.2 Historical Themes!
- > Battle of Little Big Horn — “Custer’s Last Stand”
- > “Luftwaffe” Raids
- > Battle of the Bulge
- > Napoleon at “Borodino”
- > Napoleon at “Waterloo”
- > Battle of Agincourt
- > Battle of the Alamo
-
13.3 Fantasy Themes
- > Chronicles of Narnia — The Last Battle
- > Battle of the Five Armies (Lord of the Rings)
-
13.4 ANTI-Tower Defense Themes
- > Death Star (Star Wars)
-
14 What’s next?
- 14.1 Game Distribution & Marketing
- 14.2 Introduction: 8-Step Deployment Method.
- 14.3 Port to a Console
- 14.4 Selling Directly — The Advantages
- 14.5 Book Review Protocol
- 14.6 Tell the world about your game!
- 15 Conclusion
-
Appendix — Reviving Former TD Games
-
Atari Ramparts
- Construct’s “Rampart” Version
-
Desktop Tower Defense
- Construct’s “Desktop Tower Defense” Version
-
Flash Elements TD
- Construct’s “Elements TD” Version
-
Atari Ramparts
- Notes
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them