GodotSectors/Scripts/Main.gd

14 lines
251 B
GDScript3
Raw Permalink Normal View History

extends Node3D
func _ready():
add_child($Dungeon.generate_geometry())
2024-08-02 03:58:22 +00:00
var spawn: SpaceSpawn.Desc = $Dungeon.get_spawn()
2024-08-02 02:12:13 +00:00
$Player.position = spawn.position
$Player.position.y += 0.5
2024-08-02 02:12:13 +00:00
$Player.rotation = spawn.rotation
func _process(delta):
pass