Game template · Godot 4.7.2
Godot Action RPG
A top-down pixel-art action RPG in Godot 4: bosses, quests, dialogue, lanterns as save points, all content in text.
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 an action RPG template from CodePlate. Read AGENTS.md, then let's turn it into my own game.
A complete top-down pixel-art action RPG for desktop, the web and phones in Godot 4.7, built so your AI agent can turn it into your game. The game as shipped is "Thistlewick": the valley's lantern-lighter is missing, and you, the apprentice, relight the lanterns on the way through a cave, a crypt and a keep.
What's inside
- The story: the ember golem waking in Ember Keep has put out the valley's lanterns. Relight them through the Mossy Cave, the Sunken Crypt and Ember Keep, then put the golem back to sleep. About 15–20 minutes to finish.
- Lanterns as save points: lighting one saves the game and refills HP and MP. After a fall, you go back to the last lantern you used, with the world as it was then. A lantern is one line in a map file.
- Combat: sword swings with knockback, a spark bolt that costs MP, a dodge roll, a quick-potion key. Hits land with a short hit-stop, a shake sized to the blow and pixel damage numbers; every enemy attack winds up with a sign and a sound before it lands, so you can dodge it.
- 5 enemies with 4 behaviours and 2 bosses: slimes, bats, charging boars, skeleton archers and magma slimes; the Slime King and the Ember Golem, with telegraphed slams, fireball fans and summons, built from an attack list you edit as data.
- An RPG underneath: levels, 14 items, weapon, armor and charm slots, 2 shops, chests, small keys and big keys, 5 NPCs with branching dialogue, 3 quests (a main quest and 2 side quests) with a quest log.
- 4 areas (the village and 3 dungeons) with 5 lanterns; maps are ASCII grids with readable header lines, and items, enemies, NPCs, dialogue, quests and shops are JSON.
- Saves: 3 slots, a checkpoint at every lantern, autosave on entering an area, a versioned format with migrations so old saves keep working.
- Screens: title, save slots, settings (with Reduce motion and Touch controls) and credits, HUD, dialogue box, shop, inventory and quest menu, pause, game over, victory.
- Controls: keyboard, gamepad, and touch: a floating stick and 9 mm buttons in the right thumb's reach, shown after a touch (or always, or never, in Settings).
- Phones: landscape, pixel-perfect at any shape (wider phones and tablets see more of the world), kept clear of notches and the gesture bar, Android's Back button on every screen, launcher icons, a Reduce motion setting.
- Optional rewarded ads, off as shipped: turn them on and a fall offers "Watch an ad: get up here" (half HP, once per area), and a beaten boss offers its gold again for an ad (once per boss). Going back to the last lantern stays free. The consent form and a Privacy choices setting come with it, plus a recipe for AdMob and the Play Console. As shipped there's no ad code running and no ad SDK in the project.
- Free to ship: original pixel art, sound effects and four music loops, with the Python scripts that made them (
tools/art/rpg_art.py,tools/art/rpg_sound.py), so new art and sounds keep the same look and the same levels.

For your agent
AGENTS.md: the brief, with 24 step-by-step recipes (a re-theme, the screens, a new area, a map edit, a new enemy behaviour, a boss, a quest and a new objective, items and shops, an ability, lanterns and saves, combat, the economy, balance, touch controls, sounds, performance, ads, web, Android and iOS) and a content reference.- Bots that play the whole game. They follow
content/walkthrough.json(travel, fights, talks, shops, keys, lanterns, bosses). A perfect bot must finish every quest without dying; a steady and a casual bot react late and miss dodges like people, and checks hold them to balance targets: how often they fall, how long they play, the hero's level and HP at each boss, potions on hand. Content edits can't silently make the game unbeatable or lopsided.tools/balance.gdprints the report. - A deterministic simulation with no nodes, and 128 headless checks of its own: every rule, content file, save and screen, every screen in 8 phone, tablet and desktop shapes, Back on every screen, recorded touches on the real game, performance budgets, and the docs themselves.
- Content validation that names the file, line and column, and a reachability check for every chest, NPC, lantern and exit.
- A screenshot tool that fast-forwards to any point of the story, opens dialogue, menus and shops, and stands the hero in front of a boss or a lantern, so the agent can see what it changed. A contact sheet puts all 20 screens in one picture, plus three of them in phone and tablet shapes.
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 an action RPG template. Read AGENTS.md, then let's make it mine: a fox knight saving a forest kingdom from a blight, with a bow instead of the spell.
Run it yourself
godot --path .
Arrows/WASD move, Z/Space attack and talk, X spell, C/Shift roll, Q potion, I menu, Esc pause. On a touch screen, the left thumb moves and the buttons on the right attack, cast, roll and drink.
Platforms
- Desktop: Windows, macOS and Linux from the same project (
docs/recipes/export.md). Run by CodePlate on Linux only: 60 fps. - Web: a single-threaded export that runs on any static host, itch.io included. In desktop Chrome it holds 60 fps and Firefox 54–60; the title shows about a second after the page loads, and the game file is 1.7 MB on top of Godot's engine. Not tested in Safari.
- Android: a landscape APK preset (arm64). Tested on an Android 15 emulator: touch, Back, the notch, 60 fps. Not yet tested on a real phone;
docs/recipes/performance.mdhas the checklist. - iOS: a recipe, untested by CodePlate.
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 art and sound are listed in assets.json and CREDITS.md.
Made by CodePlate.
For agents
itch.io page: https://codeplate.itch.io/godot-action-rpg
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