9 lines
275 B
GDScript
9 lines
275 B
GDScript
extends Node
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
var file:String = "portal.tscn"
|
|
|
|
# In future, if needed, use any decision logic to load any scene file as the opening of the game.
|
|
get_tree().change_scene_to_file(file)
|