Workflow 03 · Code

Godot 4 + AI coding

An assistant is very good at about a third of a Godot project, actively harmful at another third, and the remaining third will decide whether you keep using it. Here is the split, and the specific ways it goes wrong.

GDScript 4 syntax throughout · no benchmark numbers, because nobody has published an honest one
Disclosure impact: none. Code is not player-facing content.

Start with the rule that saves the most time

Let the model write .gd files. Do not let it write .tscn files.

A scene file is not a document, it is a resource graph: every node carries a generated path like parent="Body/Sprite2D" and a numeric id, and every resource reference points at an ext_resource or sub_resource block defined elsewhere in the same file. A model that has never opened your scene will invent plausible parent paths, plausible ids, and plausible property names — and the file will parse, because the format is text, and then fail at runtime in a way that reads like a physics bug.

The failure mode is specifically nasty because Godot's error is unhelpful. You get a null reference on a node you can see in the editor, or a scene that loads with half its children missing. You then spend forty minutes debugging your own logic, because nobody suspects the file that "just has a typo".

Keep scene construction in the editor, where a human drags things and the paths are written by the thing that knows them.

The Godot 3 problem

GDScript changed substantially between 3.x and 4.0, and a large share of the GDScript on the public internet is still 3.x. Any model trained on that corpus will produce it, confidently, with no warning. These are the six substitutions that account for most of it:

What it writesWhat Godot 4 wants
export(int) var hp@export var hp: int
onready var s = $Sprite@onready var s = $Sprite
yield(get_tree().create_timer(1), "timeout")await get_tree().create_timer(1).timeout
connect("pressed", self, "_on_pressed")pressed.connect(_on_pressed)
PoolIntArray, PoolVector2ArrayPackedInt32Array, PackedVector2Array
packed_scene.instance()packed_scene.instantiate()

The cheap fix is a rules file in the project root. Cursor reads .cursor/rules, Copilot reads .github/copilot-instructions.md, and both are plain text. Two sentences of context cut a surprising amount of this:

This project is Godot 4, GDScript 4 syntax only.
Never emit Godot 3 syntax: no `onready`, no `export(type)`,
no `yield`, no `connect(sig, self, "method")`, no `Pool*Array`.
Annotate with @export and @onready. Await signals
with `signal.emit()` and `await signal`.
Do not write or modify .tscn scene files.

It reduces the problem without solving it. You still read every diff. That is the actual cost of using one of these tools, and any workflow that pretends otherwise is selling something.

What is genuinely worth delegating

  • Self-contained systems with a clear interface. Save and load, an inventory model, a dialogue parser, a stats calculator, a state machine. You can describe the input and output in a paragraph, the model writes a file, and you read one file.
  • Editor tool scripts. @tool scripts that batch-rename nodes, fill an @export array from a folder, or scatter props in a level. These are small, boring, and read-only with respect to your game — the highest ratio of time saved to risk taken.
  • Translating between formats. A CSV of dialogue into resources, a Tiled map into scene data, an old 3.x script into 4.x. Verification is mechanical and fast.
  • Explaining your own error. Pasting a stack trace and forty lines of context is what these models are best at, and it costs nothing when they are wrong.
  • Math you already know how to specify. Bezier curves, spring damping, camera shake, screen-to-world conversion. The model is not better at maths than you; it is faster at typing it.

What is worth delegating to nobody

  • Anything that needs the inspector. Layout containers, theme overrides, animation players, collision shapes. The answer depends on what is on screen, and the model cannot see your screen.
  • Physics tuning. It will give you numbers that look like game-feel constants and are, in fact, invented. You tune this by playing it.
  • Architecture you have not decided yet. Ask for a design and you get the average of every Godot tutorial ever written, which is autoloads for everything and a GameManager that knows about the UI.
  • The last 10% of a feature. The model gets you to 90% in ten minutes and the remaining 10% is where the actual design lives. Budget for it.

There is no official Godot AI integration

Worth stating plainly, because the ecosystem implies otherwise. The Godot Foundation ships no MCP server, and neither Anthropic nor GitHub ships a GDScript plugin. Copilot has no GDScript-aware mode at all: it completes your script as generic text, which is why it is good at the shape of a function and bad at the API inside it. Cursor reaches GDScript through a community extension that wires up Godot's language server, which means you get real completion and diagnostics only if that server is running and reachable.

Community MCP bridges do exist and they are genuinely useful — the better ones expose the editor itself: create nodes, read the scene tree, run a scene, read the debugger output. That is a different order of capability from autocomplete.

Understand what you are installing before you install it. An MCP server is a channel between a language model and your project, and at least one popular Godot bridge runs GDScript inside your live game so the model can read the result. That is powerful, and it is also a remote code execution path into your project, driven by a model that can be steered by anything it reads. If you would not paste a stranger's script into your project and press run, do not give a model the ability to do it either.

A division of labour that survives a real project

  1. You own the scene tree. Nodes, signals wired in the editor, and which script sits on which node. Write it down in the rules file so the model stops guessing.
  2. The model owns leaf scripts. One file, one job, no dependencies on siblings. If it needs to know about four other systems, the design is wrong, not the prompt.
  3. You own the diff review. Not a skim. GDScript is dynamically typed enough that a wrong assumption compiles and runs until it does not.
  4. Commit before every generation. A branch per feature is enough. The cost of undoing a 200-line hallucinated refactor without a commit is the thing that makes people quit these tools.
  5. Never paste proprietary code into a free tier. Check what the plan says about training on your inputs. Several do, on the cheap plan, and silently.

What this does to your Steam form

Nothing. Part 3 of the Content Survey asks about content that reaches the player — art, audio, text, and since January 2026 the store page and marketing material. Source code is none of those. An assistant that writes your save system does not create a declaration obligation, and neither does one that writes your shaders.

The line moves the moment the same assistant produces something a player sees. A model that generates your UI icons has crossed it. A model that writes the code which displays those icons has not. The checker has the exact cases, including the ones Valve has not settled.

On the numbers you have read elsewhere. "Cuts development time in half" is a testimonial with a percentage attached, not a measurement. The one controlled study that exists points the other way: METR's 2025 trial, sixteen experienced open-source developers working in their own repositories, found they were about 19% slower with AI assistance while believing they had been faster. That result does not transfer cleanly to game code, and one study is one study — but it is the only number here with a method behind it, and it is a warning about self-report rather than about the tools.

The honest version of the claim is narrower: it removes the blank-file problem and the boilerplate, and it adds a review step you did not previously have. Whether that nets out positive depends on how much of your day was boilerplate.