[gd_scene load_steps=17 format=3 uid="uid://dc778gsjfr3ky"] [ext_resource type="Script" path="res://scene/hud/prop_hud.gd" id="1_bbv0a"] [ext_resource type="Texture2D" uid="uid://chyumeohdhwnh" path="res://asset/art/ui/hud/normal_left.png" id="2_bjc2b"] [ext_resource type="PackedScene" uid="uid://c85t6stvytvjn" path="res://scene/entity/ux/sfx.tscn" id="2_g6c03"] [ext_resource type="Script" path="res://scene/hud/prop_item.gd" id="2_v7ccv"] [ext_resource type="Texture2D" uid="uid://cvepj6u80c5wv" path="res://asset/art/ui/hud/pressed_left.png" id="3_fca7p"] [ext_resource type="Script" path="res://scene/hud/prop_inventory.gd" id="3_j5qly"] [ext_resource type="Texture2D" uid="uid://bospbmb0gr2sb" path="res://asset/art/ui/hud/Prop.png" id="5_6tt77"] [ext_resource type="Texture2D" uid="uid://b7qfbqgk4m0bl" path="res://asset/art/prop/c02/1012钥匙物品.png" id="8_l2cwd"] [ext_resource type="Texture2D" uid="uid://bgsbwhy1c2jna" path="res://asset/art/ui/hud/red_hand.png" id="9_0crjo"] [ext_resource type="Texture2D" uid="uid://boqpr7i2a5uan" path="res://asset/art/ui/hud/normal_right.png" id="10_vkaik"] [ext_resource type="Texture2D" uid="uid://daj2n408y2vfp" path="res://asset/art/ui/hud/pressed_right.png" id="11_a512b"] [sub_resource type="Resource" id="Resource_4bv8f"] script = ExtResource("2_v7ccv") name = "绳子" title = "绳子" texture_path = "res://asset/art/prop/c02/绳子物品.png" [sub_resource type="Resource" id="Resource_r428v"] script = ExtResource("2_v7ccv") name = "钥匙" title = "1012钥匙" texture_path = "res://asset/art/prop/c02/1012钥匙物品.png" [sub_resource type="Resource" id="Resource_6rpb3"] script = ExtResource("2_v7ccv") name = "小猫玩具的脑袋" title = "小猫玩具的脑袋" texture_path = "res://asset/art/prop/c02/小猫玩具脑袋物品.png" [sub_resource type="Resource" id="Resource_w8ynm"] script = ExtResource("3_j5qly") items = Array[Object]([SubResource("Resource_4bv8f"), SubResource("Resource_r428v"), SubResource("Resource_6rpb3")]) current_index = 1 [sub_resource type="RectangleShape2D" id="RectangleShape2D_oki4y"] size = Vector2(646.667, 416.667) [node name="PropHUD" type="Control"] layout_mode = 3 anchors_preset = 0 offset_left = 10.0 offset_top = 4.0 offset_right = 224.0 offset_bottom = 144.0 scale = Vector2(0.3, 0.3) mouse_filter = 2 script = ExtResource("1_bbv0a") item_name = "小猫玩具的脑袋" item_title = "小猫玩具的脑袋" item_texture = "res://asset/art/prop/c02/小猫玩具脑袋物品.png" inventory = SubResource("Resource_w8ynm") [node name="VBoxContainer" type="VBoxContainer" parent="."] layout_mode = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"] layout_mode = 2 [node name="Sfx" parent="VBoxContainer/HBoxContainer" instance=ExtResource("2_g6c03")] unique_name_in_owner = true [node name="LeftMargin" type="MarginContainer" parent="VBoxContainer/HBoxContainer"] layout_mode = 2 theme_override_constants/margin_left = 8 [node name="LeftButton" type="TextureButton" parent="VBoxContainer/HBoxContainer/LeftMargin"] unique_name_in_owner = true layout_mode = 2 size_flags_vertical = 4 texture_normal = ExtResource("2_bjc2b") texture_pressed = ExtResource("3_fca7p") stretch_mode = 5 [node name="HudPanel" type="TextureButton" parent="VBoxContainer/HBoxContainer"] unique_name_in_owner = true custom_minimum_size = Vector2(32, 32) layout_mode = 2 size_flags_vertical = 4 texture_normal = ExtResource("5_6tt77") stretch_mode = 5 [node name="Container" type="Control" parent="VBoxContainer/HBoxContainer/HudPanel"] clip_contents = true custom_minimum_size = Vector2(130, 130) layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -65.0 offset_top = -65.0 offset_right = 65.0 offset_bottom = 65.0 grow_horizontal = 2 grow_vertical = 2 [node name="PropContainer" type="CenterContainer" parent="VBoxContainer/HBoxContainer/HudPanel/Container"] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -55.5 offset_top = -20.5 offset_right = 55.5 offset_bottom = 20.5 grow_horizontal = 2 grow_vertical = 2 [node name="Prop" type="TextureRect" parent="VBoxContainer/HBoxContainer/HudPanel/Container/PropContainer"] unique_name_in_owner = true layout_mode = 2 texture = ExtResource("8_l2cwd") [node name="Mark" type="TextureRect" parent="VBoxContainer/HBoxContainer/HudPanel"] unique_name_in_owner = true layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -67.0 offset_top = -87.0 grow_horizontal = 0 grow_vertical = 0 texture = ExtResource("9_0crjo") [node name="RightMargin" type="MarginContainer" parent="VBoxContainer/HBoxContainer"] layout_mode = 2 theme_override_constants/margin_right = 8 [node name="RightButton" type="TextureButton" parent="VBoxContainer/HBoxContainer/RightMargin"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 texture_normal = ExtResource("10_vkaik") texture_pressed = ExtResource("11_a512b") stretch_mode = 5 [node name="MouseDetector" type="StaticBody2D" parent="VBoxContainer/HBoxContainer"] unique_name_in_owner = true collision_layer = 8 collision_mask = 8 input_pickable = true [node name="CollisionShape2D" type="CollisionShape2D" parent="VBoxContainer/HBoxContainer/MouseDetector"] position = Vector2(256.667, 171.667) shape = SubResource("RectangleShape2D_oki4y") [node name="MarginContainer" type="MarginContainer" parent="VBoxContainer"] layout_mode = 2 theme_override_constants/margin_top = 8 [node name="TitleLabel" type="Label" parent="VBoxContainer/MarginContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 4 theme_override_font_sizes/font_size = 42 text = "1012钥匙"