What problem does it solve?
This Skill provides a comprehensive framework for implementing complex combat mechanics in Godot Engine, addressing common challenges in action, RPG, and fighting games.
Core Features & Use Cases
- Hitbox/Hurtbox Architecture: Implement precise collision detection for attacks and damage reception.
- Damage Calculation: Utilize a
DamageData class for flexible and contextual damage application, including armor and resistances.
- Health & State Management: Manage character health, invincibility, and combat states (attacking, stunned, etc.).
- Combo & Ability Systems: Create intricate combo chains and manage ability cooldowns.
- Use Case: Develop a 2D action-platformer where enemies can hit the player, and the player can perform light and heavy attacks, special moves with cooldowns, and block incoming damage.
Quick Start
Use the godot-combat-system skill to implement a health component with a maximum health of 150 and a take_damage function that accepts DamageData.