75 lines
3.3 KiB
Plaintext
75 lines
3.3 KiB
Plaintext
[gd_scene format=3 uid="uid://02opigrv0qff"]
|
|
|
|
[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://b7yj6biew1j26" path="res://assets/audio/sfx/environment/gate/gate_up_01.wav.mp3" id="6_ju5n0"]
|
|
[ext_resource type="AudioStream" uid="uid://dsokwxmutlwk5" path="res://assets/audio/sfx/environment/move_rock/rock_push_loop_02.mp3" id="7_kgbum"]
|
|
[ext_resource type="AudioStream" uid="uid://c0s6ffsj6i0lq" path="res://assets/audio/sfx/environment/move_rock/rock_push_loop_01.mp3" id="7_pg2b6"]
|
|
[ext_resource type="AudioStream" uid="uid://bpxm3p5gfrgm1" path="res://assets/audio/sfx/environment/gate/gate_down_01.wav.mp3" id="8_pg2b6"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uvdjg"]
|
|
size = Vector2(26, 16)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_la1wf"]
|
|
size = Vector2(22, 20)
|
|
|
|
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_ey00f"]
|
|
playback_mode = 1
|
|
streams_count = 2
|
|
stream_0/stream = ExtResource("7_pg2b6")
|
|
stream_1/stream = ExtResource("7_kgbum")
|
|
|
|
[node name="Door" type="StaticBody2D" unique_id=371155975]
|
|
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]
|
|
position = Vector2(0, -1)
|
|
texture = ExtResource("1_hpvv5")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1691515105]
|
|
shape = SubResource("RectangleShape2D_uvdjg")
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="SfxOpenKeyDoor" type="AudioStreamPlayer2D" parent="." unique_id=47303726]
|
|
stream = ExtResource("3_la1wf")
|
|
max_distance = 1485.0
|
|
attenuation = 6.276666
|
|
panning_strength = 1.09
|
|
|
|
[node name="SfxOpenStoneDoor" type="AudioStreamPlayer2D" parent="." unique_id=885417421]
|
|
stream = ExtResource("4_18pbm")
|
|
max_distance = 1204.0
|
|
attenuation = 6.498014
|
|
panning_strength = 1.25
|
|
|
|
[node name="SfxOpenGateDoor" type="AudioStreamPlayer2D" parent="." unique_id=442358170]
|
|
stream = ExtResource("6_ju5n0")
|
|
volume_db = -4.65
|
|
pitch_scale = 1.1
|
|
max_distance = 1246.0
|
|
attenuation = 7.999997
|
|
panning_strength = 1.3
|
|
|
|
[node name="KeyInteractionArea" type="Area2D" parent="." unique_id=982067740]
|
|
metadata/_edit_lock_ = true
|
|
|
|
[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 = SubResource("AudioStreamRandomizer_ey00f")
|
|
volume_db = -1.268
|
|
max_distance = 1289.0
|
|
attenuation = 3.7321312
|
|
|
|
[node name="SfxCloseGateDoor" type="AudioStreamPlayer2D" parent="." unique_id=1825261269]
|
|
stream = ExtResource("8_pg2b6")
|