
L
Publisher
leo7197340
Simple health bar 2d 2D
2D
Health UI Progress Damage Indicator 2D Visual Responsive
A simple 2d health bar with a damage indicator
This plugin has been mirrored from the Godot Asset Library.
The plugin author is in no way affiliated with Gadget.
If you are the author of this plugin and would like this mirror removed, please contact support@gadgetgodot.com.
Simple Health Bar
Description
This Godot plugin provides a health bar with a damage indicator. When health decreases, the red progress bar updates immediately, while the white damage bar updates with a 0.2-second delay (modifiable in the Timer node within the plugin scene). This delay helps visually indicate recent damage taken, making health loss more noticeable.
Features
- A responsive progress bar that instantly reflects health changes.
- A secondary damage bar that updates after a short delay to highlight recent damage.
Usage
- Call
init_bar(health_value)
in theready()
function of the script where you want to attach the health bar to. - Call
update_bar(new_health_value)
whenever the health value changes.
License
This plugin is open-source and licensed under the MIT License. See LICENSE.md
for details.