forked from team-sg/hero-mark-2
the start of marathon mode
This commit is contained in:
parent
83f0bccd9a
commit
d06acf2522
18 changed files with 607 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue