HI everyone! I ask you to help me with a problem in my proyect
Look, in my proyect I put a health bar by points (like Kirby and the Amazing MIrror health bar) and I create a global variable that is the Health of the bar (i put it 3 of value). When I collisionate with an enemy the player takes damage and the sprite of the health bar changes of frame and substract 1 from global variable. When I run the game everything works correctly, but when the player lost a life the health bar and collisions with enemies stop.
Please I hope you help me. Sorry for my bad English and thank you very much