AutoLoad registration (basic)
Do NOT Load this file for expert architecture work — Project Settings → AutoLoad registration and typed-var hygiene are covered by official docs. Open only when a teammate needs a beginner checklist.
Register a Node Autoload
- Create
res://autoloads/game_manager.gdextendingNode. - Project → Project Settings → Autoload → Add → name
GameManager. - Verify
project.godot:
[autoload]
GameManager="*res://autoloads/game_manager.gd"Access
func _ready() -> void:
GameManager.game_started.connect(_on_started)Prefer signals for state changes; do not reach into Autoload children from gameplay
scenes. For boot-order, service locator, and safe scene switch — return to SKILL.md
and the scripts under scripts/.