John | Unity + Godot with AI (@jvan253) profile picture

Making Unity + Godot games with AI coding agents. I post the bugs AI writes and how to fix them. Free rules + tools 👇

Joined November 2011
Photo by John | Unity + Godot with AI (@jvan253)Photo by John | Unity + Godot with AI (@jvan253)Photo by John | Unity + Godot with AI (@jvan253)Photo by John | Unity + Godot with AI (@jvan253)Photo by John | Unity + Godot with AI (@jvan253)Photo by John | Unity + Godot with AI (@jvan253)Photo by John | Unity + Godot with AI (@jvan253)Photo by John | Unity + Godot with AI (@jvan253)Photo by John | Unity + Godot with AI (@jvan253)Photo by John | Unity + Godot with AI (@jvan253)
AI keeps writing Unity code that won't compile? Paste this before you ask it for anything. It stops Cursor and ChatGPT from inventing APIs and mixing up Unity 6 with 2022. Free, copy it 👇
1
68
I built a little browser tool that generates pixel-art props from a seed: crates, barrels, chests, potions, torches and more. Runs offline, exports PNG + sprite sheets + Godot SpriteFrames.
Free lite version: johnvanscoyoc.itch.io/pixel-…
1
1
30
been writing rule files that stop AI agents from breaking unity + godot code (fake APIs, godot 3 syntax, lost usings, ?. on destroyed objects) free starter rules are on my github. the full kits are 25% off for the itch halloween sale through nov 4:
itch.io/s/205853/halloween-s…
1
33
godot 4 + AI: if your agent spawns stuff inside body_entered you'll see "Can't change this state while flushing queries" the fix is add_child.call_deferred(coin) and set_deferred("monitoring", false) it parses fine so the AI thinks it's done. it isn't
13
You're a senior Unity C# dev on Unity [6 / 2022.3].
Write complete files with every using directive.
No invented APIs. Say "unverified" if unsure.
Null checks with == null, never ?.
New Input System only.
Unity 6: linearVelocity, linearDamping.
1
21
unity + AI tip: never let it write target?.TakeDamage() on a MonoBehaviour. a destroyed unity object isn't real C# null, so ?. still calls it and you get MissingReferenceException. use: if (target != null) target.TakeDamage(1); == knows it was destroyed. ?. doesn't
17
Before: "Here's your PlayerController!" → CS0246: The type 'List<>' could not be found. > After: compiles first try. > > The fix wasn't a better model. It was 3 rule files. 🧵
1
30
Before: `GameObject.FindByTag`, `transform.GetChildByName`, `Vector3.Clamp`. None of these exist. > After: a named list of known fakes, plus "say *unverified* and link the docs instead of guessing."
1
12
Waited 2 hours to hear about breaking news from the FBI only to @FBIDirectorKash not say shit and walk out like a little bitch wtf?
2
67
John | Unity + Godot with AI retweeted
Still nothing Doug? Over 500,000 babies murdered every year and you said nothing. Wow
Still nothing Doug? Over 500,000 babies murdered every year and you said nothing. Wow
Brad you are killing it in the booth. Futures looking great! Good luck tomorrow @keselowski
Praying for you and you're family Eric... when will you be back on tv????? @ericbolling
John | Unity + Godot with AI retweeted
As a parent myself, I hope your kids don't have to deal with daily hate from elitist academics at 11 or any other age. nitter.cf/jodiecongirl/status/87…
Barron Trump is wearing a shirt that reads "The Expert" and I just threw up in my mouth a little.
3,175
5,626
718
19,240
@Softykjr I don't know which is grosser the guy passing or the asshat that takes a picture of a guy in a bathroom