GodotSectors/Scripts/Main.gd

12 lines
177 B
GDScript

extends Node3D
func _ready():
add_child($Dungeon.generate_geometry())
$Player.position = $Dungeon.get_spawn_point()
$Player.position.y += 0.5
func _process(delta):
pass