Godot 4 game development with AI
Godot 4 is free, light and perfect for 2D and small 3D games. GDScript is simple, but Godot 4 changed many APIs from Godot 3, and that is where generic AI answers often break. This guide shows how to get Godot 4 code that runs the first time.
Godot 4 code, not Godot 3
Godot 4 renamed and reworked many things: KinematicBody2D became CharacterBody2D, move_and_slide() takes no arguments, export became @export, and signals connect with callables. Topvon targets Godot 4 by default and Project Link reads your project to match your node names and input actions.
Describe scenes and nodes
Godot is built on scenes and nodes, so the best requests describe them: "a Player scene with CharacterBody2D, a Sprite2D, a CollisionShape2D and a Camera2D that follows smoothly". Mention the input actions you use, and whether you want signals or direct calls between nodes.
extends CharacterBody2D
# Godot 4 platformer movement with coyote time
@export var speed := 220.0
@export var jump_velocity := -420.0
var gravity: float = ProjectSettings.get_setting("physics/2d/default_gravity")
var coyote := 0.0
func _physics_process(delta: float) -> void:
if is_on_floor():
coyote = 0.12
else:
velocity.y += gravity * delta
coyote -= delta
if Input.is_action_just_pressed("ui_accept") and coyote > 0.0:
velocity.y = jump_velocity
coyote = 0.0
var dir := Input.get_axis("ui_left", "ui_right")
velocity.x = move_toward(velocity.x, dir * speed, speed * 8.0 * delta)
move_and_slide()Build complete games inside Godot
With Project Link, Topvon can create a complete small game in your project: main menu, levels, HUD, pause and game over, all as real scenes and scripts. It also generates the .tscn scene files, so you can open and edit everything in the Godot editor.
Fix errors where they happen
Paste the errors from the Godot debugger and the fix goes into the exact script and line. Every change is shown as a diff first and backed up, so you can undo it with one click.
Questions people ask
Does Topvon write Godot 4 or Godot 3 code?
Godot 4 by default, with Godot 4 APIs such as CharacterBody2D and @export. Ask explicitly if you still use Godot 3.
Can it create scenes, not just scripts?
Yes. Project Link writes .tscn scene files and scripts together, so the game opens directly in the editor.
Is C# in Godot supported?
GDScript is the default. You can ask for C# if your project uses the .NET version of Godot.
Can I undo what the AI changed?
Yes. Every changed file is backed up and restore points let you roll back any change.