summaryrefslogtreecommitdiff
path: root/green_greens_intro.gd
diff options
context:
space:
mode:
Diffstat (limited to 'green_greens_intro.gd')
-rw-r--r--green_greens_intro.gd14
1 files changed, 14 insertions, 0 deletions
diff --git a/green_greens_intro.gd b/green_greens_intro.gd
new file mode 100644
index 0000000..96f4894
--- /dev/null
+++ b/green_greens_intro.gd
@@ -0,0 +1,14 @@
+extends Node2D
+
+
+@export var fade_in = false
+
+
+func _ready() -> void:
+ SoundManager.play_background("GreenGreens")
+
+ if fade_in:
+ Game.fade_in_screen()
+
+ await get_tree().create_timer(1.0).timeout
+ Game.transition_to_scene("res://GreenGreens.tscn")