Ik ik, AI topics are terrible and all of that but today i come with some data for people who wonder about LLMs - i used QWEN3:14B and 2 helper files giving it syntax rules
My goal was to make simple script where i won’t use much godot-specific stuff to see if coding is good for qwen model, it will move node2D if sum of array’s 1 values is greater than array’s 2
This is the first version of code it gave
extends Node2D
var array1: Variant;
var array2: Variant;
func _ready():
array1 = [1, 2, 3];
array2 = [4, 5, 6];
func _process(delta: float):
var sum1: float;
var sum2: float;
sum1 = 0;
sum2 = 0;
for i in array1:
sum1 += i;
for i in array2:
sum2 += i;
if sum1 > sum2:
translation += Vector2(1, 0) * delta;
The code was working but it had strange ways of working and also qwen assumed it requires process, probably due to how common process is used
This is the final code without any hand-edition
extends Node2D
var array1: Array = [20, 30, 40];
var array2: Array = [25, 35, 45];
var sum1: float = 0.0;
var sum2: float = 0.0;
func _ready():
sum1 = 0.0;
sum2 = 0.0;
for i in array1:
sum1 += i;
for i in array2:
sum2 += i;
if (sum1 > sum2):
position.x += 100;
here are the prompts:
^ this is the first one
^ this is the second
it’s important to add that second’s time should be like 2 minutes because i edited it and added more precise instructions as you can see
Results ig :\
again ik that this topic is very annoying to talk about, and also i do this because i wanted to experiment with some post formatting, still these are results:
- generating ~90% correct code requires about 3x more time than writing it by hand
- you need to know how code will work in your head, any vague description will make code even more inaccurate
- even formatting text with instructions can take a while and ton of editing so use it only for large files if you’ll ever have to
Some notes
I expected worse results, this experiment is also biased because i use older local model and not some newest paid claude ai but still i believe it will give similar results on ones people use, as long as you want accurate code hand-coding is way better, unless you can’t type on keyboard fast…

