Strange health bar behavours....
Hi! I have a small dilemma related health bars and their behavours...
Heres a problem.... I want the player to be able to level up. Each level his attack is increased and so is his health (I have an experence bar and each time it is at max it is reset and player level is increased by 1). I created a health bar as you showed in one of your videos, I also created new parameters for the bar for each level.
Everything seemed to work fine: every time the bar fills up it resets and player health increases. The problem appeared when The player is switching scenes - for some reason the player HP bar increases two, though the Player lvl stays the same...
What could this be caused by?
Thanks in advance!:)
-Dmitry
Heres a problem.... I want the player to be able to level up. Each level his attack is increased and so is his health (I have an experence bar and each time it is at max it is reset and player level is increased by 1). I created a health bar as you showed in one of your videos, I also created new parameters for the bar for each level.
Everything seemed to work fine: every time the bar fills up it resets and player health increases. The problem appeared when The player is switching scenes - for some reason the player HP bar increases two, though the Player lvl stays the same...
What could this be caused by?
Thanks in advance!:)
-Dmitry