2020-09-14 15:21:59 +00:00
|
|
|
extends Node2D
|
|
|
|
|
|
|
|
|
|
|
|
export var next_scene:PackedScene
|
|
|
|
|
|
|
|
func _ready() -> void:
|
2020-09-27 03:18:34 +00:00
|
|
|
$SplashVoice.seek(1.5)
|
2020-09-28 21:18:07 +00:00
|
|
|
AudioManager.play_music(AudioManager.Music.Intro, 2)
|
|
|
|
|
2020-09-14 15:21:59 +00:00
|
|
|
|
|
|
|
func load_next_scene():
|
|
|
|
# var next_scene = load("res://src/Levels/LevelTemplate/LevelTemplate.tscn")
|
|
|
|
get_tree().change_scene_to(next_scene)
|
|
|
|
queue_free()
|
2020-09-27 03:18:34 +00:00
|
|
|
|
|
|
|
func stop_splash_voice():
|
|
|
|
$SplashVoice.stop()
|
2020-09-28 21:18:07 +00:00
|
|
|
|