Resource bar (continuous)
A bar that represents a resource in the game (health, mana, ammo, etc).
Authors and contributors to this community 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 (continuous)
A bar that represents a resource in the game (health, mana, ammo, etc).
Object actions
Flip the object horizontally
Flip the object horizontally
Flip the object vertically
Flip the object vertically
Height
Change the height of an object.
Scale
Modify the scale of the specified object.
Show label
Show (or hide) the label on the bar.
Maximum value
Change the maximum value of the object.
Opacity
Change the opacity of an object, between 0 (fully transparent) to 255 (opaque).
Previous value conservation duration
Change the previous value conservation duration (in seconds) of the object.
Scale on X axis
Change the width's scale of an object.
Scale on Y axis
Change the height's scale of an object.
Value
Change the value of the object.
Width
Change the width of an object.
Object conditions
Horizontally flipped
Check if the object is horizontally flipped
Vertically flipped
Check if the object is vertically flipped
Empty
Check if the bar is empty.
Full
Check if the bar is full.
Label is shown
Check if the label is shown.
Maximum value
Compare the maximum value of the object.
Opacity
Compare the opacity of an object, between 0 (fully transparent) to 255 (opaque).
Previous value conservation duration
Compare the previous value conservation duration (in seconds) of the object.
Scale on X axis
Compare the width's scale of an object.
Scale on Y axis
Compare the height's scale of an object.
Value
Compare the value of the object.
Object expressions
Expression | Description | |
---|---|---|
Object.MaxValue() |
Return the maximum value of the object. | |
Object.Opacity() |
Return the opacity of an object, between 0 (fully transparent) to 255 (opaque). | |
Object.PreviousValueDuration() |
Return the previous value conservation duration (in seconds) of the object. | |
Object.ScaleX() |
Return the width's scale of an object. | |
Object.ScaleY() |
Return the height's scale of an object. | |
Object.Value() |
Return the value of the object. |
This page is an auto-generated reference page about the Resource bar (continuous) 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.