An AI tower defense maker where the numbers are yours to set
Tower defense is a genre where the map and the maths are the game. Flockbay builds the map from a brief you approve and writes the tower, wave and pathing code, so the part you tune is the part that decides whether it is fun. Move a choke point by hand in the Godot editor, or ask for the change, and play the wave again. Free AI to start: Flockbay's AI and your own Claude, ChatGPT, agent or API key are free for your first build; after that, a plan keeps you building. It runs on Windows, macOS and Linux, on the official Godot engine.
The main page on this subject is A tower defense game maker where the balance is the whole job.
AppImage, x86_64. Ubuntu 22.04, Debian 12, Fedora 39 or newer.
Intel or AMD Chromebook, with Linux turned on.
The map is the design document
In tower defense, almost every design decision is spatial. How long the lane is. Where it narrows. Whether there is a second path that opens on wave nine. How much buildable ground sits beside the choke point, and whether a player who commits everything to it gets punished later. None of that is a word count. It is a shape, and a shape is judged by looking at it and playing it.
So Flockbay builds the shape from the brief you approved: the terrain, the lane, the buildable plots and the props, as real nodes in the scene tree. Then it plays a wave and captures the viewport to check it. Your part is walking the lane at the scale a creep walks it, which is the only reliable way to find out that the beautiful S-bend is three times longer than it looked from above.
This is why a prompt-only tool struggles with the genre. Describing a map in words and hoping the result is balanced has a worse feedback loop than looking at it. Sometimes you want to move a rock four metres and look again, and you can: Godot's own editor is right there, and Godot's undo takes it back.
More on this: AI MOBA maker: a MOBA is mostly balance, and balance is play testing
Flockbay writes the systems underneath
The code for a tower defense game is not conceptually hard, but there is a lot of it, and it is the sort of code that breaks in boring ways. Pathfinding that reroutes when a player walls off a lane. Wave spawners with per-wave composition. Towers with range, fire rate, damage type, targeting priority and an upgrade tree. Currency, sell values, interest on unspent gold if you want it.
Flockbay writes that as GDScript inside your project. You describe what you want in ordinary language: slow tower that stacks up to forty percent, ignores armoured enemies, and costs more each time you place one. It writes it and you play it.
You will not be asked to read the script. You will be asked whether wave twelve feels like a wall or a difficulty spike, which is a judgement only someone playing it can make.
More on this: AI bullet hell maker: patterns are maths, and maths is code
Balancing is a loop, not a setting
Every tower defense game lives or dies on its numbers, and no tool can guess them for you. What a tool can do is make each pass cheap. Change the creep health curve, press play, watch wave seven, change it again. Ten minutes per iteration kills a design. Ten seconds does not.
Because the game runs locally on the copy of Godot bundled with the app, pressing play is immediate and the framerate is your machine's, not a server's. That matters once you have sixty enemies pathing at once, which is a modest wave by the standards of the genre and a heavy one by the standards of a browser tab.
When something is off, you say so in plain terms. Splash damage feels too generous. The early game is boring for the first three waves. Flockbay revises the code and you go again.
More on this: An AI tycoon game maker for the simulation underneath
Where the genre gets interesting
The reason to build tower defense in a real engine rather than a genre-specific template is that you are not restricted to the template's idea of the genre. Towers that reposition. Enemies that dig under the lane. A second lane that only opens once wave nine is cleared. On the 3D side, weather that changes tower range and a lane that floods on a timer, because the world underneath supports both.
None of that is a feature you unlock. It is a consequence of the project being a normal Godot project with code written for it on demand rather than a fixed set of behaviours you pick from a menu.
It also means the game is yours in a practical sense. The files sit on your disk, in the format Godot reads, and nothing about them depends on Flockbay continuing to exist.
More on this: Godot tower defense templates, and the half they leave you
What this is not
It is not a browser tool. Flockbay is a desktop application for Windows, macOS and Linux that you download and install, and the game runs on your machine. If what you wanted was a tab you could open on a school computer, this is not that, and pretending otherwise would waste your afternoon.
It is also not offline. The chat and asset generation come over the network, so you need a connection to build. Playing the game you built does not need one.
And it is not a one-click genre generator. You will approve a brief, play the map, tune the numbers, and decide when it is fun. That is the work. What is removed is the building, not the design.
A starting project for this is the strategy game templates. The design note that goes with it is how level design tells a story.
Questions
- Do I need to write any code for the towers?
- No. Flockbay writes the GDScript for towers, waves, pathing and economy inside your project. You describe the behaviour you want and play the result.
- Can I make a 2D tower defense game?
- Yes, and it is a first-class path rather than a workaround. The brief settles 2D or 3D before anything is built. In 2D the lane crosses a TileMapLayer, whose TileSet terrains give the edges and the collision, and towers and creeps are sprites. In 3D the map gets height instead, from a terrain plugin or a GridMap. The same chat builds either.
- How many enemies can be on screen?
- That depends on your machine rather than on us, because the game runs locally on the bundled Godot rather than streaming from a server. There is no fixed cap imposed by the tool.
- Is it free?
- The download is free. Free AI to start: Flockbay's AI and your own Claude, ChatGPT, agent or API key are free for your first build; after that, a plan keeps you building. Flockbay builds from a library of ready-made objects, or with Godot's own shapes.
- Can I sell the game I make?
- It is your Godot project on your disk. Nothing in the format ties it to Flockbay.
Free to download for Windows, macOS and Linux. Get the map built, tune the waves, play it locally.
Download Flockbay free