Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Builds data-driven Godot 4 character abilities with cost, cooldown, casting, stat modifiers, gameplay tags, and HUD binding.
55% 91%+36 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 12 of 22 without it.
3 of 3 safety checks passed
Not used yet
Connect AbilityComponent and EffectHolder signals to HUD widgets — no per-frame polling.
Related skills: hud-system for HUD architecture and resource-bar patterns, godot-ui for Control-tree layout and theming.
| Signal | Source | Payload |
|---|---|---|
ability_activated(ability) | AbilityComponent | Ability resource |
cooldown_started(ability, duration) | AbilityComponent | Ability, float |
cooldown_finished(ability) | AbilityComponent | Ability resource |
effect_applied(effect) | EffectHolder | Effect resource |
effect_expired(effect) | EffectHolder | Effect resource |
Rule: Bind the HUD to these signals via a dedicated init(player) call (see §5), not directly in _ready — the HUD may be instantiated before the player exists (loading screens, scene transitions). Never read _cooldowns or _active directly from the HUD.
Use a TextureProgressBar in radial mode to display remaining cooldown as a sweep overlay. On cooldown_started record the total duration and start a per-frame lerp; on cooldown_finished snap to zero and hide the overlay.
# ability_icon.gd — one per ability slot in the HUD
class_name AbilityIcon
extends TextureRect
@export var ability_name: String
@onready var cooldown_sweep: TextureProgressBar = $CooldownSweep
@onready var charge_count: Label = $ChargeCount
var _cooldown_total: float = 0.0
var _cooldown_remaining: float = 0.0
Next to this one in the catalogue, plus more from the same author.