BACK TO CARTRIDGES
CLS-06 · Engines & Game JuiceVERSION 1.6.0 · 2,650 INSTALLS

Godot 4.x Strict GDScript & Resource Architecture

Eliminate hallucinated Godot 3 APIs (`KinematicBody2D`, `yield`) and enforce typed signals, Custom Resources, and FSMs.

ENGINE: godot4AI: code
npx aigameskills add godot4-gdscript-idioms
DOWNLOAD BYOK BUNDLE (.JSON)

SKILL.MD · INSTRUCTION MANUAL

## Hard Ban on Godot 3 Hallucinations
NEVER emit `KinematicBody2D`, `move_and_slide(velocity)` with arguments, `yield()`, `connect("sig", self, "_fn")`, or `export var`.

## Mandatory Godot 4.x Idioms
1. **Static Typing Everywhere**: `@export var move_speed: float = 220.0`, `@onready var sprite: AnimatedSprite2D = %Sprite`, typed arrays `Array[ItemData]`, and explicit return types `-> void`.
2. **First-Class Signals & Await**: `signal health_changed(current: int, maximum: int)`, `health_changed.connect(_on_health_changed)`, `await get_tree().create_timer(0.15).timeout`.
3. **Call Down, Signal Up + Custom `Resource`**: Data definitions (`WeaponStats extends Resource` with `class_name WeaponStats`) decouple inspector tuning from scene nodes.
LIVE CRT SKILL PLAYGROUND
COST: 4 MANA