2019-06-01 21:52:16 +00:00
|
|
|
extends Control
|
|
|
|
|
2019-06-11 23:50:33 +00:00
|
|
|
var timeout = 1.0
|
|
|
|
|
2019-06-01 21:52:16 +00:00
|
|
|
func _ready():
|
2019-06-11 23:50:33 +00:00
|
|
|
# Stupid hack for seamless transition
|
|
|
|
get_tree().get_root().call_deferred("move_child", self, 0)
|
|
|
|
|
|
|
|
|
|
|
|
func _process(delta):
|
|
|
|
timeout -= delta
|
|
|
|
if timeout <= 0:
|
2019-07-03 20:22:55 +00:00
|
|
|
Loader.load_scene("res://Scenes/TitleScreen.tscn")
|
2019-06-11 23:50:33 +00:00
|
|
|
set_process(false)
|