blob: 841fae997ad60d958bb7141ff4b2f6a8ce8b1ec3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
class_name CineIntro
extends Node2D
func _ready() -> void:
run()
func run():
$AnimationPlayer.play("cine_intro")
await $AnimationPlayer.animation_finished
var top: Top = get_tree().root.get_node("Top")
top.get_transition_player().room_transition(null, "res://rooms/surface1.tscn", "DoorEntry")
|