Game template · Godot 4.7.2
Godot Tower Defense Extended
A bigger pixel-art tower defense game in Godot 4: 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 Godot 4.7.
- Open the folder with your agent and say something like:
This is a tower defense template from CodePlate. Read AGENTS.md, then let's turn it into my own game.
A complete tower defense game for Godot 4.7, built so your AI agent can turn it into your game. It builds on the free Godot Tower Defense template: the same game, "Lantern Keep", grown to three worlds with everything below built in and checked.
What's inside
- 3 worlds, 18 levels: Mountain Shrine, Bamboo Marsh and Eclipse Peaks, each with its own tiles and battle music, a boss level and an endless level with a high score.
- 7 towers with branches: arrows, a splash mortar, frost, a 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 bosses: shielded, regenerating, healing, stealthy and splitting enemies; bosses with phases that speed up, shield again, call helpers, land or split.
- Up to 4 roads per map, and flyer lanes. A next-wave panel shows what comes and from which cave.
- 3 spells: Meteor, Frost Nova and Lantern Flare, unlocked as you go.
- Casual, Normal and Heroic, a challenge on every level (no leaks, a tower limit, or less gold), and an upgrade tree of 18 nodes bought with stars, seals and crowns.
- Quality of life: undo the last sell, 1×/2×/3× speed, a How to play page with every tower and enemy, and a mid-level save that resumes after the app is closed.
- Phones and tablets: thumb-sized buttons, the safe area and gesture bar kept clear, two taps to spend gold, Android's Back button on every screen, and an Android export preset.
- Optional rewarded ads, off as shipped: double gold for a wave, or a second chance after a defeat, through AdMob, with consent and the Play Console steps written out. Tested on the Android emulator with Google's test ads; iOS is untested by CodePlate.
- Content as data: maps are ASCII text; towers, enemies, waves, spells, modes and the tree are JSON.
- Free to ship: original pixel art, sound effects and music for all three worlds.
For your agent
AGENTS.md: the brief, with 21 step-by-step recipes (a tower with branches, a new enemy ability, a boss phase, a level, a world, a spell, the tree, a challenge type, endless tuning, the save's rules, ads, Android) and a full content reference.- A deterministic simulation with no nodes: every player action is a command, so the bot, the screen and a resumed save all play the same game. 190 headless checks cover the rules, the content, every screen at four phone and tablet shapes, the save and the ads.
- A balance bot. It plays every level on every difficulty, with and without the upgrade tree, with each challenge, and every endless level to its end; the checks fail a level that misses its targets.
- A screenshot tool that fast-forwards into a battle, so the agent can see what it changed.
Use it with your agent
- Unzip this folder where your project will live.
- Install Godot 4.7.
- Open the folder with your agent and say something like:
> This is a tower defense template. Read AGENTS.md, then let's make it mine: a space station holding off drone swarms, with a tractor-beam tower.
Run it yourself
godot --path .
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. Bought on itch.io, your license covers every version the template's itch.io page offers. You can't resell or share 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: godot --headless --path . --import && godot --headless --path . --script res://addons/codeplate/checks/run.gd