Timer based loading bars

godot 4

hello, I am relatively new to Godot and don’t really know how stuff like this works. I would like to make a reload bar for a weapon that goes from 0% to 100% as the timer node runs out, getting to 100% as the timer ends and the weapon reloads.

any help would be appreciated

First determine how long you want to reload period to be. Then create a timer with an interval 1/100th of the total time. In the timeout handler, increase the reload bar by 1.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.