First commit

This commit is contained in:
2025-12-04 11:13:48 -05:00
commit 5d8452c70d
39 changed files with 1509 additions and 0 deletions

18
scripts/level_camera.gd Normal file
View File

@@ -0,0 +1,18 @@
extends Camera3D
var target
var offset : Vector3
func _enter_tree() -> void:
call_deferred("register_player")
func register_player() -> void:
target = Game.player
offset = global_position - target.global_position
func _process(delta: float) -> void:
if target:
global_position = target.global_position + offset