add music to marathon menues
This commit is contained in:
parent
635522f382
commit
32803e9fc3
4 changed files with 17 additions and 0 deletions
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue