This could be fixed with a boolean added which checks if a level was/is finished at the start of each new level and at the end of each level. then a function which manipulates the number of lives could determine, to add one life, take one life away or reset them back to default.
This could be fixed with a boolean added which checks if a level was/is finished at the start of each new level and at the end of each level. then a function which manipulates the number of lives could determine, to add one life, take one life away or reset them back to default.