Hi ya'll, I'm making a simple game, everything is going well. But I have reached a stage where if player takes damage in game, I want to progressively add to their health.
I did something like this:
func _physics_process(delta):
if health_bar.value < 10:
health_bar.value += 1
I thought by putting it in the _physics_process, it will do it progressively. But it's only adding once and then it stopped adding to the health continously. Any help or tutorial will be much appreciated...