summaryrefslogtreecommitdiff
path: root/green_greens_intro.gd
blob: 96f4894173fe5023a38418efe9df6bf6f0387348 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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")