2025-01-13 08:09:57 +00:00
|
|
|
[gd_scene load_steps=10 format=3 uid="uid://cw3q5pvciumil"]
|
2024-12-30 13:19:10 +00:00
|
|
|
|
2025-03-10 13:03:34 +00:00
|
|
|
[ext_resource type="Script" uid="uid://dxyaip4khrkkq" path="res://scene/entity/interactable.gd" id="1_6nrd3"]
|
2025-01-23 13:13:40 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://c85t6stvytvjn" path="res://scene/entity/general/sfx.tscn" id="2_bvj74"]
|
2025-01-17 10:45:40 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://b343nvvbtpglb" path="res://asset/art/ui/互动提示符/ui 像素版_纯白.png" id="2_tvf5d"]
|
2025-01-08 00:51:09 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://c4tipnj1cr1j3" path="res://scene/entity/ux/sign.tscn" id="3_qsms8"]
|
2025-01-30 12:04:02 +00:00
|
|
|
[ext_resource type="AudioStream" uid="uid://inmdv5gqqius" path="res://asset/audio/sfx/ui/门锁互动.mp3" id="4_n1rbo"]
|
|
|
|
[ext_resource type="AudioStream" uid="uid://ccng5y2fip6mc" path="res://asset/audio/sfx/ui/开锁声.mp3" id="5_exp6m"]
|
2025-01-13 08:09:57 +00:00
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0gwq7"]
|
|
|
|
atlas = ExtResource("2_tvf5d")
|
|
|
|
region = Rect2(762, 468, 63, 63)
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0ks5m"]
|
|
|
|
atlas = ExtResource("2_tvf5d")
|
2025-01-20 13:45:47 +00:00
|
|
|
region = Rect2(498, 555, 51, 54)
|
2025-01-03 08:07:35 +00:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_8d3b4"]
|
|
|
|
resource_local_to_scene = true
|
2025-01-16 12:24:21 +00:00
|
|
|
size = Vector2(10, 70)
|
2024-12-30 13:19:10 +00:00
|
|
|
|
2025-01-12 11:36:41 +00:00
|
|
|
[node name="Interactable" type="Sprite2D"]
|
2024-12-30 13:19:10 +00:00
|
|
|
script = ExtResource("1_6nrd3")
|
2025-01-13 08:09:57 +00:00
|
|
|
unmatched_sign_texture = SubResource("AtlasTexture_0gwq7")
|
|
|
|
matched_sign_texture = SubResource("AtlasTexture_0ks5m")
|
2025-01-12 12:15:18 +00:00
|
|
|
prop_key = ""
|
2025-05-13 11:45:33 +00:00
|
|
|
prop_key2 = ""
|
|
|
|
prop_key3 = ""
|
2024-12-30 13:19:10 +00:00
|
|
|
|
2025-01-13 08:09:57 +00:00
|
|
|
[node name="SfxInvalid" parent="." instance=ExtResource("2_bvj74")]
|
2025-01-30 12:04:02 +00:00
|
|
|
stream = ExtResource("4_n1rbo")
|
|
|
|
file = "门锁互动.mp3"
|
2025-01-13 08:09:57 +00:00
|
|
|
|
|
|
|
[node name="SfxSuccess" parent="." instance=ExtResource("2_bvj74")]
|
2025-01-30 12:04:02 +00:00
|
|
|
stream = ExtResource("5_exp6m")
|
2025-01-12 12:15:18 +00:00
|
|
|
file = "开锁声.mp3"
|
2025-01-03 08:07:35 +00:00
|
|
|
|
2025-01-08 00:51:09 +00:00
|
|
|
[node name="Sign" parent="." instance=ExtResource("3_qsms8")]
|
|
|
|
unique_name_in_owner = true
|
2025-05-14 20:43:55 +00:00
|
|
|
lock_on_player_freezed = true
|
2025-01-08 00:51:09 +00:00
|
|
|
|
2025-01-13 08:09:57 +00:00
|
|
|
[node name="Sprite2D" parent="Sign/TextureContainer" index="0"]
|
|
|
|
texture = SubResource("AtlasTexture_0gwq7")
|
|
|
|
|
2025-01-03 08:07:35 +00:00
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
collision_layer = 0
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
shape = SubResource("RectangleShape2D_8d3b4")
|
2025-01-13 08:09:57 +00:00
|
|
|
|
|
|
|
[editable path="Sign"]
|