adding physics object statue

This commit is contained in:
2023-01-30 17:52:27 -05:00
parent 73120c4f35
commit d3dcbc153a
14 changed files with 652 additions and 401 deletions

View File

@@ -7,9 +7,13 @@ const Player = preload("res://Characters/test_player/test_player.tscn")
# Called when the node enters the scene tree for the first time.
func _ready():
var level_1 = Level1.instantiate()
var spawn_location = level_1.get_node("PlayerSpawnLocation")
spawn_location.set_visible(false)
manager.add_child(level_1)
var new_player = Player.instantiate()
manager.add_child(new_player)
new_player.set_position(spawn_location.get_position())