#need help with the progress bar node
7 messages · Page 1 of 1 (latest)
What are you trying to work on? Are you wanting to make an hp bar for your character?
It's very hard to help without screenshot of your scene tree and/or scripts you are using to run these things.
However, I suspect the issue you are having is that you are trying to manage the size of a control using its Transform. Look in it's Layout tab, and find the minimum size. Set this to the smallest size you want it to be, and update it whenever you need it to be larger. You can set its container sizing options to shrink (whichever way you want it to shrink), and that will force it to stay its minimum size, which lets you only have to change that to alter its size at any time. I don't know for sure if there's not more you would have to do. If your setup is very different from what I'm picturing, there may be more steps involved. I'd recommend googling a tutorial for this. I know there are some. I'm not at my pc, and hate using my phone for that or I'd do it right now for you.
change the scale by pressing the s key
yes
well i have now just increased the size of my player and the enemies
but i have run into another problem now, when my players hp exceeds 100 the progressbar stops working until hp is below 100 again. how can i sort this out?