When the player is walking to the 2nd room from the 1st room & appear a cutscene and once the cutscene is finish can change to the 2nd room scene.
I want use the transition scene ("Transition2022.changesceneloc") but i dont find the way to put in the script.
extends Node2D
onready var Signal = $AnimationPlayer
func process(delta):
Signal.play("cutscene_1")
func onAnimationPlayeranimationfinished(animname):
match animname:
"cutscene1":
gettree().calldeferred("changescene", "res://assets/room2.tscn")