14 lines
342 B
GDScript
14 lines
342 B
GDScript
extends Node
|
|
|
|
@onready var colorRect = $ColorRect
|
|
@onready var animationPlayer = $AnimationPlayer
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
colorRect.visible = true
|
|
animationPlayer.play("fade_in")
|
|
await get_tree().create_timer(5.0).timeout
|
|
queue_free()
|
|
|
|
pass # Replace with function body.
|