I had been wanting to know how to build a proper expanding / contracting health bar in Game Builder Garage since I got my hands on it. I don't see many people with videos on how, so I uploaded this!
It might not be the best way, or a even a good way - but it works.
This method uses a map output to make an extending box correlate in visual size to a number held in a counter nodon.
A few notes ,
*The bar usually expands on both sides, properly picking the connection settings make it expand in one direction only.
*I mention that the range on the Map output, can't be 0. What I mean is, I can never get it to work that way. 0 makes the extending object always retain at least its basic minimal dimensions. I might be wrong!
Questions, suggestions, requests? Let me know in the comments.
Thanks for watching,
have a lovely day!
─────────────────
Game: Game Builder Garage
Genre: Programming Game
Platforms: Nintendo Switch
Developer: Nintendo
Publisher: Nintendo
Release Year: 2021
─────────────────