14 lines
No EOL
283 B
GDScript
14 lines
No EOL
283 B
GDScript
extends Control
|
|
|
|
var timeout = 1.0
|
|
|
|
func _ready():
|
|
# Stupid hack for seamless transition
|
|
get_tree().get_root().call_deferred("move_child", self, 0)
|
|
|
|
|
|
func _process(delta):
|
|
timeout -= delta
|
|
if timeout <= 0:
|
|
Loader.load_scene("res://Scenes/TitleScreen.tscn")
|
|
set_process(false) |