add music to marathon menues

This commit is contained in:
Haze Weathers 2023-12-30 22:17:59 -05:00
parent 635522f382
commit 32803e9fc3
4 changed files with 17 additions and 0 deletions

View file

@ -6,6 +6,7 @@ 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()

View file

@ -13,6 +13,7 @@ onready var difficulty_buttons := [
func _ready() -> void:
Audio.play_music(load("res://audio/music/rumble_revolution_demo.ogg"))
yield(get_tree(), "idle_frame")
difficulty_buttons[Game.difficulty].grab_focus()
Fade.fade_in()