Finished working on the minimap system for the test level, shows pawns, enemy and friendly traps, and unfinished 'items'

This commit is contained in:
2026-01-19 00:46:32 -05:00
parent bc48e9cea2
commit b69691c186
26 changed files with 375 additions and 26 deletions

15
scripts/map_marker.gd Normal file
View File

@@ -0,0 +1,15 @@
class_name MapMarker extends Node3D
var target : Node3D
func register_target(target : Node3D) -> void:
self.target = target
func _process(delta: float) -> void:
if target:
var loc = target.position
position = Vector3(loc.x, position.y, loc.z)
func _on_trap_revealed(is_visible : bool) -> void:
visible = is_visible