Use Special Room script type to mark rooms that don't have monster/item/player spawns

Fix some minimap display issues
Fix michael animation state
This commit is contained in:
2025-10-06 14:20:08 -07:00
parent 57b61e86a4
commit 0bf87c0dc2
52 changed files with 560 additions and 490 deletions

View File

@@ -1,12 +1,9 @@
[gd_scene load_steps=20 format=3 uid="uid://02v033xrh6xi"]
[gd_scene load_steps=17 format=3 uid="uid://02v033xrh6xi"]
[ext_resource type="Script" uid="uid://bd824eigybu51" path="res://src/map/dungeon/code/ExitRoom.cs" id="2_7o05s"]
[ext_resource type="PackedScene" uid="uid://bpihpjlg5mcq" path="res://src/map/dungeon/models/Area 2/Exit/A2-Exit.glb" id="2_d13sj"]
[ext_resource type="Texture2D" uid="uid://dw8vvn66qqfj2" path="res://src/minimap/textures/Room Maps/mi_exit.png" id="7_vsgtq"]
[ext_resource type="PackedScene" uid="uid://twrj4wixcbu7" path="res://src/items/ItemDatabase.tscn" id="17_fpw5b"]
[ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/corridors/Corridor A/CORRIDOR test_FLOOR1.jpg" id="19_p23g3"]
[ext_resource type="Texture2D" uid="uid://dvast710lxrmw" path="res://src/map/dungeon/door/A2_BLOCKED_DOOR.png" id="21_7o05s"]
[ext_resource type="Script" uid="uid://c6s8hvdj3u3aq" path="res://src/map/dungeon/code/MinimapManager.cs" id="21_ux8yt"]
[sub_resource type="BoxShape3D" id="BoxShape3D_umdkt"]
size = Vector3(0.391602, 21, 37)
@@ -29,10 +26,8 @@ albedo_texture = ExtResource("21_7o05s")
texture_filter = 0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_alrge"]
albedo_texture = ExtResource("19_p23g3")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_x3ul8"]
albedo_texture = ExtResource("19_p23g3")
[sub_resource type="BoxShape3D" id="BoxShape3D_7o05s"]
size = Vector3(20, 20, 36)
@@ -125,26 +120,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.93856, 9.80872)
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.61757, -1.89174, 0.580412)
[node name="ItemSpawnPoints" type="Node3D" parent="Spawn Points"]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.00123, 0)
[node name="ItemSpawnPoint" type="Marker3D" parent="Spawn Points/ItemSpawnPoints"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.09927, -3.217, -2.27499)
[node name="ItemSpawnPoint2" type="Marker3D" parent="Spawn Points/ItemSpawnPoints"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.09927, -3.217, 2.60611)
[node name="ItemSpawnPoint3" type="Marker3D" parent="Spawn Points/ItemSpawnPoints"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.93753, -3.217, 3.33261)
[node name="EnemySpawnPoints" type="Node3D" parent="Spawn Points"]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.00123, 0)
[node name="ItemDatabase" parent="Spawn Points" instance=ExtResource("17_fpw5b")]
unique_name_in_owner = true
[node name="Room" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.08768, 0)
@@ -170,13 +145,9 @@ shape = SubResource("BoxShape3D_wu8s2")
[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("21_ux8yt")
[node name="mi_exit" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, -3.36176, -1.81937)
[node name="Minimap" type="MeshInstance3D" parent="Minimap"]
unique_name_in_owner = true
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, -1.36053, -1.81937)
mesh = SubResource("PlaneMesh_fnbln")
skeleton = NodePath("")
surface_material_override/0 = SubResource("StandardMaterial3D_chrua")