What problem does it solve?
Building robust and reusable combat systems in Godot can be error-prone due to ad-hoc implementations of health, damage, hit detection, and state logic. This Skill provides a modular blueprint that standardizes how damage flows through a HealthComponent, applies invulnerability windows, and orchestrates combat states and effects.
Core Features & Use Cases
- Component-based Hitbox/Hurtbox architecture for reliable collision and damage handling.
- DamageData-driven damage, knockback, and invincibility frame support to ensure consistent combat feel across enemies and players.
- HealthComponent with signals for health changes, death, and healing, enabling clean UI and gameplay reactions.
- Combat State Machine, combo system, and ability framework to support a variety of enemy and player behaviors in action RPGs and fighters.
- Clear examples and patterns (combat_system_patterns.gd and hitbox_hurtbox.gd) to accelerate integration into Godot projects.
Quick Start
Wire the provided Hitbox, Hurtbox, and HealthComponent patterns into your player or enemy to prototype combat immediately.