Resource bar (separated units)
A bar that represents a resource in the game (health, mana, ammo, etc).
Authors and contributors to this experimental extension: D8H, VictrisGames, Entropy.
A bar that represents a resource in the game (health, mana, ammo, etc).
There are ready-to-use resource bars in the asset-store resource bars pack.
Tip
Learn how to install new extensions by following a step-by-step guide.
Resource bar (separated units)
A bar that represents a resource in the game (health, mana, ammo, etc).
Object actions
Maximum value
Change the maximum value of the object.
See parameters
- Parameter 0: 👾 Object
- Parameter 1: 🟰 Operator
- Parameter 2 (🔢 Number): Value
Technical note: parameter 3 are internal parameters handled by GDevelop.
Value
Change the value of the object.
See parameters
- Parameter 0: 👾 Object
- Parameter 1: 🟰 Operator
- Parameter 2 (🔢 Number): Value
Technical note: parameter 3 are internal parameters handled by GDevelop.
Object conditions
Empty
Check if the bar is empty.
See parameters
- Parameter 0: 👾 Object
Technical note: parameter 1 are internal parameters handled by GDevelop.
Full
Check if the bar is full.
See parameters
- Parameter 0: 👾 Object
Technical note: parameter 1 are internal parameters handled by GDevelop.
Maximum value
Compare the maximum value of the object.
See parameters
- Parameter 0: 👾 Object
- Parameter 1: 🟰 Relational operator
- Parameter 2 (🔢 Number): Value to compare
Technical note: parameter 3 are internal parameters handled by GDevelop.
Value
Compare the value of the object.
See parameters
- Parameter 0: 👾 Object
- Parameter 1: 🟰 Relational operator
- Parameter 2 (🔢 Number): Value to compare
Technical note: parameter 3 are internal parameters handled by GDevelop.
Object expressions
Expression | Description | |
---|---|---|
Object.MaxValue() |
Return the maximum value of the object. | |
Object.Value() |
Return the value of the object. |
This page is an auto-generated reference page about the Resource bar (separated units) extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.