2024-08-01 22:29:11 +00:00
|
|
|
extends Node3D
|
|
|
|
|
|
|
|
|
|
|
|
func _ready():
|
|
|
|
add_child($Dungeon.generate_geometry())
|
2024-08-02 02:12:13 +00:00
|
|
|
var spawn = $Dungeon.get_spawn()
|
|
|
|
$Player.position = spawn.position
|
2024-08-02 01:45:22 +00:00
|
|
|
$Player.position.y += 0.5
|
2024-08-02 02:12:13 +00:00
|
|
|
$Player.rotation = spawn.rotation
|
2024-08-01 22:29:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
func _process(delta):
|
2024-08-02 01:45:22 +00:00
|
|
|
pass
|