summaryrefslogtreecommitdiff
path: root/Scenes/Start.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Scenes/Start.gd')
-rw-r--r--Scenes/Start.gd9
1 files changed, 9 insertions, 0 deletions
diff --git a/Scenes/Start.gd b/Scenes/Start.gd
new file mode 100644
index 0000000..0109937
--- /dev/null
+++ b/Scenes/Start.gd
@@ -0,0 +1,9 @@
+extends Node
+
+
+func _ready():
+ var scene = preload("res://Scenes/Maps/World.tscn").instantiate()
+ var player = preload("res://Scenes/Entities/Player.tscn").instantiate()
+ Utilities.change_scene_with_player_to_position(
+ scene, player, NodePath("InitialPlayerPosition")
+ )