2025-01-30 04:50:52 +00:00
|
|
|
[gd_scene load_steps=15 format=3 uid="uid://61pis75a8fdq"]
|
2024-12-26 13:58:37 +00:00
|
|
|
|
2025-03-10 13:03:34 +00:00
|
|
|
[ext_resource type="Script" uid="uid://b2dvvhawm820r" path="res://scene/entity/portal.gd" id="1_jyh6v"]
|
2025-01-17 10:45:40 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://bc4lpa8aao60n" path="res://asset/art/ui/action_mark/传送.png" id="2_ay30q"]
|
2025-01-23 13:13:40 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://c85t6stvytvjn" path="res://scene/entity/general/sfx.tscn" id="3_6khux"]
|
2025-04-20 13:35:13 +00:00
|
|
|
[ext_resource type="AudioStream" uid="uid://bghyinc16m1nx" path="res://asset/audio/sfx/交互/收起背包.wav" id="4_p48ld"]
|
2025-01-08 00:51:09 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://c4tipnj1cr1j3" path="res://scene/entity/ux/sign.tscn" id="4_ty1ds"]
|
2025-01-30 04:50:52 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://b343nvvbtpglb" path="res://asset/art/ui/互动提示符/ui 像素版_纯白.png" id="5_3s5wu"]
|
|
|
|
[ext_resource type="AudioStream" uid="uid://ccng5y2fip6mc" path="res://asset/audio/sfx/ui/开锁声.mp3" id="5_l48hy"]
|
2025-04-20 13:35:13 +00:00
|
|
|
[ext_resource type="AudioStream" uid="uid://c1eftumrd4mgw" path="res://asset/audio/sfx/交互/开门.wav" id="6_p48ld"]
|
2025-01-30 04:50:52 +00:00
|
|
|
[ext_resource type="AudioStream" uid="uid://inmdv5gqqius" path="res://asset/audio/sfx/ui/门锁互动.mp3" id="7_bjcty"]
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_20tmu"]
|
|
|
|
atlas = ExtResource("5_3s5wu")
|
|
|
|
region = Rect2(495, 84, 39, 39)
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_nnhgo"]
|
|
|
|
atlas = ExtResource("5_3s5wu")
|
|
|
|
region = Rect2(495, 267, 39, 39)
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_l8twy"]
|
|
|
|
atlas = ExtResource("5_3s5wu")
|
|
|
|
region = Rect2(480, 468, 63, 63)
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_lxo3t"]
|
|
|
|
atlas = ExtResource("5_3s5wu")
|
|
|
|
region = Rect2(762, 468, 63, 63)
|
2024-12-26 13:58:37 +00:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_munml"]
|
|
|
|
resource_local_to_scene = true
|
2025-01-13 08:09:57 +00:00
|
|
|
size = Vector2(25, 130)
|
2024-12-26 13:58:37 +00:00
|
|
|
|
2025-01-12 11:36:41 +00:00
|
|
|
[node name="portal_left" type="Sprite2D"]
|
2024-12-26 13:58:37 +00:00
|
|
|
script = ExtResource("1_jyh6v")
|
2025-01-30 04:50:52 +00:00
|
|
|
default_sign_texture = SubResource("AtlasTexture_20tmu")
|
|
|
|
opened_sign_texture = SubResource("AtlasTexture_nnhgo")
|
|
|
|
matched_sign_texture = SubResource("AtlasTexture_l8twy")
|
|
|
|
closed_sign_texture = SubResource("AtlasTexture_lxo3t")
|
|
|
|
prop_key = ""
|
2024-12-26 13:58:37 +00:00
|
|
|
|
2025-01-30 04:50:52 +00:00
|
|
|
[node name="SfxDefault" parent="." instance=ExtResource("3_6khux")]
|
2024-12-30 13:19:10 +00:00
|
|
|
unique_name_in_owner = true
|
2025-04-20 13:35:13 +00:00
|
|
|
stream = ExtResource("4_p48ld")
|
|
|
|
file = ""
|
2024-12-30 13:19:10 +00:00
|
|
|
|
2025-01-30 04:50:52 +00:00
|
|
|
[node name="SfxOpen" parent="." instance=ExtResource("3_6khux")]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
stream = ExtResource("5_l48hy")
|
|
|
|
file = "开锁声.mp3"
|
|
|
|
|
|
|
|
[node name="SfxEnter" parent="." instance=ExtResource("3_6khux")]
|
|
|
|
unique_name_in_owner = true
|
2025-04-20 13:35:13 +00:00
|
|
|
stream = ExtResource("6_p48ld")
|
|
|
|
file = ""
|
2025-01-30 04:50:52 +00:00
|
|
|
|
|
|
|
[node name="SfxLocked" parent="." instance=ExtResource("3_6khux")]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
stream = ExtResource("7_bjcty")
|
|
|
|
file = "门锁互动.mp3"
|
|
|
|
|
2025-01-08 00:51:09 +00:00
|
|
|
[node name="Sign" parent="." instance=ExtResource("4_ty1ds")]
|
2024-12-26 13:58:37 +00:00
|
|
|
unique_name_in_owner = true
|
2025-01-14 00:56:51 +00:00
|
|
|
offset_top = -47.0
|
2025-01-08 00:51:09 +00:00
|
|
|
offset_right = 347.0
|
2025-01-14 00:56:51 +00:00
|
|
|
offset_bottom = 287.0
|
2025-05-13 11:45:33 +00:00
|
|
|
lock_on_player_freezed = true
|
2025-01-30 04:50:52 +00:00
|
|
|
enabled = false
|
2025-01-13 08:09:57 +00:00
|
|
|
|
|
|
|
[node name="Sprite2D" parent="Sign/TextureContainer" index="0"]
|
|
|
|
position = Vector2(0, 10)
|
2025-01-30 04:50:52 +00:00
|
|
|
texture = SubResource("AtlasTexture_20tmu")
|
2024-12-26 13:58:37 +00:00
|
|
|
|
2024-12-27 07:56:45 +00:00
|
|
|
[node name="PointLight2D" type="PointLight2D" parent="."]
|
2024-12-26 13:58:37 +00:00
|
|
|
unique_name_in_owner = true
|
2024-12-27 07:56:45 +00:00
|
|
|
position = Vector2(0, -86)
|
|
|
|
scale = Vector2(0.05, 0.05)
|
|
|
|
energy = 0.0
|
|
|
|
texture = ExtResource("2_ay30q")
|
2024-12-26 13:58:37 +00:00
|
|
|
texture_scale = 1.8
|
|
|
|
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
|
|
shape = SubResource("RectangleShape2D_munml")
|
2025-01-13 08:09:57 +00:00
|
|
|
|
|
|
|
[editable path="Sign"]
|