the start of marathon mode

This commit is contained in:
Haze Weathers 2024-03-05 18:20:32 -05:00
parent 83f0bccd9a
commit d06acf2522
18 changed files with 607 additions and 26 deletions

View file

@ -70,9 +70,12 @@ func _physics_process(delta):
if Game.use_lives:
lives_counter.text = str(Game.lives)
else:
lives_counter.text = str(Game.deaths)
if Game.marathon_mode:
lives_counter.text = str(Game.marathon_deaths)
else:
lives_counter.text = str(Game.deaths)
#Life bonus color
if Game.lives == 2:
if Game.deaths <= 0:
lives_counter.modulate = bonus_color
else:
lives_counter.modulate = Color.white