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

19
menus/marathon_results.gd Normal file
View file

@ -0,0 +1,19 @@
extends Control
onready var score: Label = $"%Score"
onready var shards: Label = $"%Shards"
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
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"))