Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Help me please |
Hi everyone!
I have a texture progress node and now I am trying to update its bar as below
$TextureProgress.value = Globals.coins
$TextureProgress.max_value = Globals.coins_max
I also have a Autoloaded script (i.e. Globals) with these variables
var coins : int = 500
var coins_max : int = 500
So it should show the full bar but its showing a very small portion of the total length of bar. I don’t find any mistake but still the bar is not showing the correct length.
Thank you!