r/aigamedev • • 22h ago Bravo

Demo | Project | Workflow i used fable 5.2 to make this wizard sandbox game šŸ§™ā€ā™‚ļø

826 Upvotes

A browser sandbox where you're a wizard with nine spells and a hamlet that really breaks: fire that spreads, a black hole, a tornado, winding back time, and a cut you draw across the screen.

All the code was written by Claude Fable 5.2 in Claude Code. I directed and playtested. The loop was simple: it changes one thing, gives me a build, I play it and say what feels wrong, repeat. The world is drawn entirely by code, with no models or textures, and every building is separate stones and beams on GPU physics (three.js + WebGPU), so things break the way you hit them.

What made it work was letting it check itself. It runs the game headless, takes before and after screenshots of the same shot, and measures things like frame time, so I mostly reviewed builds that already worked. Where it's weak is feel. The slicing spell took a lot of rounds of me saying "still feels flat" before it landed. It also can't hear, so I judged all the sound, and it over-builds if you let it, which is why small steps mattered.

Not AI: the wizard and his animations are from Mixamo and the sounds are recorded libraries. The spell icons came from an image model.

Alpha is free in the browser if you want to try:

https://patch.gg/play/blendi/small-magic


r/aigamedev • • 7h ago

Media Welcome to r/aigamedev, where we collectively realize making a game is 10% coding and 90% everything else.

Post image
367 Upvotes

r/aigamedev • • 11h ago Bravo Heartwarming

Tools or Resource What I've learned making games with AI coding agents (a long, practical guide from a game dev since 2004)

205 Upvotes

Some background first, so you know where this is coming from. I've been making games since 2004, with my own small studio, Ramza Engine (https://ramzaengine.com): online games, engines, events for devs, the usual long road. I still make games both ways, with AI and without it.

For the last many months I've also been building games part time with AI coding agents, on top of my regular work. Several projects, different genres. On those I design, play and decide, and I don't read the code. The AI writes all of it: gameplay, UI, shaders, build scripts, tests, and the tools that test the tests.

I think the twenty years without AI are a big part of why this works for me at all. I already knew what a design doc, a milestone and a playtest are for. The AI changed who types the code. It didn't change what a game needs. Honestly, most of this guide is old studio habits, adapted for a team member who forgets everything overnight.

People always ask what else the AI made, so here it is, no hiding:

  • The 3D models are built in code by the AI, from shapes and noise, with open CC0 base meshes where it needs one.
  • Textures and effects are painted by shaders and scripts it wrote.
  • Animations are partly procedural and partly from a licensed motion library.
  • Sound effects come from licensed packs. A script the AI wrote cuts and levels them.
  • A few placeholders were made with AI image, voice or music tools. They're disclosed where the store asks, and I'm replacing them.

I'm not here to sell anyone on AI. It costs real money, it eats a lot of my time in review, and it's confidently wrong often enough that half of this post is about catching it. But it does work, if you treat it like a studio and not like a vending machine.

The short version

  1. You're the director. You decide the design and the taste, it does the engineering, and you judge by playing and looking, never by its report.
  2. Write everything down in files it reads every session. It forgets everything between sessions; the files are its memory.
  3. Keep a list of the ideas you rejected, with the reason. Otherwise you'll be rejecting the same ones forever.
  4. Never accept "done". Ask for proof.
  5. Measure performance. Don't guess, and don't let it guess.
  6. Make the game deterministic from day one.
  7. Every change gets a version, a changelog line and a commit. It commits; it never pushes.
  8. One job per session, and keep sessions short.
  9. Every mistake becomes a written rule, so you only pay for it once.

1. Your job and its job

The big surprise for me was that I don't need to understand the code to direct it well. What I do need is to be very clear about what I want, and very hard to convince that something works.

What stays with me: the design (what goes in, what doesn't), the taste (how it looks and feels), the difficulty philosophy, the story and the tone, picking between the options it shows me, and playing. Playing finds things no test ever will.

What I hand over: all the engineering, including the choices I don't care about (data structures, caching, where code lives), proving its own work, telling me plainly what it couldn't check, and asking me only when a decision is really mine.

Write that split down for it, literally. Mine says: "Ask when a design decision is theirs (looks, balance philosophy, lore, what goes in). Do the obvious engineering yourself." Before I had that line, I got one of two things: questions about variable names, or a quiet redesign of my difficulty curve. Neither is fun.

Also tell it how you want to be talked to. I'm a designer first, so my file says explain in plain language, tell me what changed in the game and not which functions you touched, answer first, keep it short. That one rule saved me more reading than I can count.

2. Planning the game

With AI, adding things is cheap. That sounds great until you notice the danger flipped: the question stops being "can we build this?" and becomes "why did we build forty shallow systems and none of them is fun?". Plan against that.

Before any code, I want three things:

  • A one-page pitch. What the player does minute to minute, over hours, and what makes it different. The AI goes back to it whenever it has to make a call.
  • A few pillars, and what they rule out. Something like "no grinding: every upgrade is found, never bought". One sentence like that kills dozens of suggestions before they happen.
  • A short design doc per system, before it's built. I usually ask for a draft with the open questions at the end, answer them, and only then say "build it". The decisions are what matter: numbers, edge cases, what happens when it fails.

Pick a structure the AI is good with. This matters more than the engine.

  • All balance numbers in one tuning file. Never inline. You can tweak them, it can find them, and a debug panel can show them live.
  • Data separate from code: items, enemies, levels and dialogue in data files.
  • One file per system, talking through events ("enemy_hit", and audio, effects and the UI listen). Agents are much better with small focused files than with spaghetti.
  • Every player action as a validated command, in one place. Replays, undo or networking get much easier later.
  • Seeded randomness from the start (more on why in section 8).
  • A versioned save format from day one. Once real players have saves you can't break them, and bolting this on later hurts.

Grow it in rings. One tiny loop working end to end first (move, act, win or lose), then make it deeper, then add the next system. My rule now is deepen before adding. "Lots of shallow systems" is the complaint I fear most from players, and the AI will happily give you lots of shallow systems.

Your first version's assumptions will come back to bite you. Code written when there was only one of something (one level, one player, one currency) keeps assuming it long after there are several, and you get small wrong things everywhere. What fixed it for me: the linter now fails if anyone uses the first one's name as a default. Tell the AI early which "only one" won't stay that way.

3. Starting a new game: prototype the scary part, then hand it off

This is how my newer projects start. I learned it the hard way on the first one.

Mash up a concept, then turn it into rules. One of them started with "what were the best things in a few old games I loved, and what could you build with that today?". I had the AI research what players loved about the genre and what they kept complaining about, in reviews and forums. The complaints turned into design rules that no stage is allowed to break. From a survival prototype:

  • "Any way of surviving is valid. Never build something whose only purpose is to beat a clever defence."
  • "Loot depends on the place and the container, never on the player's level."
  • "Nothing pops into existence in front of a player."
  • "Every survival detail (thirst, heat, cold) can be turned off."

Prototype the question that scares you, before any features. For that survival game it was "can a browser engine actually run a real horde?". A throwaway tech prototype answered it: hundreds to thousands of enemies, measured, way more than the genre usually manages. For a space combat idea, phase 0 is a grey-box dogfight and absolutely nothing else.

Give every phase an exit test that you can check, not the AI. The space one reads: "I play three 10-minute dogfights with the mouse and three with a gamepad, and say the flying is fun. The benchmark holds 60 fps with about 150 AI ships. No console errors in a 30-minute session." Plus an out-of-scope list (no missions, menus, story or final art in phase 0), so it doesn't wander off and build a main menu.

Hand it off as a package. When an idea turns into a real project it gets its own folder: a design doc, a phased plan with a "decisions already made, don't reopen" section, a kickoff prompt to paste into a fresh session, and a short handover file. My kickoff prompt ends with "Before writing any code, confirm three things with me in one message: the project layout, the exact files you'll copy from my other game, and the version scheme." One cheap question up front beats finding a wrong layout a week later. And "copy only the listed pieces, never fork it, never touch the old project" keeps the old game safe.

Long plans go in numbered stages. Each stage is its own version, commit and short report with pictures. After each one there's a new entry at the top of a "try this" file: what to press, what to look for, and what question it helps me answer. Some stages are stop-and-play points, and nothing after them starts until I've actually played.

Tell it your priorities, in order. For the survival game: features first, then looks, then performance (already answered by the prototype), balance last. Without that it'll burn stages tuning numbers you're going to change anyway.

Put the hard requirements in from line one. Co-op decided on the host from the very first system. Every system saved, with a save-then-load test. Every new system can be switched off, so old benchmarks still run the same. Adding any of these later costs far more.

4. The handover file (if you only do one thing, do this)

The AI starts every session knowing nothing. It doesn't remember yesterday's argument, the bug you fixed twice, or that you hate glossy icons. The files it reads at the start are the only memory it has. Mine has become the most valuable thing in the whole project, more than any piece of code.

Most tools read a file at the root of the project automatically (CLAUDE.md, AGENTS.md, .cursorrules, whatever yours uses). I'd put these in it:

  1. What the game is, in one screen.
  2. Who you are and how you work: how you want reports, what you decide, what it decides.
  3. Hard rules, short and absolute. Mine include never push, never commit my private design folder, never delete old builds, permissive licences only, saves from version X must keep loading. Every one of those is there because something went wrong once.
  4. How to run, build and test, with the exact commands, and which tests go with which kind of change.
  5. How the code is organised, and the rules of the code.
  6. Links to the routines (next section).
  7. Setting and voices, if there's lore: names, history, how each character or group talks, words to never use.
  8. Decisions and rejections.
  9. Traps and lessons.

Keep a separate status file for what changes week to week: what was just done, what's waiting on you, open threads, commits waiting to push. Keep it short. Mine once grew to 155 KB and the agents started choking on it. Now it holds the last ten or so items, and the oldest drops off when a new one goes in. The rule I give it: update it with every commit, and delete what's no longer true.

The decision log, rejections included. People skip this part, and it's the one that saves me the most time. Each entry has the decision, the date, my own words when I have them, and why. They look something like this (made-up examples, not my real list):

  • Rejected: an auto-play button. "I want every decision made by hand."
  • Rejected: daily login rewards. "Nothing that exists only to bring people back."
  • Rejected: a glossy icon set. "It looks like AI." Icons stay flat and muted.
  • Decided: levels are hand-made, never randomly generated.
  • Decided: the tutorial stays one screen long. Don't propose a longer one.

Without that list, every new session cheerfully asks "have you considered adding an auto-play button?". With it, the AI checks before suggesting anything. I also have it write its own new ideas into a separate ideas file for me to pick from, instead of just building them.

Traps and lessons. Every time something costs a round of fixes, one or two lines go in: what happened, and the rule that stops it happening again. Mine has dozens by now. A few that apply to anyone:

  • A release check "passed" for nine versions while the build couldn't even start. It exited with success but never printed its verdict: the packaged program died silently before it got there, because a file was missing from the build list. Since then: read a check's last line, not just its exit code.
  • A benchmark said a new hair system cost nothing. Turned out only 2 of the 16 test characters were actually wearing it (helmets, distance). Now every bench has to prove it measured the thing, by counting what it exercised.
  • All tests passed, and the game froze on its loading screen. Some code had been removed, but the startup file (which the test page doesn't load) still called it. Now, after removing code, it starts the real game and searches for every removed name.
  • A fix for dragging windows worked, and five other panels kept following the mouse. They each had their own copy of the drag code. When fixing one copy of a behaviour, look for the others.
  • A function started answering "no" for a new reason (a sound too far away to play), and one caller took "no" to mean "play the fallback sound". So every distant death played the wrong sound. When a call can say "no" for a new reason, read what every caller does with that "no".
  • An asset pack listed as CC0 on its website had AGPL licence lines inside several of its files. Read the licence in each file, not the site's summary.

Keep it honest and current. Mine ends with "If something here contradicts what the owner tells you now, the owner wins. Update this file when a rule changes." Rules go stale; one place holds them, and the AI fixes that place.

The downside is that it gets long. Mine is huge now. Two things help: a "what to read when" table at the top, so the hard rules always get read and the rest only when the work touches it; and never telling a helper agent to "read the whole handover file first". Two of mine ran out of room within minutes and came back with nothing.

5. Routines: checklists for repeated jobs

Anything I do more than twice gets a written routine the AI follows step by step. They're plain Markdown files it reads before that kind of work. A few of mine: finishing a change (changelog, version bump, the right tests, commit, report); a visual check after any character change (every pose, close-ups of hands and faces, low angles, mid-animation, the far version); trying a graphics change behind a switch with before/after sheets and a frame-cost measurement; making a new enemy from data to model to test bench. Plus marketing screenshots, store art, trailers and update posts.

Two things make them work. When it learns a lesson doing that job, it updates the routine, so they get better on their own. And "done" is defined inside the routine. For visual work, done means the full picture set, no shortcuts, because I will spot exactly what the skipped angle was hiding.

6. How I prompt

My best prompts all have the same five parts: what's wrong (or what I want), where I saw it, what done looks like, what not to touch, and how to prove it. Some real-life-style pairs:

A bug

āŒ "Combat feels off, fix it."

āœ… "In the third level, the ranged enemies keep walking into melee range instead of shooting (screenshot attached, about 2 minutes in). Find out why before changing anything. Done means a test that plays that fight out, shows they keep their distance, and fails on the current code. Don't touch the melee enemies."

That "find out why before changing anything" matters a lot. Left alone, it patches the first plausible cause it finds.

Performance

āŒ "The game lags when a new level loads, optimise it."

āœ… "Walking into the second area stutters for maybe half a second. Measure it first: which frame, and what that frame spent its time on. Name the cause before choosing a fix. Give me the worst frames before and after, on the real graphics card, not just the average."

Looks

āŒ "Make the trees look better."

āœ… "The trees look like plastic. I want them dry and dusty (duller leaves, rough bark). Build it behind a switch that's off by default and show me three options on one sheet: same camera, day and dusk, close and far. I'll pick. Tell me what each costs per frame."

Design

āŒ "Add crafting."

āœ… "I want crafting to matter. Draft a design doc: what you can make, where materials come from, what it replaces. Use systems we already have where you can, no new mechanic if an existing hook works. Put the open questions at the end for me. Don't build anything yet."

When I come back from a play session I usually hand over a numbered list of ten things. The standing instruction is do all of it, one item at a time, and report on each one by its number. Otherwise item 7 just quietly vanishes.

Lines I end up adding to almost everything:

  • "Say which tests ran and what they gave."
  • "Say what you couldn't check."
  • "If it didn't reproduce on your machine, say so. Don't guess at a fix."
  • "If it's my decision, ask me."
  • "Change only that part." (I once asked for a shorter handle on a model and got a whole different model.)

And please don't hand it your theory as a fact. "The lag is the shadows, fix the shadows" gets you a shadow change and a very confident report. "I think it might be the shadows, measure it" gets you the truth, which in my experience is often something else.

Screenshots help a lot, by the way. Most agents can read images, and a screenshot with an arrow on it beats a paragraph.

7. Ask for proof, not "done"

This is the core of the whole thing. The AI isn't lying to you. It reports what it believes happened, and it believes its own code works. So I treat every "done" as a claim that still needs evidence.

What counts as evidence in my projects:

  • A bug fix comes with a test that reproduces the bug and fails on the old code, then passes. If it can't make the old code fail, it hasn't found the bug.
  • A refactor that should change nothing comes with fingerprints: run every test, hash each one's final world state, do the same after, and every hash must match. Drawing code has the same thing for characters, every body in every pose.
  • Anything visual comes with before/after pictures the AI made and looked at before sending them to me. I look too. I've caught floating parts, seams, mirrored hands and clipping at low angles that no report mentioned.
  • Performance comes with numbers before and after, measured the same way, worst frames included.
  • Tools and checks: the final verdict line, every time. (Remember the check that "passed" for nine versions.)
  • "It works in the game": first check it tested the game that's actually on disk. My tool's built-in browser once served scripts twelve versions old, so "I checked it in the game" would have meant checking old code. Now it reads the version number first.

A test that fakes the outcome can't see what the outcome causes. One of mine tested a one-on-one fight by just setting the opponent's health to zero. It passed. In the real game, the first hit pulled every enemy nearby into the fight, because enemies help their allies. Now fights get played out in the tests, and the test counts who did what.

Tests can also check the wrong thing. When a deliberate change broke one, the right move was rewriting it to check what the player actually experiences, and saying so in the report, not deleting it. And when a test fails outside what was changed, my rule is: stop and tell me. Don't change the test, and don't "fix" unrelated code in passing. It could be a real bug, or a test guarding a decision the AI doesn't know about.

Be suspicious when it agrees with you. Ask a helper agent to check a theory and it tends to come back confirming it. A code review once said our character meshes had "5 to 6 times the points they need". Once measured, that was only true comparing the close-up body with the far one. The real gain would have been small, and in the end the AI itself recommended not doing it. Ask for the measurement, not the opinion.

8. Determinism and tests

Make the simulation deterministic. All gameplay randomness goes through seeded generators; rendering can use plain random numbers, gameplay never. Once you have that, every test starts from the same world and ends the same way, a failing test is a real failure and not "flaky", you can fingerprint a run and compare, and you can replay a bug.

Traps the AI walked straight into:

  • A new random roll in the middle of an existing sequence changes everything generated after it. Suddenly every character is different. New rolls go at the end, or get their own generator.
  • State that survives "new game". A module's own timer kept its value, so a new game started with the last game's weather still running. Now each module has a reset hook, and one test plays a busy game, starts two new games, and fails if they differ.
  • Copies of the game loop in tests and tools. The test harness had its own copy of some game code, so a change passed the tests on the old rule. Now there's one step function, and tests and tools call that.
  • Second lists kept by hand. Every saved field, setting and network event goes in one table the code reads, and a test fails if something's missing. Hand-kept lists always drift.

Run the right tests, not all of them every time. My full suite has hundreds of tests and takes a while. Rendering-only changes get none, gameplay changes get the tests that cover them, and everything runs once at the end of the session, in parallel windows (four windows did it in about a quarter of the time, once every test was made independent).

To prove a test fails on the old code while other agents are working in the same folder, never git stash: it takes their work too. Copy the fixed file aside, restore the old one, run the test, put the fix back, check the diff.

For saves: keep real save files from every save format in the repo, plus a test that loads them all. Never delete an old format's saves, they're your proof that old saves still load. A change that would load an old save wrong gets a migration step, not a refusal.

And if you can, build a bot. Mine plays the game on its own for hours (main loop, saving and loading, menus) and writes a journal. It found things no unit test could, like numbers slowly drifting out of balance over a long game.

9. Performance: measure, never guess

I don't have a frame-rate target. Instead, every change that adds geometry, draw calls or shader work reports its cost before and after, plus its worst frames, and the expensive stuff gets made cheaper or optional. 120 fps on my PC says nothing about a modest one.

Measure first, then pick the fix. My favourite example: a 350 ms stutter every time the camera arrived somewhere new. There were plenty of plausible suspects (too many characters, too many shaders, textures). A frame trace showed the game's own code was idle during the slow frame, and the graphics driver was busy compiling shaders. The cause turned out to be bone indices stored as 16-bit integers while the shader expected floats, so the driver built an extra shader version the first time each body was drawn, with every frame waiting on it. One type change fixed it. No amount of guessing would have found that one.

How to measure so the numbers actually mean something:

  • Alternate A and B, old and new interleaved, at a fixed resolution. Not "old this morning, new this afternoon".
  • Use the real GPU. My AI's preview browser runs on the integrated chip and its numbers jump all over the place. Real measurements come from a bench that runs the game's own window on the dedicated card.
  • Look at the worst frames, not just the average. Players feel the 200 ms hitch, not the 2 ms average.
  • First-time costs need a fresh profile. The browser caches compiled shaders between runs, so one stutter showed up in 2 runs out of 24. With a fresh profile per run, it showed up in 12 out of 12.
  • Arriving somewhere and staying there are two different measurements. "This area costs 33 ms a frame" came from the frames right after arriving, while 50 models were still being built. Once they were built it was 1.7 ms.
  • Pace benches by the clock, not by frame counts. One counted "60 frames = 1 second" on a 240 Hz monitor, so its "100 seconds of the test route" was a quarter of the route, and "no stutter in 7 runs" was about the wrong distance.
  • Frames pushed by hand can outrun the GPU. A bench that ticked frames as fast as it could showed four times the stutters that real, screen-paced frames had.
  • Don't trust one number, and don't trust the PC while something else is running on it. Ask first.

Simulations vary by chance much more than you'd think. Two runs of a long simulation, same code, different seeds, came out more than twice apart. Two runs before and two after can't show anything smaller than that. So now runs can be repeated with a seed, and to see how big "chance" is, we add one single extra random roll at a set moment and nothing else. If a difference is smaller than that nudge, it isn't the change's doing.

Also write down what didn't help: simplifying meshes, an upscaler, a newer GPU API (slower on both my test cards). The next session would happily spend a day rediscovering each of those.

10. Graphics and looks

Every look change goes in behind a switch, off by default and switchable live. I see before/after sheets, I pick, and only then does it become the default or a setting. Sheets of options beat a single guess: "here are three" gets a decision in one round, "here's my version" takes five. Once a look has been kept for a release, the switch goes away (the old branch is archived as a patch), or you end up with a hundred switches nobody tests.

The AI can't see the screen unless you make it look. Give it tools to render and save pictures, and a routine that says which angles. Close up, from below and mid-animation is where the problems hide.

Compare like with like: same GPU, same camera, same moment, same settings. A picture tool once saved a 130% UI scale into its own profile, and I approved a window "at 100%" that was really at 130%. Check the picture's settings before you judge it.

And muted beats bright. Bright, saturated, glossy art reads as "cartoon" or "AI", to me and to players. Something people keep saying about AI-made games is that they look like a kitbash: pieces from different asset packs that don't belong together. What fixed it for me was a short art-direction doc (a few rules everything has to follow) and a ranked list of changes, done one at a time, each with its own before/after and my go.

11. Code health

AI writes code fast, and big files rot fast. My rules, enforced by the linter where possible:

  • A file over 3,000 lines or a function over 300 fails the lint. A file within 100 lines of the limit gets split before new features go in, not after.
  • Exact search-and-replace edits, never whole-file rewrites. Rewrites quietly drop things. For lots of edits across files, a small tool that applies all of them or none, and refuses if an "old" text isn't found exactly once.
  • Lint for real bugs only (unknown names, duplicate keys, unreachable code), zero errors before a commit. Style rules are just noise for an agent.
  • One check per rule. A rule that applies on several paths lives in one function, and every path calls it.
  • Escape player text (names, chat) wherever it goes into the page. Always.
  • Hot loops go in small functions. In JavaScript, a hot loop inside a huge function ran about 10Ɨ slower than the same loop in a small helper.
  • Watch what closures keep alive. A function stored on each character kept its whole creation scope: 2.8 MB per character, invisible to the GPU leak checker.
  • Small but nasty: a // comment in the middle of a one-line data entry swallows every field after it, and duplicate keys in data objects silently override each other.

12. Version control and shipping

Every change to the game is a version: a changelog entry for players, a version bump and a commit. Tool-only changes get a commit without the changelog. The AI commits but never pushes; I push myself, after looking. Write that down as a hard rule.

Stage files by name. git add -A swept another session's half-finished work into a commit, twice. No skipping hooks, no amending commits that might already be pushed.

Keep two logs: the commit message is the technical record, and the changelog is for players, in plain sentences with no file names. Use a script that adds the changelog entry and bumps the version everywhere at once, because bumping by hand drifts. Builds only when I ask, and I never delete old ones. Keep every version's zip; you'll want to compare.

13. Many agents at once

Sooner or later you'll want several agents working in parallel. It works, with some rules:

  • One session per job. "The stutter, round 2" gets its own session, kept while I adjust that one thing and closed once it's committed. Every reply re-reads the whole conversation, so a session kept for days costs more each reply, and it drifts.
  • Before closing, "save what matters". New preferences and decisions go into the handover file or memory, new lessons into the routines. The next session only knows what was written down.
  • Never two agents on the same files at once. And expect one agent's half-done edit to break another's test run: the game once wouldn't boot for one agent because another was halfway through an animation file. Check what others are editing before a run, and ask that session instead of "fixing" its files.
  • Version numbers collide. Two sessions shipping in the same hour took the same number twice. Re-read the version right before bumping it.
  • Helpers for small, low-risk jobs: long test runs, searches, audits, screenshots. The important work (features, models, rendering, real bug fixes) stays with the main session on the strongest model, and anything a helper produces gets reviewed (diff, proofs, pictures) before it reaches me.
  • A helper's brief has to carry what it needs: the rules and facts, plus "keep a notes file as you go, print little, report even if you didn't finish". "Go read the big files first" doesn't work.
  • Review sessions. When a build session runs out of room, a fresh one reviews it instead of carrying on: reads the handover and status files, checks the git log and the code, runs lint, tests and a screenshot, reports what's good and what's wrong, and writes a better next prompt with the bugs folded in. It changes nothing in the repo.
  • A second model for a second opinion. Sometimes I have a different AI model do a comparison or a review. Its read isn't anchored on the first one's. Its work gets reviewed like everyone else's.
  • Pausing means the next safe point, never mid-edit: finish and commit the stage, or commit just a short work-in-progress note (what works, what's half-done, what to do first). And a message to a busy agent waits until its current command ends. A long check once held my "please pause" for over an hour.
  • Unattended runs need a budget. "Keep going until the plan is done or until X% of the weekly usage, whichever comes first", and "if something needs my input, save it for the morning and carry on with what you can".
  • Tools shouldn't jump onto your screen. I work on the same PC the agents run on, so test and benchmark windows start minimized. A script that fails to load mustn't throw an error box in my face, so every script gets a syntax check right before it's launched.

14. Things I'd tell you not to do

  • Don't let it push, publish, post or send anything. It commits locally, you ship.
  • Don't let two agents edit the same file at the same time.
  • Don't trust one benchmark run, or a benchmark that never proved it measured the thing.
  • Don't accept "it works" without seeing it. Play it, or look at the pictures yourself.
  • Don't let it bring back rejected ideas. Keep the rejection list in the file it reads.
  • Don't let it soften your design to be helpful. Mine kept reporting a hard early section as a "balance problem". It was the design. It's in the file now.
  • Don't let it fix things "in passing". Unrelated fixes hide in big diffs and break stuff.
  • Don't let it change a test just to make it pass.
  • Don't build the features it suggests unasked. Have it put them on an ideas list for you.
  • Don't keep one session going for days.
  • Don't skip the handover file because "it'll remember". It won't.
  • Don't let it get around download protections or bot checks to grab assets. When a site blocks it, it should give you the link and you download it yourself.
  • Don't commit every check picture. 56 commits of full-size screenshots made a 4 GB push that GitHub refused, and the history had to be rewritten. Only the small pictures a report shows go into git, as JPEGs.
  • Don't let it pass long code inline on the command line (node -e "..." and friends). Windows Defender flagged two of those as a trojan and blocked them. Checks live in script files.
  • Don't assume the AI's own version beats a good free asset. It turned a set of animals into stiff parts. A CC0 animated pack looked far better, moved smoothly and was cheaper to draw: 0.23 ms against 0.76 ms for 200 moving animals. Compare, and measure.
  • Don't take a licence on faith. Read each file's own licence line. For a game you'll sell, permissive licences only (CC0, CC-BY with credit, MIT, BSD, Apache, zlib, OFL), no GPL or non-commercial assets. GPL tools for making assets are fine. A private game for friends that will never be sold can be looser; just write down which is which, in case that changes.
  • Don't hide AI use where a platform asks. Steam's content survey asks. Answer it honestly and keep it true as assets change.

15. What it really costs

  • Money. Big tasks on the strongest model add up fast. Short sessions, helpers for the grunt work, and not running the whole test suite after every change all help.
  • Your time. Review is the real price. I spend way more time looking at pictures, playing and reading reports than I expected, and you can't skip it, because its mistakes come back in exactly the same confident tone as its successes.
  • It's confidently wrong. It names a cause, fixes it, reports success, and the cause was something else. Every proof rule above exists because of that.
  • It agrees with you too easily. Give it a theory and it'll often confirm it. Ask it to measure.
  • It forgets. Whatever isn't written down is gone next session. Keeping the handover file is a job in itself.
  • It can't see or feel the game unless you build it eyes (screenshot tools, bots, benches). And the "is this fun?" question stays yours, always.
  • Regressions sneak in through code it doesn't know is connected. Tests, fingerprints and the lessons list catch them, and none of those is free to build.
  • It needs your taste. Left alone it makes generic, bright, safe stuff. The good parts of my games came from me saying no.

16. A starter handover file

If you take one thing from all this, take this. A skeleton to start from:

# <Game>: handover for AI agents
Read first, always: Who I am, Hard rules, Decisions. The rest when the work touches it.


## What the game is
(Genre, setting, platforms, status, where the long technical docs live.)


## Who you're working for
- I design and play; I don't read the code. Explain in plain words, answer first.
- Show, don't claim: pictures for anything visual, tests and numbers for the rest.
- Ask when it's my decision (looks, balance, lore, what goes in). Do the obvious engineering.
- Say which tests ran, what you couldn't check, and when something didn't reproduce.


## Hard rules
- Never push. Stage files by name. Never commit <private folder>.
- Every game change: changelog entry + version bump + commit.
- Only permissive licences. Read each file's own licence line.
- Saves from version X on must keep loading.


## Running and testing
(Exact commands. Which tests for which change. How to run benches.)


## How the code is built
(Folders, key objects, the rules of the code: one game loop, tuning in one file, size limits...)


## Decisions and rejections (don't re-propose)
- <date> Rejected: <idea>. "<my words>". Why.


## Traps and lessons (each one cost a round of fixes)
- <what happened>. Lesson: <the rule>.

Add a short status file (what was just done, what's waiting on me, commits waiting to push) and a routines folder with a "finish a change" checklist as its first file, and you're off.

That's it. It got long, sorry. Happy to answer questions in the comments.


r/aigamedev • • 19h ago

Discussion The more games i see on here, the less i feel like ai is ever gonna be a threat to gamedevs.

201 Upvotes

BIG fan of ai. Using it myself working on a game.

Obviously everybody is these days. Which could be seen as extra competition. However, i feel like its really just not. 99% of all content posted here are just clips of basically simple singular mechanics, or 0.0.1 demo's showing not more than a handfull of interactions.

Which is fine. Keep it coming, i love seeing whats being made with the help of ai.

Its NOT games though. Turns out making a game is hard fucking work. A game has many interacting layers. Needs polish in all those layers. Even the 5billion token month long projects i see on here..im sorry..its cool that it doesnt NOT work, but its not a game.

Good new imo. Cant wait to see the first actual fully fleshed out games made with ai. Im sure some of them are gonna be absolutely insane.


r/aigamedev • • 23h ago

Media Pixelart animation is maturing

163 Upvotes

I’m getting very good results lately with pixel art, doing crazy fight animations


r/aigamedev • • 13h ago

Discussion Is anyone else just making a game just to play the game yourself? :')

124 Upvotes

Every time I think I'm making progress on something decent I just get distracted with the simplest things - AI is an addiction I swear!


r/aigamedev • • 6h ago

Demo | Project | Workflow I used Opus to make a Japanese watercolor style fighting game

59 Upvotes

The idea was to make it look hand painted, everything is made with code though. Took about a week of opus 5.5 back n forth to get it to this stage. There is a single player campaign and also local 2 player duel. I added special moves per weapon, 3 levels of supers , parry and riposte system etc etc. If you wanna have a play its here, gamepad or keyboard+mouse works but the single player is more fun with mouse coz you can draw the slo mo slash.
https://zerojs.itch.io/inkblood


r/aigamedev • • 8h ago

Commercial Self Promotion Missing classic Hexen and Heretic? I'm -developing Iron Crypt, a dark fantasy retro FPS

52 Upvotes

Hey everyone! the itch to make a smaller dark fantasy game just for fun finally took over.
Loved classics like Hexen and Heretic, trying to match that exact vibe.
Iron Crypt is aiming for a 90s-style retro FPS built in Unity. The first playable demo was just uploaded.

How it started:
A friend and I kicked this off about a year ago - he handled the programming while the 3D art, environment modeling, and level building fell on my side. Before he had to step away from the project very early in game development time frame, he put together few helpful Unity tools: a 4/8-way directional sprite renderer and a visual NPC setup tool for me to just focus on art.

With him gone, development hit a wall on the coding side. Rather than shelving the whole thing, experimenting with Claude little by little made it possible to write custom Unity editor tools and to keep moving forward.

Curious how other artists here are handling Unity scripting with Claude?
Any tips always welcomed.

Game is in early stage and you can try the demo - Below is the link

Links:


r/aigamedev • • 5h ago

Commercial Self Promotion Lost my job because of AI so I made an AI game based on my frustrations finding a new one

48 Upvotes

yes it's basically a needle in a haystack clone lol
made completely using spawn but I'm not sure about the model, either claude sonnet or opus..
I'd talk more about how I used AI, but it basically did most of it, I was just telling it what to implement and how to implement it in real time while using the platform.

On this website you basically load into a game world and then you tell their agent what to add in real time, it never disconnects you and just keeps adding features you request while you can playtest them. The only issue is that you cannot publish that game anywhere else.

play it here: https://www.spawn.co/@222/competitive-salary-a-human-resources-simulator


r/aigamedev • • 19h ago

Demo | Project | Workflow Only 20 days left in the $100k AI game jam, and I'm surprised almost nobody here is posting entries yet

39 Upvotes

Just found this sub and honestly it feels like I finally landed in the right place with people actually building real games with AI.

I searched the sub before posting and was surprised how quiet it's been about the OpenGame.io $100k jam.

In case you missed it, it runs until Dec 18 and it's free to enter as a solo dev. Anything with a web export works (Three.js, Godot, Unity, Unreal, custom engines, whatever you use) and AI tools / vibe coding are completely allowed.

Just to be clear, I'm not affiliated with them at all. I'm competing myself, and I just love good competition.

Plus, let's be honest: people outside communities like this love to clown on AI game devs and vibe coders, saying we can only ship throwaway prototypes that aren't actually fun to play. A public $100k jam feels like a pretty good stage to prove them wrong and show real games with actual polish can come out of here.

The video above is the teaser I just cut for my entry, Nodo. I'm building the whole thing solo with AI coding agents and a lot of back and forth to nail the atmosphere and feel.

Shameless self-plug to wrap up: I'm posting daily build in public clips on my X profile if you want to follow along or trade notes.

Anyone else here jumping in?


r/aigamedev • • 23h ago

Discussion Be proud of your game

34 Upvotes

(Not really a "Discussion", but I didn't know what flair to choose)

Just a small PSA to everyone feeling like their game isn't worth the time of day because they're using AI. If you've spent as much time and effort on your project as you say you have, you have absolutely nothing to be ashamed of and you should be proud of what you're building.

I also believe you should not hide the tools you've used to create your game in fear of backlash. As someone who's worked in game development in the past and left the field due to burnout, I'll tell you that most people in this field, albeit, being on the fence in terms of art and sound design, lean toward supporting you folks as long as you show you know game design and you make a fun game, in the end. It's all about passion, research, trial and error and, of course, the amount of tokens you can spare. :D

Until just a few months ago, I was very anti-AI until I've been granted access to Cowork at my current job. Just goes to show that the internet seeps its talons into anyone that is even remotely uninformed and tries its best to convert them.

If there's anyone you need to prove to, that you're making something worthwhile, it's yourself. Work for yourself, tune out the backlash, extract constructive feedback and let the people that actually enjoy playing games follow.

Good luck. You can do it.


r/aigamedev • • 5h ago Bravo

Tools or Resource Free instant 3D pixel models and turning sprite stacks for top-down games (no sign-up)

Post image
32 Upvotes

Sharing a free tool we just shipped for top-down and isometric devs — Voidless Monarch (our tool, full disclosure, completely free with no account or credits). You type a prompt like a tree or spider and get an instant 3D pixel model with ready-made animations and turning sprite stacks (8, 16, or 32 directions) with a repeatable seed. Exports straight out for Godot, Unity, or GameMaker with zero wait time. Try it here if it's useful for your project: https://voidless.dev/monarch?utm_source=reddit&utm_campaign=aigamedev-monarch-3d


r/aigamedev • • 7h ago

Discussion Holy crap this is hard/a LOT!

32 Upvotes

Ok, so stupid comment, but still. I didn't think this was easy, but there are SO MANY stupid little details that have to be dealt with! A few months ago I started vibecoding stuff for work, and a few weeks ago I got the crazy idea to make a fun farming game for my wife to play as a Christmas gift. DUDE! I'm not one shotting this thing or anything, and have been taking a lot of time to have things make sense and fun... for her. In the back of my head, if it's actually fun maybe someday I'll put it on Google Play, but for now, it's a game for her and my family to play.

Anyway, the number of decisions that need to be made and how one thing leads to another now needing a menu, less clutter, another image or animation... Holy shit guys!!! This is both fun and a bit overwhelming. My kids have been contributing and helping where they can on some of the decisions, but still. Trying to make something that works well enough for Christmas yet leaves it open to being able to continue to build it out later on... fuuuuuq.

Like I said, I've been vibecoding this thing so I've had Codex doing the actual coding part. My hat is off to you guys who started doing this from zero and didn't have AI to lean on, or a team. Thank you for paving the way for nerds like me to be able to do stupid stuff like this without a coding background.


r/aigamedev • • 16h ago

Demo | Project | Workflow Comparing Codex, Gemini and Claude on real Unity game development tasks — a 3Ɨ3 practical benchmark

27 Upvotes

edit: fixed the tables sorry I've been working on an rpg game for quite a while (started as a project to learn blender and unity before ai and now it's become an ai testing project); I’m purely an amateur and passionate gamer willing to learn about all that, so some parts might sound naive to experienced game devs

Rather than relying exclusively on conventional AI benchmarks (often bots or marketing teams posting incredible one prompt results), I wanted to compare how these agents perform on actual production tasks involving 3D assets, animation, game development, visual effects, optimisation and technical problem-solving.

The following report is generated by chat gpt based on the technical reports of each ai. They had the exact same starting prompt and environment (they were all working together before i thought heck i want to optimize this). I'm posting it in full because I found it super interesting. Results in the body and comment, couldn't add everything in the psot. Thought this test might be interesting for others so here it is

My main conclusion is, that claude always provided the best output, at the cost of a lots more tokens and time spent. Which makes me think its great for technical tasks, but could render "artistic" productions, directions, more "bland" or "sloppy" over multiple projects, As claude seems to be "better" at understanding what you might want, and what the result should be. He keeps improving the result, which might is tempting. But as I want that game to reflect my ideas, I feel it would take away most of the soul of the game. Like if 10 people ask it the same things it will produce 10 results that are very close to each other.
In comparison, Gemini and codex stop earlier, at a fraction of the cost. Really imperfect result, but "good enough" to saatisfy the prompt. For the same amount of tokens, I can probably reach a level of details and a quality that would be AT LEAST as good as what claude produced straight away.

But it requires more human effort and thoughts, and might produce the best results if you are interested on how things works and if you have more domain knowledge to guide the AI.

For the spells part, I found all of them to be decent so im currently running another test where they all have an updated prompt asking them to keep pushing to mamtch the token use of claude. might post the result later if you are interested. I have also a lot more screenshts videos etc the ai took if you would like to see some other details or the mesh/rig etc. Like for the building they made different reports, presentations in images, plans. Oh and excuse my french in the videos texts

TL;DR: I compared Codex (GPT-6.2 Astra), Gemini (4 Neon/Hydrogen via Antigravity, using orchestrator mode (!, might want to test with carbon only, just sent it to work on the spells for that) and Claude (Opus 5.5) across three real Unity 6 HDRP production tasks: rigging and animating a quadruped, building a furnished and traversable medieval lodge, and creating a reusable 3D magical root snare VFX.

All three completed all assignments and delivered actual editable production assets.

  • Codex: Best overall engineering efficiency, automation, gameplay architecture and maintainability. Fastest execution (~2h10, 44.45M total tokens).
  • Gemini: Particularly strong at asset reuse, mesh optimisation, UV repair and shader development. Less comprehensive runtime verification (70.06M tokens).
  • Claude: Best at complex debugging, technical investigation and diagnosing difficult Unity integration issues, but substantially slower and more resource-intensive (~7h, 422.94M tokens).

Interestingly, conventional production tools (Blender Python, Unity, HLSL, etc.) combined with iterative visual review proved sufficient without extensive additional plugins or MCP servers.

My preliminary conclusion: Codex for general production engineering, Gemini for asset production and optimisation, and Claude for difficult technical problems.

There is no definitive winner yet. Human artistic evaluation and standardised performance testing are still pending. Token accounting differs between providers, and this benchmark compares complete agent workflows rather than individual models in isolation.

1. Benchmark methodology

Each agent received three substantially identical assignments, with the same specifications, available resources and expected deliverables.

TrialAssignment
A — Character productionRig and animate a quadruped creature from an identical, unrigged Meshy model. The original model might have a slight flaw, or the AI agents might not have been able to correct it — not sure. You'll see, particularly around the hind legs.
B — Environment productionDesign and build a fully furnished, traversable, two-storey medieval fantasy ranger lodge.
C — VFX productionCreate a reusable, three-dimensional magical root snare effect in Unity HDRP.

The configurations used were:

  • Codex: GPT-6.2 Astra, Max effort.
  • Gemini / Antigravity: Gemini 4 Neon and Hydrogen, High/XHigh effort, depending on the task and execution phase.
  • Claude: Opus 5.5, high reasoning effort.

Agents could use Blender, Python, Unity, Shader Graph, HLSL, existing project assets, freely licensed external assets, reference image generation, approved plugins, skills, MCP servers and other relevant tools.

Each assignment consisted of three stages: research and planning, actual production, and verification. Agents were allowed one major refinement pass after reviewing their initial candidate.

All work was performed in isolated workspaces. Agents were instructed not to inspect each other's productions or modify the main Unity project.

The results include editable source files, game-ready exports, technical reports, visual evidence and review archives.

Important limitation: this is a comparison of complete agent workflows, not a strictly controlled comparison of individual language models. Antigravity, for example, dynamically used different models for planning and execution.

I am also keeping artistic judgement separate from technical performance. My personal visual review is not yet complete.

2. Token consumption and execution time

Total token consumption

Figures include cached input tokens.

Total token consumption

TrialCodexGeminiClaude
A — Creature7.24M30.47M~120M
B — Architecture20.19M25.95M169.94M
C — VFX17.02M13.64M~133M
Total44.45M70.06M~422.94M

Generated output tokens

TrialCodexGeminiClaude
A — Creature71,798361,751~460,000
B — Architecture112,258292,344554,859
C — VFX103,821159,706~441,000
Total287,877813,801~1,456,000

Execution time

TrialCodexGeminiClaude
A — Creature~37 min67 min~130 min
B — Architecture~48 min83 min~162 min
C — VFX~45 minNot isolated~121–133 min
Known cumulative time~2h 10mOver 2h 30m~6h 53m–7h 05m

Known cumulative time |**~2h 10m** |Over 2h 30m |**~7h** These timings require some qualifications. Claude experienced several usage-limit interruptions, bringing its wall-clock time to 325 minutes for Trial B and approximately 447 minutes for Trial C. Codex also experienced an unrelated confirmation delay during Trial B.

The token counters were recovered from local session logs and delivery reports. Their measurement boundaries and accounting conventions are not entirely identical.

Cached tokens are considerably cheaper than ordinary input tokens, and providers have different accounting conventions. These figures should therefore not be interpreted as direct financial cost comparisons.

Nevertheless, the difference in resource consumption is substantial.

Codex consumed approximately 9.5 times fewer raw tokens than Claude across the three assignments, and approximately five times fewer generated output tokens.

No agent purchased assets or consumed additional Meshy credits.

3. Trial A — Quadruped rigging and animation

All three agents started with the same textured, unrigged Meshy creature. The assignment required an editable quadruped rig, twelve animations, three LODs, HDRP-compatible textures, attack timing metadata and appropriate deformation and locomotion testing.

Technical results

MetricCodexGeminiClaude
Animations121212
Deformation bones303036
Editable IK rigYesYesYes
Maximum bone influences444
Unweighted vertices000
LOD0 triangles11,77711,13711,800
LOD1 triangles5,2755,1075,399
LOD2 triangles2,3232,3732,400
FBX/GLB round-trip validationYesYesYes
Unity Animator validationNoNoYes
Review videos in archive15619

All three respected the requested 12,000-triangle LOD0 budget.

Codex

Codex built an original IK/FK rig using Blender Python, Blender's automatic bone-heat weighting and targeted corrections.

It separated the editable rig from the baked animation exports and implemented automated checks for foot contact, deformation and export fidelity.

A particularly useful aspect of its approach was measuring foot sliding from actual mesh vertices rather than relying exclusively on IK control positions.

It also implemented ten Python tests covering the combat event contract, including interruption handling and prevention of duplicate damage.

Its refinement pass focused mainly on hind-leg anatomy, foot placement, ground contact and the death animation.

Limitations: some movements remain visibly procedural according to its own assessment. Localised stretching persists around limbs and wax-covered areas. Unity integration was not tested.

Gemini

Gemini used a more geometry-oriented skinning approach, based on geodesic distances, Dijkstra's algorithm and anatomical weighting rules.

It performed extensive deformation testing and iterative corrections.

Measured issueInitial candidateFinal candidate
Excessively stretched edges during death1258
During sniffing4312
Hit reaction161
Lunging attack4025
Walking foot sliding, according to its probe207 mm15.8 mm
Running foot sliding, according to its probe224.1 mm18.3 mm

These stretching measurements refer to edges exceeding a deformation threshold, not necessarily visible holes in the mesh.

Gemini delivered the lightest LOD0 mesh, an isolated Unity importer and substantial improvements to the initial candidate.

Limitations: residual stretching and foot sliding remain. Its measurement methodology differs from the other agents, and actual Unity Animator behaviour was not verified.

Claude

Claude performed the most extensive anatomical investigation, including detailed analysis of the ears, tail, jaw and digitigrade hind legs.

Its rig included additional heel controls and more segmented secondary anatomy.

Its most significant contribution was actual Unity integration testing.

Claude discovered that the Generic rig's root motion was interpreted incorrectly in Unity: the lunging attack moved vertically instead of forward, and turns did not behave as intended. After correcting the root orientation, it identified a second issue involving duplicated displacement between the animated pose and the object transform.

It implemented a corrective component and documented an alternative architecture using in-place animations with gameplay-controlled displacement.

Claude passed eleven functional Unity scenarios, including attacks, interrupted attacks, delayed events, locomotion, turns and death.

Limitations: some substantial localised deformation remains. Its HDRP visual captures were unsuccessful, although the functional Unity tests passed.

Additional observations

MetricCodexGeminiClaude
Walking speed0.32 m/s0.323 m/s0.45 m/s
Running speed0.90 m/s1.25 m/s2.00 m/s
P99 edge stretching during running1.32Ɨ1.64Ɨ1.56Ɨ
Combat verificationPython testsSimulationUnity Animator

The different locomotion speeds make direct visual and deformation comparisons more complicated.

Codex and Gemini also avoided launching another Unity editor while the main project was open. Claude created a separate QA environment instead. Its additional verification is valuable, but the other agents should not necessarily be penalised for following a more conservative interpretation of the isolation requirements.

Previous work on this creature also existed in the project. Agents were instructed not to access those implementations, although prior exposure cannot be completely ruled out.

Technical takeaway: Codex demonstrated strong efficiency and export fidelity, Gemini demonstrated effective geometry-based skinning and optimisation, and Claude demonstrated the most extensive functional integration testing.

4. Trial B — Medieval fantasy ranger lodge

The assignment was to create an original, fully furnished building of approximately 14 Ɨ 10 metres, with two traversable floors, a functional staircase, coherent architecture, appropriate collision geometry, LODs and editable Blender sources.

Technical results

MetricCodexGeminiClaude
LOD0 triangles186,868133,626216,652
LOD1 triangles88,12263,96695,985
LOD2 triangles5,45227,3967,751
Reported material count251650
Collision proxies7824120
Editable Blender masterYesYesYes
Architectural plans and sectionsYesYesYes
CharacterController testingYesNoYes
Unity walkthrough recordingYesNoYes

Codex

Codex focused on maintainable architecture, editable geometry and Unity integration.

Its master file separates structural components and supports re-exporting manually edited geometry without requiring the entire building to be regenerated.

It also consulted a reference-driven Blender asset production skill without blindly installing or executing external scripts.

The building was tested using two player capsules with different radii, covering a continuous 72.31-metre route through the building and back outside.

Clearance measurementResult
Capsule radii0.32 m / 0.45 m
Usable staircase width1.415 m
Minimum staircase headroom3.17 m
Entrance dimensions1.74 Ɨ 2.43 m
Dormitory entrance1.32 Ɨ 2.20 m

Codex also estimated a compressed texture budget of approximately 30.3 MiB, compiled a standalone test build and implemented GPU profiling using Direct3D 11 timestamps.

Limitations: the fireplace is static, and GPU measurements were not successfully recovered from the standalone build itself.

Gemini

Gemini focused heavily on reusing and optimising existing assets.

It reused 36 project props and nine existing CC0 PBR texture sets, organising its building into thirteen semantic Blender collections.

When its reference image generation tool failed twice with HTTP 503 errors, it continued using architectural drawings and 3D studies rather than blocking production.

Its initial review identified several concrete architectural problems: incorrect roof shingle orientation, gaps between walls and floors, blocked entrances, furniture clearance problems and misplaced shutters.

It also detected and corrected 62,945 faces with unusable UV data in reused assets.

Gemini delivered the lightest LOD0 and LOD1 meshes, as well as the lowest reported material count.

Limitations: after encountering problems with its initial Unity test, it switched to PhysX capsule and sphere casts in Edit Mode. All 31 route segments passed, but this is not equivalent to moving an actual CharacterController through the building. Its walkthrough video was rendered in Blender.

Its distant LOD2 mesh is also considerably heavier than the other candidates.

Claude

Claude built a more detailed architectural structure, including individual roof shingles, timber framing, roof valleys, a continuous chimney, porch, woodshed and furnished rooms.

It reused 93 instances from 47 existing prop models and created 15 additional props.

An independent visual critic evaluated its initial candidate, after which Claude refined roof construction, material orientation, colour palette, furniture placement and environmental details.

Its CharacterController reached all 45 route segments without becoming stuck.

However, its technical reports also document several remaining issues:

IssueReported result
Minimum staircase headroom1.94 m
Ceiling contacts12
Tight-clearance route segments4
Coincident face pairs at LOD041
Zero-area UV faces at LOD06,729

The staircase headroom problem is particularly relevant, despite the successful traversal test.

Claude's isolated Unity environment also used approximately 555 MB of runtime textures, making material sharing and texture optimisation an important consideration for production integration.

This is not directly comparable to Codex's estimated compressed texture budget, but it is worth investigating before scaling the approach to a larger world.

Rendering performance

RTX 2070 SUPER, 1080p:

MeasurementCodexGeminiClaude
Empty scene1.83 ms3.65 ms4.75 ms
Building, exterior4.39 ms3.76 ms7.99 ms
Reported overhead+2.56 ms+0.11 ms+3.24 ms

These numbers are not directly comparable.

Codex used GPU timestamps, Gemini primarily timed Camera.Render(), and Claude synchronised rendering through GPU readback.

Gemini's lower LOD measurements were even faster than its empty-scene baseline, highlighting the limitations of its profiling methodology.

A shared profiling environment is needed before ranking rendering performance.

Technical takeaway: Codex delivered particularly strong clearance testing, maintainability and profiling. Gemini excelled at asset reuse and nearby geometry optimisation. Claude produced a detailed architectural asset with extensive verification, but with higher resource requirements and some documented structural issues.

5. Trial C — Three-dimensional magical root snare

The assignment required a reusable nature-magic VFX with actual 3D roots emerging from the ground, wrapping around a target, holding it temporarily and releasing it.

The effect needed deterministic behaviour, interruption and resistance states, pooling, gameplay-independent visual logic and testing with one, four and twelve simultaneous instances.

Technical results

MetricCodexGeminiClaude
Primary animation techniqueBlend shapesShader deformationVertex shader
Geometry12,720 tris6,620 tris~12,000 tris per variant
Reduced geometry LODNot delivered2,584 trisNot delivered
PoolingYesYesYes
Gameplay/visual separationYesYesYes
Functional tests passed16/165/59/9
Pool reuse cycles tested802040
Terrain slope tested14°18°12°
Unity HDRP visual validationYesYesYes

Codex

Codex created 25 editable BƩzier curves representing primary roots, branches and tendrils, subsequently generating the animated mesh and fourteen blend shapes.

This makes the root geometry relatively easy to modify and regenerate.

Its most interesting contribution was its gameplay architecture. It uses explicit cast tickets, identifiers and resolution methods, leaving gameplay authority with the calling system rather than with visual callbacks.

This is particularly relevant for an MMORPG, where gameplay state will eventually need to be controlled independently from client-side effects.

Codex also performed intersection checks across 44 poses and four seeds. No intersections were detected between the roots and the tested mannequin.

Limitations: approximately 26 additional draw calls per effect, no dedicated reduced geometry LOD and ground alignment based on a tangent plane rather than arbitrary terrain geometry.

Gemini

Gemini used a shader-oriented implementation with four Shader Graphs, five HLSL files and custom vertex attributes controlling growth, organic variation and magical energy.

It delivered the lightest geometry and was the only agent to explicitly provide a reduced geometry LOD.

Its independent critique and refinement pass addressed shader compilation problems, excessive emissive intensity, an overly geometric telegraph and insufficiently distinct interruption effects.

The code audit also revealed a few limitations. Its pooling test primarily verifies allocation and instance counts, which does not establish the absence of every possible memory leak. Some metadata in its timeline CSV retained outdated values from the initial candidate.

These are relatively minor issues, but illustrate the importance of inspecting the actual implementation rather than relying exclusively on PASS indicators.

Claude

Claude animated the root geometry directly in the vertex shader, avoiding per-frame CPU geometry reconstruction.

Its implementation included multiple root variants, tendrils, disturbed earth, debris, leaves, temporary lighting and a separate gameplay status registry.

Its tests covered interruption at multiple points during the spell's lifecycle.

The isolated registry recorded 58 status applications and 58 corresponding removals without inconsistencies.

Claude also measured target visibility during the hold phase: approximately 63–72% of the legs and 100% of the upper body remained visible across four tested angles.

It was the only agent to deliver independent artistic critiques of both the initial and final candidates using the same scoring criteria.

Internal critic scoreInitialFinal
Gameplay readability2/53/5
3D quality2.5/53.5/5
Materials2/52.5/5
Phase clarity1.5/52.5/5
Art direction2/52.5/5

These are Claude's own independent critic scores, not comparative ratings across the three agents.

Limitations: no reduced geometry LOD, remaining readability issues and a ground-crack mesh that is not suitable for highly irregular terrain.

Claude also discovered that its previous isolated HDRP environments used Gamma colour space instead of Linear, helping explain lighting problems encountered during Trials A and B.

Rendering performance

Reported median incremental rendering cost:

Simultaneous effectsCodexGeminiClaude
10.16 ms0.77 ms0.68 ms
40.79 ms6.02 ms1.14 ms
122.51 ms6.06 ms2.06 ms

Again, the profiling methods differ, so these figures should not be treated as a definitive GPU performance ranking.

Gemini's reported cost with multiple simultaneous effects warrants further investigation, particularly considering that it delivered the lightest geometry.

The three implementations also differ slightly in their interpretation of when the gameplay snare ends relative to its release animation. This will need to be standardised before production integration.

Technical takeaway: Codex demonstrated strong gameplay architecture and testing coverage, Gemini delivered an interesting lightweight shader-based implementation, and Claude demonstrated extensive state verification and GPU-driven animation.

6. Deliverable quality and verification

All nine review archives were checked for archive integrity, internal SHA-256 hashes where available, video metadata and the presence of actual editable assets or Unity packages.

TrialCodexGeminiClaude
A — Files in review archive916490
B — Files in review archive6167113
C — Files in review archive2559886
Archive integrityPassedPassedPassed

No mismatches were found among the verifiable file hashes. Some Gemini manifests, however, did not cover every file included in their respective archives.

All agents delivered real production assets rather than only documentation or concept presentations.

The review archives were intentionally kept relatively small, so some heavy Blender masters, textures and Unity dependencies remain in their respective local workspaces.

Codex's Trial C archive was particularly self-contained: it included the editable Unity project, package configuration, project settings, Blender sources and importable Unity packages.

Claude also included editable sources and an importable Unity package for Trial C.

Gemini delivered the relevant prefab, shaders, materials and scripts, although its review archive does not contain every dependency required to restore the complete production workspace.

TrialCodexGeminiClaude
A79s, 1080p44s, 1080p131s, 1080p
B46s, 720p31s, 1080p68s, 540p
C31s, 1080p9s, 1080p78s, 1080p

All nine primary videos were confirmed to be valid H.264 video files.

Codex and Claude did not meet the requested 1080p resolution for their primary building walkthrough videos. Gemini's VFX overview was considerably shorter than the other candidates.

7. Observed differences in working methodology

Codex — Production engineering and efficiency

Codex consistently produced the lowest generated output-token counts and was generally the fastest agent.

Its approach relies heavily on writing reusable automation, executing it and collecting structured validation results.

Particularly strong areas:

  • Reproducible production pipelines and export fidelity.
  • Gameplay architecture and Unity integration.
  • Automated geometric and functional validation.
  • GPU instrumentation.
  • Structured, reusable deliverables.

Its main potential weakness is that technically correct procedural production may still require substantial artistic refinement.

Gemini — Asset production and optimisation

Gemini performed particularly well when reusing, processing and optimising existing assets.

Antigravity's hybrid workflow was also interesting. For Trial A, it used 24 Neon XHigh calls for planning, 105 Hydrogen XHigh calls for execution and one context-compaction operation.

Particularly strong areas:

  • Mesh optimisation and UV repair.
  • Existing asset discovery and reuse.
  • Material and shader production.
  • Adapting when external tools fail.
  • Relatively efficient execution.

Its main weaknesses in this benchmark were less comprehensive functional testing in some assignments and less reliable performance measurement methodology.

Claude — Investigation and complex problem-solving

Claude consistently performed the most extensive investigations, often testing several hypotheses before identifying the underlying cause of a problem.

Particularly strong areas:

  • Complex rigging and deformation problems.
  • Unity import and runtime debugging.
  • Diagnosing root motion and rendering issues.
  • Detailed documentation of remaining limitations.
  • Independent visual critique and refinement.

The trade-off was substantially greater token consumption and longer execution time, including usage-limit interruptions.

Its session logs show how repeated tool calls, image inspection and increasingly large conversation contexts can accumulate substantial cached-input consumption.

8. Tools, plugins and external resources

One interesting observation is that none of these assignments required an extensive collection of newly installed AI tools.

Tool or workflowObserved usage
Blender Python / bpyAll three agents
Blender Cycles / EEVEEAll three agents
Unity HDRPAll three agents
Shader Graph / HLSLAll three agents
FFmpegAll three agents
Existing project asset librariesExtensively reused
CC0 textures and materialsReused in architecture and VFX
MeshyExisting creature model only
MixamoNot used; quadruped assignment
Blender MCPNo decisive contribution documented

External skills and public APIs |Available, but no substantial new dependency
Independent critic subagents |Mainly used in Trials B and C The agents were explicitly permitted to explore external resources, including Skills.sh, GitHub tools, public APIs, Poly Haven, ambientCG, The Base Mesh, Unity Asset Store packages and Blender add-ons.

However, conventional production tools combined with scripting, existing assets and visual review were sufficient to complete all nine assignments.

This suggests that improving the production–rendering–critique–refinement workflow may currently provide more value than continuously adding new plugins.

9. Preliminary conclusions

Based exclusively on the technical results, my provisional allocation of development tasks would be:

Development areaPreferred agent or workflow
Gameplay programmingCodex
Unity integration and buildsCodex
Production automationCodex
Asset discovery and reuseGemini
Mesh and UV optimisationGemini
Complex debugging and investigationClaude
Character riggingCodex or Claude, pending visual review
Creature animationPending visual review
ArchitecturePending visual review
VFXPending visual review
Independent technical investigationClaude, when the additional cost is justified

I do not think the results justify declaring one universal winner.

Codex currently appears to offer the strongest general production-engineering profile for this particular project. Gemini offers a compelling asset production and optimisation workflow. Claude's deeper investigations can be particularly valuable when dealing with difficult technical problems that would otherwise block production.

However, the artistic quality of the actual results may change these conclusions substantially.

A technically efficient workflow is not necessarily preferable if its assets require considerably more manual artistic work afterwards.

Next steps (suggested by chat gpt)

The next stage is a human visual review of all nine productions, followed by a common Unity test environment where the original candidates can be compared under identical conditions.

This will include synchronised creature animations, identical player controllers and lighting for the buildings, and a shared GPU profiling setup for the three VFX implementations.

The final evaluation will use the following weighting:

CriterionWeight
Artistic quality at gameplay distance35%
Functionality and Unity integration25%
Consistency with the game's art direction15%
Editability and reusability10%
Performance10%
Execution time and resource consumption5%

The ultimate objective is not simply to identify the best AI agent, but to establish which workflows produce the best results for different game development disciplines, and whether combining their respective strengths is more effective than relying on a single agent.

Final caveat: the current audit is based on delivered files, source code, reports and recorded technical evidence. The nine productions have not yet been independently rerun together in a normalised Unity environment. This is a practical, project-specific benchmark with a small sample size, rather than a statistically rigorous evaluation of general model capabilities.

and after the latest test:

DimensionResult
Raw token efficiencyGemini
Documented execution speedCodex
Number of documented functional testsCodex
Depth of the critique processClaude
Improvement after refinementGemini particularly stands out
Actual artistic qualityPending human review
Comparative runtime performanceStandardised benchmarking required

The main takeaway from this fourth trial is that Gemini can push its refinements considerably further when required to undergo multiple critique and refinement cycles, while maintaining relatively low token consumption. This is an interesting development compared to the first three trials.

That last part is particularly interesting for the use case I described up there. I think ill keep using chat gpt/codex as allrounder ( i also like the interface/tone/structure), claude when things get sweaty or for quick prototype, gemini as workhorse shared with codex. Haven't tried fable so far but i guess i would be disappointed too if it takes all the decisions for me like it did here, even if it looks good.


r/aigamedev • • 13h ago

Commercial Self Promotion Pixel Genesis, a 3D incremental game I'm building with AI coding agents (free browser demo)

25 Upvotes

Free demo, plays in the browser on a computer or phone: https://lini-games.itch.io/pixel-genesis

It's an incremental about a cube you grow shell by shell. Every cubixel is placed one at a time, by your clicks or by a fleet of machines you can watch at work, and buried worlds rise out of the surface as it grows.

How it's made: I design, direct and playtest, and AI coding agents (mostly Claude Code) write most of the code, in plain JavaScript with three.js. The music and sound effects are synthesized live by the game's code. Two panorama pictures are AI-generated images, and the rest of the art is drawn by code.

Happy to answer questions about the workflow.


r/aigamedev • • 16h ago

Demo | Project | Workflow I spent 3 weeks building a fully destructible voxel game with Claude, then paused the project—releasing the free demo so it doesn't go to waste (CELLBREAKERS)

24 Upvotes

*Since I am Japanese, the language in the attached gameplay video is Japanese. Please be aware of this in advance.

Together with Claude, I made a game called ā€œCELLBREAKERS,ā€ where you rescue friends in a voxel world where you can destroy just about anything.
But actually, I gave up on this project about three days ago. So, all that’s left now is the latest version and the demo.
However, I found a demo page on Itch.io that I hadn’t published yet. I’m going to publish it now. You can download it and play for free, so please give it a try.
(There's a link to the page in the comments.)

[What Makes the Game Fun]
惻Since you can destroy anything, you can play strategically. (Use stealth, or blow walls up with dynamite.)
惻The prison is procedurally generated every time, so I think you’ll never get bored.
惻In addition to procedural generation, there are several environment types (a snow-locked prison, a desert prison, a late-night prison, a sunset prison, etc.).
惻If there’s enough demand, I might even release the full version—which I was actually planning to sell on Steam sometime next year. (It’s not finished yet, but it will include multiplayer and additional environment types.)

[How I Used AI]
惻I made this in about three weeks using Opus 5.5. The audio and graphics are generated by code.
惻To avoid it becoming just another ā€œAIslop,ā€ I came up with the ideas myself and used Opus 5.5’s ā€œeffort: x-highā€ setting as a tool to bring them to life.

Finally, there were various reasons why I gave up, but my head just got too cluttered. So, to draw a line under it, I deleted everything—now only the latest version and its demo remain.


r/aigamedev • • 9h ago

Demo | Project | Workflow How I make pixel art animation for my game, Fighting Monsters

19 Upvotes

People asked how I'm making these

I'm building a game. The look, feel and composition are mine, from my own taste and research. I generated a few reference images, but only as references.

The animation is made with Fable 5.2. I ask it to draw everything by hand in code: every pixel placed, its own palette, characters rigged from joints, then lit and rendered to video.

How I work with it:

A still first. "Rebuild this scene as pixel art by hand in code, no AI image generation, no tracing." I iterate until it feels right.

GIFs as motion references. I give it animation GIFs I like and say "use these only for motion inspiration." It studies the timing, bounce and squash and stretch, then applies that feel to my own characters without copying the art.

Then motion, in small steps. One animation at a time, then a short scene with a simple story.

Direct it like an animator. I give plain notes like "too childish, make it serious," "camera follows the character like a platformer," or "the climb doesn't look right, redo it."

Sound with ElevenLabs. It generates the music and SFX, then times each sound to the exact frame. Again I give plain feedback, like "too sharp, make it softer."

Tip: bring your own look and idea, keep each request small, and give feedback after every render.


r/aigamedev • • 3h ago

Demo | Project | Workflow Making a military RTS with Claude Opus 5.5: tanks, a gunship and a few thousand enemies

17 Upvotes

A military RTS where a small force holds off thousands of enemies. Built in Unreal Engine 5 recorded on macOS.

All the code is written by Claude Opus 5.5 in Claude Code. I direct and playtest.

The first crowds were a mess. Enemies teleported, "swam" through the air off roofs, and flew like frozen tuna when a blast hit them.

Even after fixing that, the crowd felt like a machine. Every enemy knew where everyone was and they all reacted in the same instant. Now each one thinks on its own timer, from what it sees and hears. That did more than any animation work.

Where it's weak is judging how things look. It will say a model matches the reference when it clearly doesn't, so I check everything myself.

Not AI: the sounds are recorded libraries.

Still early, no demo yet. Happy to answer questions.


r/aigamedev • • 11h ago

Discussion I found "SHRED A BILLION" on Steam, and I think it's the best example of how the average person doesn't care about how good a game's quality looks.

Thumbnail
store.steampowered.com
17 Upvotes

Honestly, I usually play about one incremental game a week. It's a genre that relaxes me and requires a minimal IQ, which is great for turning my brain off after work and getting a quick dopamine hit.

Today I played this one after seeing a few streamers play it, and it really looks like the creator made the entire game using just Claude. The models are the typical basic stuff Claude spits out, and the sounds are too, plus there are barely any sound effects, which I assume is because Claude still isn't at the point where it can make good audio.

Anyway, I see it has over 2,000 reviews and most of them are positive. To anyone on this sub, I think it's obvious the game's quality is mid-to-low, which I have no complaints about, it delivers what it promises, but it's just another example that only a handful of nerds on Twitter care about AI being used in video games. The vast majority of people don't even have an opinion on the matter or simply couldn't care less.

It doesn't disclose any AI usage on Steam, though I think it's pretty obvious. Not sure what you guys think.


r/aigamedev • • 7h ago

Demo | Project | Workflow Used Opus 5.5 to create an incremental game inspired by Game Dev Tycoon

14 Upvotes

The game is made with Opus 5.5 med-high. I have experimented a little with Gemini Neon and Fable 5.2, but Opus is better for me at pretty much everything.

All code is made by Opus, I have manually play-tested after each iteration for changes, but haven't touched the code. I give it a bunch of changes or features and then after it's done, it will send me a list of manual tests to do.

I have used some Unity asset packs for general furniture and buildings and for the characters, but Opus have made the rest.

Slopgineer:
A game that runs on Windows & MacOS, where you play alone or with friends and create applications. Find unique Topic x Style combinations and create profitable applications with AI.

Explore the world and find tons of different ways to earn money and upgrade (number go up game)

I am currently doing a free playtest, to figure out if the game is "fun" for people other than me.

Search for "Slopgineer" on itch io to find it.


r/aigamedev • • 14h ago

Commercial Self Promotion Made a tower defense inspired by the old Warcraft 3 custom maps, where your maze buffs your units (co-op and PvP)

14 Upvotes

Hi everyone!

I've been working on my tower defense game since around November last year. It started because two friends and I played a lot of Warcraft 3 custom maps in the past, especially Pyro TD and Commander TD. What I liked most was that you build a maze, like in Line Tower Wars, but the maze buffs your own units.

I first built it as a PvP game to play against my friends. To test it on my own I added a PvE mode, and that's now the main game. A roguelite tower defense with co-op for up to 4 players or PvP with up to 8.

Around the middle of this year I started using Claude to speed the game development up. It helped a lot with the meta progression, the challenge cards, bug fixes and the balancing, which was by far the hardest part. The units, sound effects and music are from bought asset packs, and for buildings and environment I used Codex/ChatGPT because I got better results there. I didn't expect AI to give me such a speed boost.

I've played over 100 hours myself and about 40 hours with my friends, mostly PvE with handicap cards. We barely play PvP anymore, because I've tested it so much that my friends have no chance. :x I know it's not a high-end perfekt designed game, but it's pretty cool how many hours we've already put into it just because it's fun.

How I would describe the game

You build your maze that your recruits walk through. They level up, you spend their skill points on stats, towers turn them into classes (if they are full hp) like warriors, mages and priests, and enemies drop runes you can equip and combine. Every three rounds you pick a draft card with an upside and a downside for the run. Your goal is to beat all 5 enemy factions and their fortresses (which have different perks). I added the meta progression element and the handicap cards, which unlock skins and effects, to make the game last longer. That works really well, because in the end you're trying to beat brutal difficulty with three handicap cards at once.

It comes out on December 10 and costs $3.49 during the launch discount. If you like tower defense or played Pyro TD or Commander TD back in Warcraft 3, I hope you'll like it! I also requested 10 test keys from Steam, so if you'd like to try it before release, just let me know. :)

If it sounds interesting, a wishlist would help me a lot: Steampage Reverse TD

https://store.steampowered.com/app/5574140/Reverse_TD/?utm_source=reddit


r/aigamedev • • 12h ago

Demo | Project | Workflow I’m making NAWAK, a fun, trash and absurd 2D run-and-gun !

11 Upvotes

Game Title: NAWAK

Free to play !

Playable Link: https://game.nawak.wtf/

Platform: Web browser - Controller (or Keyboard & Mouse, but.. no ;) )

I used AI in the development phases :

I used Codex and Cursor with Astra, Opus, Grok, and a local Qwen model to help write and debug gameplay code, including movement and boss attacks.

For the visuals, I used GPT Image, Seedance, and Kling through Higgsfield. Don Pigeone, for example, started as short animation clips. I turned them into sprites, lined up his feet with the ground, and tuned his dive so players could see it coming. I also used Suno for music and ElevenLabs for some audio.

My role involved establishing the art design, creating concept sheets for all the game's bosses, designing the levels and combat encounters, developing zany animations, determining which elements to include in the game, and testing the whole package to evaluate the overall result.

Description:

I’m making NAWAK, a cartoon action game about a tiny king with a Glock and a pair of claws. The free alpha has 15 levels, and every level ends with its own boss.

You start in a carnivorous garden. A few levels later, you’re fighting a forgotten teddy bear in a fast-food playground. The city takes you from a street brawl with Don Pigeone to a fight across six subway cars and a trip through the sewers. Then there’s a carnival with a haunted house and a Palace of Curiosities. The fifth world takes you through a graveyard, into a ruined chapel where the stained glass fights back, and finally down into the crypts.

If you try it, I’d love to hear which level you’d send a friend straight to. I’d also love to know where you first got stuck, whether it was a jump, a boss attack, or figuring out what to do next.

Involvement: I’m developing NAWAK at Studio Nawak. I’m sharing the current alpha to get feedback on the levels and boss fights while I’m still working on them.


r/aigamedev • • 12h ago

Discussion How to get art consistency?

Post image
11 Upvotes

Style wise, I’m aiming for something in between Hades and Banner Saga. I’ve been, creating character sheets and a custom LoRA for codex to reference. The main thing I’m worried about is the garbage in garbage out effect. I’ve asked codex to keep new generations to within 3-5% of style consistency and then add the new reference to the LoRA but my discord friends still say the art is very distinctly AI, they just can’t put their finger on why. My guess is it’s the eyes and hands since it’s always the eyes and hands.


r/aigamedev • • 14h ago

Tools or Resource Customisable VFX tool

11 Upvotes

So while working on this VFX tool I realised my imagination wasn't quite what it used to be so I hand it to you guys! What have you struggled most with find VFX for?