show deaths on marathon results, fix fade visual bug
This commit is contained in:
parent
d62e08745f
commit
9435089f21
2 changed files with 55 additions and 44 deletions
|
@ -9,11 +9,11 @@ func _ready() -> void:
|
|||
Audio.play_music(load("res://audio/music/rumble_revolution_demo.ogg"))
|
||||
score.text = score.text % Game.marathon_score
|
||||
shards.text = shards.text % Game.marathon_shards
|
||||
$"%Deaths".text = $"%Deaths".text % Game.marathon_deaths
|
||||
Fade.fade_in()
|
||||
|
||||
|
||||
func _input(event: InputEvent) -> void:
|
||||
if Input.is_action_just_pressed("ui_accept"):
|
||||
Fade.fade_out(Options.transition_speed_secs)
|
||||
yield(Fade, "fade_finished")
|
||||
Game.change_map(load("res://menus/marathon_start.tscn"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue