Game template · Unity 6000.6.9f1 · Node.js 20
Unity Action RPG
A top-down pixel-art action RPG in Unity 6 and C#: 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 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 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 Unity 6 (6000.6.9f1) and C#, built so your AI agent can turn it into your game. It is the Unity twin of the Godot Action RPG: the same four areas, ASCII maps, hero, enemies, quests and bosses, ported to Unity and checked against recordings of the Godot 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 to 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 hit-stop, a shake sized to the blow and pixel damage numbers. Charges, shots and boss attacks wind up with a sign and a sound first; slimes and bats hurt by touch.
- 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.
- An RPG underneath: levels, 14 items, weapon, armor and charm slots, 2 shops, chests, small keys and big keys, 5 NPCs with branching dialogue, and 3 quests with a quest log.
- 4 areas with 5 lanterns. Maps are ASCII grids with readable header lines; items, enemies, NPCs, dialogue, quests and shops are JSON under
Assets/Resources/. - Saves: 3 slots, a checkpoint at every lantern, autosave on entering an area, and a versioned format with migrations so old saves keep working.
- Screens: title, save slots, settings and credits, HUD, dialogue box, shop, items and quests menu, pause, game over and 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).
- Phones: landscape, pixel-perfect at any shape (wider phones and tablets see more of the world), clear of notches and the gesture bar, Android Back on every screen, launcher icons, Reduce motion.
- Optional rewarded ads, off as shipped: turned on, a fall offers "get up here" (half HP, once per area) and a beaten boss offers its gold again (once per boss). Back to the last lantern stays free. LevelPlay integration, a stand-in ad for test builds and the recipe to switch them on are included.
- Free to ship: original pixel art, sound effects and four music loops.

For your agent
AGENTS.md: the brief, with 28 step-by-step recipes covering a re-theme, screens, areas, maps, enemies, behaviours, bosses, quests, items, shops, abilities, lanterns, saves, balance, combat, the economy, touch controls, a minimap, sound, performance, builds, Android, iOS, ads, rule snapshots and Unity pitfalls.- A deterministic simulation in
Assets/Game/Core/, an assembly with no Unity references, so CodePlate's CI runs its tests with plain .NET and the game is decided by content, config, seed and inputs. - 187 automated tests plus project rules, run by
npm run check. The PlayMode tests load the real scene and cover the screens, touch, Back, settings, audio and the budgets. - Bots that play the whole game from
Assets/Resources/Content/walkthrough.json. A perfect bot must finish every quest without dying; steady and casual bots model people and hold the balance targets.npm run balanceprints the report. - Parity with the Godot twin:
parity/godot-action-rpg.jsonrecords Godot's outputs for the same cases, andAssets/Tests/EditMode/ParityTests.csreplays them.npm run parity -- recordis for deliberate rule changes. - Screenshots of any point in the story:
npm run shotsopens dialogue, menus and shops, stands the hero in front of a boss or a lantern, and writes a PNG the agent can inspect.npm run contact-sheetputs every sprite, strip, tile set and icon inassets.jsonin one labelled PNG. - One scene, built from code:
Assets/Scenes/Boot.unityholds one GameObject withBoot; there are no 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 in Unity Hub.
- For Android builds: Android Build Support with 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 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.
The agent will interview you, record the decisions in docs/project.md, and work in steps while running the checks.
Play it yourself
Open the project in Unity Hub with 6000.6.9f1, open Assets/Scenes/Boot.unity, and press Play. Or build the web player with npm run build:web and serve Builds/Web/.
Arrows/WASD move, Z/J/Space attack and talk, X/K cast, C/L/Shift roll, Q potion, I/Tab menu, P pause, Esc Back. On a touch screen the left thumb moves and the right thumb's buttons attack, cast, roll and drink.
Commands
npm run check # EditMode tests, PlayMode tests and project rules
npm run rules # project rules only, no Unity launch
npm run shots # screenshots into shots/
npm run contact-sheet # every image in assets.json in one labelled PNG
npm run balance # the three bots, five seeds, every balance target
npm run playthrough # the perfect bot step by step
npm run parity -- record # re-record the parity fixture after a deliberate rule change
npm run perf # frame rate, frame times and memory while a bot plays
npm run build:web # web build into Builds/Web/
npm run build:windows # Windows build into Builds/Windows/
npm run build:macos # macOS build into Builds/macOS/
npm run build:linux # Linux build into Builds/Linux/
npm run android # debug Android APK into Builds/Android/
npm run build:android # signed Android App Bundle for Google Play
Platforms
- Web: a Brotli build with decompression fallback, so any static host works, itch.io included. Saves use IndexedDB. The 1.0.0 build is 13.7 MiB compressed. Tested in Chromium at desktop and phone sizes, not in Safari.
- Android: a debug APK and a signed Play bundle (ARM64, target SDK 36). A test APK ran on an Android emulator. Not yet tested on a real phone.
- Windows, macOS and Linux: build support modules produce them. CodePlate has not run these builds.
- iOS: a recipe only; CodePlate has not built or run it.
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 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: npm run check