Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Simple health bar 2d

An asset by Leo_7197340
The page banner background of a mountain and forest
Simple health bar 2d hero image

Quick Information

0 ratings
Simple health bar 2d icon image
Leo_7197340
Simple health bar 2d

A simple 2d health bar with a damage indicator

Supported Engine Version
4.4
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
10 days ago
Git URL
Issue URL

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

  1. Call init_bar(health_value) in the ready() function of the script where you want to attach the health bar to.
  2. 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.

A simple 2d health bar with a damage indicator

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Simple health bar 2d icon image
Leo_7197340
Simple health bar 2d

A simple 2d health bar with a damage indicator

Supported Engine Version
4.4
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
10 days ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers