mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-13 05:52:24 +02:00
Added titlescreen bgm
This commit is contained in:
@@ -6,6 +6,10 @@ onready var animation_player = $AnimationPlayer
|
||||
|
||||
func _ready():
|
||||
animation_player.play("__INIT__")
|
||||
SoundControler.pub_play_music("res://Menus/TitleScreen/title_screen_bgm.ogg", false)
|
||||
|
||||
func _exit_tree():
|
||||
SoundControler.pub_stop_music()
|
||||
|
||||
func _on_Startup_startup_finished():
|
||||
new_game_button.ignore_once = true # Pauls russian solution for ignoring the first sound click in the titlescreen
|
||||
|
||||
Reference in New Issue
Block a user