Put minimap back in place

Note: issue still exists where the last spot the player existed before the level finished loading is marked visibile on the minimap
This commit is contained in:
2025-03-03 02:45:45 -08:00
parent 3860155675
commit b26654346b
29 changed files with 157 additions and 352 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=102 format=4 uid="uid://c5eon2dk4ojua"]
[gd_scene load_steps=101 format=4 uid="uid://c5eon2dk4ojua"]
[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_bgwrn"]
[ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_bgwrn"]
@@ -23,7 +23,6 @@
[ext_resource type="Texture2D" uid="uid://del2dfj3etokd" path="res://src/map/dungeon/textures/BLOCKED-DOOR_REGULAR.png" id="21_hshrs"]
[ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="22_gbtai"]
[ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="23_atefy"]
[ext_resource type="Script" uid="uid://c6s8hvdj3u3aq" path="res://src/map/dungeon/code/MinimapManager.cs" id="24_6plsc"]
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="25_082m7"]
[ext_resource type="PackedScene" uid="uid://jds3hr41coal" path="res://src/npc/Ran/Ran.tscn" id="26_8yn83"]
@@ -1915,25 +1914,13 @@ shape = SubResource("BoxShape3D_81jou")
[node name="Minimap" type="Node3D" parent="."]
[node name="Minimap Manager" type="Area3D" parent="Minimap"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.00123, 0)
collision_layer = 512
collision_mask = 512
script = ExtResource("24_6plsc")
[node name="Minimap" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
[node name="Minimap" type="MeshInstance3D" parent="Minimap"]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -4.03725, 0)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2.03602, 0)
visible = false
layers = 2
mesh = SubResource("PlaneMesh_s0txx")
skeleton = NodePath("../../..")
[node name="Minimap2" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -3.92677, 0)
layers = 4
mesh = SubResource("PlaneMesh_s0txx")
skeleton = NodePath("../../..")
skeleton = NodePath("../..")
[node name="NPC" type="Node3D" parent="."]