Made the minimap much bigger by repositioning elements in the UI
This commit is contained in:
@@ -4,12 +4,15 @@ var target : Node3D
|
||||
|
||||
func register_target(target : Node3D) -> void:
|
||||
self.target = target
|
||||
|
||||
reposition()
|
||||
|
||||
func reposition() -> void:
|
||||
var loc = target.position
|
||||
position = Vector3(loc.x, position.y, loc.z)
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
if target:
|
||||
var loc = target.position
|
||||
position = Vector3(loc.x, position.y, loc.z)
|
||||
reposition()
|
||||
|
||||
func _on_trap_revealed(is_visible : bool) -> void:
|
||||
visible = is_visible
|
||||
|
||||
Reference in New Issue
Block a user