added models and changed spawnpoint

This commit is contained in:
Luca 2024-09-27 13:01:28 +02:00
parent 2cf0846597
commit 877ebafc74
1007 changed files with 120779 additions and 37 deletions

View file

@ -3,6 +3,9 @@ extends Node
@onready var scene_root = $/root/Game/CurrentScene
var current_world : Node = null
func get_world() -> String:
return current_world.scene_file_path
func set_world(path: String):
if ResourceLoader.exists(path):
var world = load(path).instantiate()