General
676 installs
godot-gdscript-patterns
by wshobson/agents
Master Godot 4 GDScript patterns including signals, scenes, state machines, and optimization. Use when building Godot games, implementing game systems, or…
Skill content
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 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 Core Concepts 1. Godot Architecture