summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLogan <logan@cflip.net>2023-01-30 16:22:16 -0700
committerLogan <logan@cflip.net>2023-01-30 16:24:47 -0700
commitf23666be65e969ec54c51fdb871ab8d3611580c2 (patch)
tree70fb81c5e8317ffccf0b739c6d1000f769aea97f /scripts
parentf37372a9af003bdd00cbfebf77e8a5703663fdd9 (diff)
Added splashscreen
Diffstat (limited to 'scripts')
-rw-r--r--scripts/splashscreen.gd7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/splashscreen.gd b/scripts/splashscreen.gd
new file mode 100644
index 0000000..a78d5f7
--- /dev/null
+++ b/scripts/splashscreen.gd
@@ -0,0 +1,7 @@
+extends Node
+
+func _ready():
+ $AnimationPlayer.play("splashscreen")
+
+func _on_AnimationPlayer_animation_finished(_splashscreen):
+ get_tree().change_scene("res://scenes/mainmenu.tscn")