I followed the ue4 tutorial to do the hud of my game
So I noticed a problem, which I do not know if it is the tutorial or my mistake
I’ll try to post the video.
So how you can see my stamina has no limit
My jump action cost half of the stamina, if i jump 3 times instead of my stamina being set to 0, its set to -50
Banana recover half of the stamina, if I eat a banana when the stamina is already full it will add 50 more stamina, instead of being still with 100 I will get 150 stamina
It does not end at 0 or 100
What can I do to set limits?