Update node paths and group assignments for consistency across scenes

This commit is contained in:
2025-08-26 17:45:00 +02:00
parent ca0d21e40a
commit ad53ef9715
8 changed files with 11 additions and 21 deletions

View File

@@ -12,7 +12,7 @@
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dj5g5"]
size = Vector2(10, 20)
[node name="Child" type="Area2D"]
[node name="Child" type="Area2D" groups=["Collectables"]]
collision_layer = 0
collision_mask = 4

View File

@@ -37,7 +37,7 @@ script = ExtResource("2_jmsgb")
ToCollapseTimer = NodePath("../ToCollapseTimer")
ResetTimer = NodePath("../ResetTimer")
Sprite2D = NodePath("../Sprite2D")
CollisionShape = NodePath("../Collapsable detector/AreaCollisionShape2D")
CollisionShape = NodePath("../StaticCollisionShape2D")
ResetTime = 1.0
[connection signal="body_entered" from="Collapsable detector" to="CollapsableComponent" method="OnCollapsableDetectorBodyEntered"]

View File

@@ -39,7 +39,7 @@ script = ExtResource("2_w33sr")
ToCollapseTimer = NodePath("../ToCollapseTimer")
ResetTimer = NodePath("../ResetTimer")
Sprite2D = NodePath("../Sprite2D")
CollisionShape = NodePath("../Collapsable detector/AreaCollisionShape2D")
CollisionShape = NodePath("../StaticCollisionShape2D")
CollapseTime = 0.75
ResetTime = 3.0

View File

@@ -39,5 +39,5 @@ metadata/_custom_type_script = "uid://c8xhgkg8gcqu6"
script = ExtResource("4_06sog")
ExitArea = NodePath("..")
DoorSprite = NodePath("../Sprite2D")
OpenedDoorFrame = 1
OpenedDoorFrame = 88
metadata/_custom_type_script = "uid://bwamqffvpa452"