I have a health bar that upgrades (from 3 to 4) - I change this with “change max value.” Whenever I do this the resource bar shifts to the left.
How do I keep it “left justified”… basically expanding to the right without shifting the entire object position?
Related screenshots
What events do you use for positioning, if any?
Sharing snippets of the code is always best when getting help This lets us see if there are any alterations needed within the code. Also is the 4 hearts a separate image you swap with the 3 or is it adding an additional heart?
No events for positioning - yet.
I fixed it by adding a move action to item. I was wondering if there’s better, “built in” solution? But this can work.
Just getting back into Gdevelop after years, love these resource bars!!
old:
new:
1 Like