← ClaudeAtlas

build-scenelisted

Pattern-based Godot scene construction with node hierarchy templates and companion node rules
n24q02m/better-godot-mcp · ★ 24 · AI & Automation · score 85
Install: claude install-skill n24q02m/better-godot-mcp
# Build Scene Construct Godot scenes from proven patterns. Each pattern includes REQUIRED companion nodes that LLMs commonly forget. ## Scene Patterns ### Platformer Character ``` CharacterBody2D "Player" CollisionShape2D # REQUIRED -- CharacterBody2D without this = no collisions Sprite2D # Visual representation AnimationPlayer # Idle, run, jump, fall animations Camera2D # Follow camera position_smoothing_enabled = true position_smoothing_speed = 5.0 ``` Companion rule: `CharacterBody2D` MUST have a `CollisionShape2D` child. Without it, `move_and_slide()` works but detects zero collisions. ### Top-Down Character ``` CharacterBody2D "Player" CollisionShape2D # REQUIRED Sprite2D NavigationAgent2D # Pathfinding (if AI/NPC) path_desired_distance = 4.0 target_desired_distance = 4.0 ``` ### UI Screen ``` Control "MenuScreen" MarginContainer # Prevents content touching edges VBoxContainer # Vertical layout for menu items Label "Title" Button "StartButton" Button "OptionsButton" Button "QuitButton" ``` Companion rule: Always wrap UI content in `MarginContainer` first. Direct children of `Control` have no automatic margins. ### Projectile ``` Area2D "Bullet" CollisionShape2D # REQUIRED -- Area2D signals need this to detect overlaps Sprite2D VisibleOnScreenNotifier2D # Auto-cleanup when off-screen (connect screen_exit