mlpcardgame/Scenes/Scripts/TitleScreen.gd

18 lines
315 B
GDScript3
Raw Normal View History

2019-07-06 00:15:43 +00:00
extends Control
signal loaded()
func _ready():
emit_signal("loaded")
func _anim_finished(anim_name):
if anim_name == "FadeIn":
$Intro/AnimationPlayer.play("FadeTitle")
# Load bgm
BGM.set_volume(BGM.HIGH)
BGM.load_music("title")
2019-07-06 15:13:14 +00:00
pass
func _go_to_lobby():
Loader.load_scene("res://Scenes/Lobby.tscn")