Cambiados los aspectos visuales del juego a algo gotico
This commit is contained in:
1 parent
ec7e35ddf6
commit
967b3a286d
205 files changed
+7056
-1630
No files matched your search
@@ -6,7 +6,10 @@ static func prepare(tree: SceneTree) -> PlayerProgressStore:
|
||||
var path: String = "user://__test_progress_%d_%d.json" % [OS.get_process_id(), Time.get_ticks_usec()]
|
||||
var profile: PlayerProgressStore = tree.root.get_node_or_null("PlayerProgress") as PlayerProgressStore
|
||||
if profile == null:
|
||||
profile = preload("res://game/player_progress.tscn").instantiate() as PlayerProgressStore
|
||||
# La carga diferida evita precargar el mismo PackedScene antes de que Godot
|
||||
# inicialice su autoload cuando la suite arranca mediante --script.
|
||||
var profile_scene: PackedScene = load("res://game/player_progress.tscn") as PackedScene
|
||||
profile = profile_scene.instantiate() as PlayerProgressStore
|
||||
profile.name = "PlayerProgress"
|
||||
profile.save_path = path
|
||||
tree.root.add_child(profile)
|
||||
|
||||
Reference in new issue
Block a user