Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be πŸ“–

Health Node

An asset by JBSnippets
The page banner background of a mountain and forest
Health Node thumbnail image
Health Node thumbnail image
Health Node thumbnail image
Health Node hero image

Quick Information

0 ratings
Health Node icon image
JBSnippets
Health Node

A custom node designed to store and update the health amount of a node, emitting signals based on health amount changes and set properties.The node enables the addition of health capabilities, which can be adjusted by invoking the update_amount function. It can automatically send signals based on changes in the health amount and set properties.

Supported Engine Version
4.1
Version String
0.1.2
License Version
MIT
Support Level
community
Modified Date
7 months ago
Git URL
Issue URL

Health node ~ Godot 4+

A custom Godot 4+ node designed to store and update the health amount of a node, emitting signals based on health amount changes and set properties.

The node enables the addition of health capabilities, which can be adjusted by invoking the update_amount function. It can automatically send signals based on changes in the health amount and set properties.

🧬 Features

  • Customizable health and maximum health values.
  • Simplified connection to a TextureProgressBar and ProgressBar node as a health bar.
  • Configurable auto-hide feature for the health bar.
  • Option to switch from manual to automatic health update behavior.
  • Ability to pause the automatic health update for a specified number of seconds.
  • Ability to enable or disable damageable, healable, and revivable behaviors.
  • Signals are emitted based on behavior, set properties, and updates to health amounts.

πŸ’½ Supported Versions

πŸ“₯ Installing the Plugin

Install using Godot's AssetLib

  1. Go to the AssetLib in the Godot Editor.
  2. Type "health" to search for the Health node.
  3. Select the asset (by JBSnippets 😊) and click Download.

Install with examples

  • Download as a ZIP file from this repository or
  • Clone this repository

πŸš€ How to add the node

After enabling this plugin, you can add the Health node as a child of another node, usually a CharacterBody or StaticBody, to use its capabilities.

  1. Right-click on a node or press Ctrl+A.

README Add Node

  1. Type "health" on the Search textbox of the Create New Node form to filter the node list and easily find the Health node.

README Add Node

  1. Double-click the Health node to add as a child of the node.

README Add Node

πŸ“Ί Video on How to use the plugin.

README Watch the video

πŸ“‘ More Plugins!

Head on over to my website at https://plugins.jbsnippets.com to read more about this plugin and other plugins that I've been creating during my game development journey Godot.

A custom node designed to store and update the health amount of a node, emitting signals based on health amount changes and set properties.

The node enables the addition of health capabilities, which can be adjusted by invoking the update_amount function. It can automatically send signals based on changes in the health amount and set properties.

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
Health Node icon image
JBSnippets
Health Node

A custom node designed to store and update the health amount of a node, emitting signals based on health amount changes and set properties.The node enables the addition of health capabilities, which can be adjusted by invoking the update_amount function. It can automatically send signals based on changes in the health amount and set properties.

Supported Engine Version
4.1
Version String
0.1.2
License Version
MIT
Support Level
community
Modified Date
7 months 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