added blocking doors to paths.
This commit is contained in:
@@ -2,8 +2,10 @@
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cckiqfs0kwuuh" path="res://assets/gfx/door_barred.png" id="1_hpvv5"]
|
||||
[ext_resource type="Script" uid="uid://do4062ppepheo" path="res://scripts/door.gd" id="1_uvdjg"]
|
||||
[ext_resource type="PackedScene" uid="uid://d24xrw86pfg1s" path="res://scenes/TeleporterIntoClosedRoom.tscn" id="2_q5w8r"]
|
||||
[ext_resource type="AudioStream" uid="uid://dfolu80c534j4" path="res://assets/audio/sfx/environment/keydoor/unlock.mp3" id="3_la1wf"]
|
||||
[ext_resource type="AudioStream" uid="uid://2w73l4k3704x" path="res://assets/audio/sfx/environment/pot/pot_drag1.mp3" id="4_18pbm"]
|
||||
[ext_resource type="AudioStream" uid="uid://c6bp156a5ggdf" path="res://assets/audio/sfx/environment/keydoor/door_closes.mp3" id="5_18pbm"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uvdjg"]
|
||||
size = Vector2(26, 14)
|
||||
@@ -15,6 +17,9 @@ size = Vector2(22, 18)
|
||||
collision_layer = 64
|
||||
script = ExtResource("1_uvdjg")
|
||||
|
||||
[node name="TeleporterIntoClosedRoom" parent="." unique_id=1871154484 instance=ExtResource("2_q5w8r")]
|
||||
position = Vector2(0, -16)
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1520856168]
|
||||
texture = ExtResource("1_hpvv5")
|
||||
|
||||
@@ -35,3 +40,8 @@ stream = ExtResource("4_18pbm")
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="KeyInteractionArea" unique_id=1640987231]
|
||||
shape = SubResource("RectangleShape2D_la1wf")
|
||||
debug_color = Color(0.70196074, 0.67558956, 0.17869899, 0.41960785)
|
||||
|
||||
[node name="SfxDoorCloses" type="AudioStreamPlayer2D" parent="." unique_id=1074871158]
|
||||
stream = ExtResource("5_18pbm")
|
||||
max_distance = 1333.0
|
||||
attenuation = 5.8563395
|
||||
|
||||
Reference in New Issue
Block a user