Help with Health Bar?
ReMasteredGames
Member Posts: 101
Hi, so I've set up a health bar for my game. Graphically all is working well. And when the bar depletes to 0, the scene changes to Game Over as intended. However the bar STAYS at 0 and I am unable to replay the level, it will go straight to Game Over again. How do I reset the health bar attribute to it's original state? (It's full number is 10).
Thank You.
Thank You.
Comments
So basically in that actor have a rule:
Change attribute game.healthbar to your value
so, when health bar = 0, set game.over to true, TIMER: after 1 sec, set health.attribute to 10, load play again button.