Since yesterday I have been at noon with this problem, and I do not know how to solve it. I used the simple platform game as a base, and what happens is that when you pass the level, health is restored, doing nothing. For example, if an enemy touches me, I only have 2 health points left, because when I pass the level, I have 3 health points again.
How could I avoid that, and continue to have 2 points of health?
Thank you very much in advance!!
How could I avoid that, and continue to have 2 points of health?
Thank you very much in advance!!