godot-architecture
Installation
SKILL.md
Godot Game Architecture Patterns
Architectural approaches for building scalable, maintainable Godot games.
Scene Composition Over Inheritance
Godot's scene system naturally supports composition. Build complex behavior by combining small, focused scenes rather than deep inheritance chains.
Component-Based Composition
# Player.tscn hierarchy:
# CharacterBody2D (root — movement logic)
# Sprite2D (visual)
# CollisionShape2D (physics body)
# HealthComponent (Node — health logic, emits signals)
# InventoryComponent (Node — item management)
# ExperienceComponent (Node — XP/leveling)