xiandie/scene/ground/script/c02/小手讨东西.tscn

112 lines
4.2 KiB
Plaintext

[gd_scene load_steps=16 format=3 uid="uid://xovlfee503a4"]
[ext_resource type="Texture2D" uid="uid://cawpq7rnho5px" path="res://asset/art/scene/c02/小手/洞.png" id="1_47cqy"]
[ext_resource type="Script" uid="uid://my5xqi3bkka6" path="res://scene/ground/script/c02/小手讨东西.gd" id="1_n7thl"]
[ext_resource type="PackedScene" uid="uid://c85t6stvytvjn" path="res://scene/entity/general/sfx.tscn" id="2_40dr6"]
[ext_resource type="SpriteFrames" uid="uid://cfdr6xe6bjxbf" path="res://scene/ground/script/c02/小手_sprite_frames.tres" id="2_qju37"]
[ext_resource type="AudioStream" uid="uid://inmdv5gqqius" path="res://asset/audio/sfx/ui/门锁互动.mp3" id="3_n7thl"]
[ext_resource type="AudioStream" uid="uid://ccng5y2fip6mc" path="res://asset/audio/sfx/ui/开锁声.mp3" id="4_brfob"]
[ext_resource type="PackedScene" uid="uid://c4tipnj1cr1j3" path="res://scene/entity/ux/sign.tscn" id="5_3c204"]
[ext_resource type="Texture2D" uid="uid://b343nvvbtpglb" path="res://asset/art/ui/互动提示符/ui 像素版_纯白.png" id="6_r12o8"]
[ext_resource type="PackedScene" uid="uid://b50n0hvs4yh75" path="res://addons/property-inspector/pro_animation_sprite2d/pro_animated_sprite.tscn" id="7_brfob"]
[ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="9_r12o8"]
[ext_resource type="Texture2D" uid="uid://2mjipesnigcr" path="res://asset/art/prop/c02/锡箔元宝.png" id="10_47cqy"]
[sub_resource type="AtlasTexture" id="AtlasTexture_3c204"]
atlas = ExtResource("6_r12o8")
region = Rect2(186, 555, 51, 54)
[sub_resource type="AtlasTexture" id="AtlasTexture_brfob"]
atlas = ExtResource("6_r12o8")
region = Rect2(498, 555, 51, 54)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_yatcw"]
resource_local_to_scene = true
size = Vector2(10, 70)
[sub_resource type="AtlasTexture" id="AtlasTexture_47cqy"]
atlas = ExtResource("6_r12o8")
region = Rect2(762, 468, 63, 63)
[node name="小手讨东西" type="Sprite2D"]
texture = ExtResource("1_47cqy")
script = ExtResource("1_n7thl")
unmatched_sign_texture = SubResource("AtlasTexture_3c204")
matched_sign_texture = SubResource("AtlasTexture_brfob")
[node name="SfxInvalid" parent="." instance=ExtResource("2_40dr6")]
stream = ExtResource("3_n7thl")
file = "门锁互动.mp3"
[node name="SfxSuccess" parent="." instance=ExtResource("2_40dr6")]
stream = ExtResource("4_brfob")
file = "开锁声.mp3"
[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_yatcw")
[node name="小手" parent="." instance=ExtResource("7_brfob")]
sprite_frames = ExtResource("2_qju37")
animation = &"小手_idle"
autoplay = "小手_idle"
frame_progress = 0.424136
action_configs = Array[Dictionary]([{
"animation_intro": &"小手_弹珠_show",
&"animation_next": "小手_弹珠_idle"
}, {
"animation_intro": &"小手_纸杯_show",
&"animation_next": "小手_纸杯_idle"
}, {
"animation_intro": "小手_老虎钳_show",
&"animation_next": "小手_老虎钳_idle"
}, {
"animation_intro": "小手_锡箔_hide",
&"animation_next": "小手_纸杯_show"
}, {
"animation_intro": &"小手_老虎钳_hide",
&"animation_next": "小手_弹珠_show"
}, {
"animation_intro": &"小手_弹珠_hide",
&"animation_next": "小手_老虎钳_show"
}, {
"animation_intro": &"小手_锡箔_drop",
&"animation_next": "小手_idle"
}])
[node name="Label" type="Label" parent="."]
offset_left = -25.0
offset_top = -28.0
offset_right = 47.0
offset_bottom = 5.0
theme_override_font_sizes/font_size = 12
text = "待补充动画帧
"
[node name="Sign" parent="." instance=ExtResource("5_3c204")]
unique_name_in_owner = true
offset_top = -9.0
offset_bottom = -9.0
[node name="Sprite2D" parent="Sign/TextureContainer" index="0"]
texture = SubResource("AtlasTexture_47cqy")
[node name="Ambush地上的元宝" parent="." instance=ExtResource("9_r12o8")]
visible = false
position = Vector2(-21, 80)
enabled = false
trigger_mode = "interact"
one_shot = false
[node name="Sprite2D" type="Sprite2D" parent="Ambush地上的元宝"]
show_behind_parent = true
position = Vector2(-1, 8)
scale = Vector2(0.25, 0.25)
texture = ExtResource("10_47cqy")
[editable path="Sign"]