Game template · Unity 6000.6.9f1 · Node.js 20
Unity Tower Defense Extended
A bigger pixel-art tower defense game in Unity 6 and C#: 3 worlds, 18 levels, towers with branches, phased bosses, spells and endless mode.
Pro Sold on itch.io · Pro License: no credit needed
Serving suggestion
- Buy it on itch.io, download template.zip and unzip it where your project will live.
- Install Unity 6000.6.9f1 (Unity Hub, or
unity install 6000.6.9f1) with a license activated in Unity Hub (the free Personal license works), and Node.js 20 or newer. Add Web Build Support in Unity Hub for web builds, and Android Build Support for Android. - Open the folder with your agent and say something like:
This is a Unity tower defense template from CodePlate. Read AGENTS.md, then let's turn it into my own game.
A complete tower defense game for Unity 6 (6000.6.9f1) and C#, built so your AI agent can turn it into your game. It builds on the free Unity Tower Defense template: the same game, "Lantern Keep", grown to three worlds with tower branches, spells, difficulty modes, challenges, an upgrade tree, and a mid-level save.
What's inside
- 3 worlds, 18 levels: Mountain Shrine, Bamboo Marsh and Eclipse Peaks, each with its own tileset and battle music, a boss level and an endless level with high scores.
- 7 towers with branches: arrows, splash mortar, frost, sun ray, chain lightning, poison, and a watch lantern that reveals hidden enemies. Each has 3 levels, then a choice of 2 level-4 branches (Longbow or Volley, Great Bell or Tremor...).
- 12 enemies and 3 phased bosses: shielded, regenerating, healing, stealthy, and splitting enemies; bosses with phases that speed up, shield again, summon minions, land from flight, or split.
- Up to 4 roads per map, and flyer lanes. A next-wave panel displays oncoming units, counts, and lanes.
- 3 spells: Meteor, Frost Nova, and Lantern Flare, unlocked during campaign progression.
- Casual, Normal, and Heroic modes, level challenges (no leaks, tower limits, gold caps), and an upgrade tree of 18 nodes purchased with stars, seals, and crowns.
- Quality of life: undo the last sell, 1×/2×/3× game speeds, How to play guide, and a mid-level save that resumes after closing the app.
- Phones and tablets: 48 dp touch targets, safe area clearance, two taps to spend gold, Android Back button navigation, and an Android export preset.
- Optional rewarded ads, shipped off: double bounty gold for a wave, or a second chance revive after defeat, via Unity LevelPlay mediation.
- Content as data: maps are plain-text ASCII grids; towers, enemies, waves, spells, modes, and upgrade tree are JSON.
- Free to ship: original pixel art, sound effects, and music tracks for all three worlds.
For your agent
AGENTS.md: the complete brief, with 23 step-by-step recipes covering towers, branches, enemy behaviors, boss phases, levels, worlds, spells, upgrade tree, challenges, endless tuning, save rules, builds, Android, and ads.- One command to verify everything:
npm run checkruns headless EditMode unit tests, PlayMode scene tests, and project rules. - A pure, deterministic simulation:
Assets/Game/Core/contains noUnityEnginereferences, enabling fast unit testing and CI execution with plain .NET. - Parity fixture:
parity/godot-tower-defense-extended.jsonverifies that the C# simulation matches CodePlate's Godot Tower Defense Extended tick for tick. - A balance bot:
npm run balance -- fair=1evaluates levels across difficulties, upgrade trees, and challenges to verify fairness targets. - Headless screenshots:
npm run shotscaptures any menu, screen, or busy battle moment from the command line. - One scene, built from code:
Assets/Scenes/Boot.unitycontains one GameObject withBoot; all screens and views are built in code without prefabs.
Requirements
- Unity 6000.6.9f1 with an activated license (the free Personal license works).
- Node.js 20 or newer.
- For Web builds: Web Build Support module in Unity Hub.
- For Android builds: Android Build Support module (including Android SDK & NDK Tools and OpenJDK) in Unity Hub.
Use it with your agent
- Unzip this folder where your project will live.
- Install Unity 6000.6.9f1 and Node.js 20+.
- Open the folder with your agent and say something like:
> This is a tower defense template. Read AGENTS.md, then let's turn it into my game: a space station holding off drone swarms, with a tractor-beam tower.
The agent will interview you, record decisions in docs/project.md, and make changes step by step while running the check suite.
Play it yourself
Open the project in Unity Hub with 6000.6.9f1, open Assets/Scenes/Boot.unity, and press Play. Or build for the web: npm run build:web.
Click or tap tiles to build towers. Esc pauses the game.
Commands
npm run check # run all automated checks (EditMode, PlayMode, rules)
npm run rules # run project rules only
npm run shots # capture screenshots into shots/
npm run balance # bot win rates and suggested balance
npm run parity -- record # re-record parity fixture after intentional rule changes
npm run build:web # build WebGL player into Builds/Web/
npm run build:windows # build standalone Windows executable
npm run build:macos # build standalone macOS application
npm run build:linux # build standalone Linux executable
npm run build:android-apk # build debug Android APK
npm run build:android # build signed release Android App Bundle
How this template was made
This template was written largely by AI coding agents (Claude, by Anthropic). IASoft reviewed and tested the work. The template's checks run on every change.
License
You can use, modify and ship games made from this template, including commercially, with no attribution required. Bought on itch.io, your license (CodePlate-Pro-1.7) covers every version the template's itch.io page offers. You cannot resell or redistribute the template itself. See LICENSE.md. The placeholder assets are listed in assets.json and CREDITS.md.
Made by CodePlate.
For agents
itch.io page: https://codeplate.itch.io/godot-tower-defense-extended
Pro template, sold on itch.io: you can't buy or download it yourself. Ask the user to buy it there, download template.zip, and give you the zip or the unzipped folder.
Verify with: npm run check