godot-gdscript-patterns
Installation
Summary
Production-ready GDScript patterns for Godot 4 game architecture, state management, and performance optimization.
- Covers seven core patterns: state machines, autoload singletons, resource-based data, object pooling, component systems, scene management, and save systems with complete working examples
- Includes best practices for signal-based decoupling, static typing, caching node references, and avoiding allocations in hot paths
- Demonstrates performance optimization techniques like object pooling for frequent spawning, disabling processing off-screen, and reusing arrays to minimize garbage collection
- Provides practical implementations for common game systems: health/damage components, hitbox/hurtbox detection, async scene loading with transitions, and encrypted save file handling
SKILL.md
Godot GDScript Patterns
Production patterns for Godot 4.x game development with GDScript, covering architecture, signals, scenes, and optimization.
When to Use This Skill
- Building games with Godot 4
- Implementing game systems in GDScript
- Designing scene architecture
- Managing game state
- Optimizing GDScript performance
- Learning Godot best practices