xiandie/scene/prop/prop_hud.tscn

131 lines
4.3 KiB
Plaintext
Raw Normal View History

2025-01-07 10:54:50 +00:00
[gd_scene load_steps=10 format=3 uid="uid://dc778gsjfr3ky"]
2024-12-23 01:29:31 +00:00
[ext_resource type="Script" path="res://scene/prop/prop_hud.gd" id="1_bbv0a"]
2025-01-17 10:45:40 +00:00
[ext_resource type="Texture2D" uid="uid://dok08tovej18w" 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"]
2025-01-17 10:45:40 +00:00
[ext_resource type="Texture2D" uid="uid://c45k7ncg6xhpv" path="res://asset/art/ui/hud/pressed_left.png" id="3_fca7p"]
[ext_resource type="Texture2D" uid="uid://c2jq2neda32ix" path="res://asset/art/ui/hud/Prop.png" id="5_6tt77"]
[ext_resource type="Texture2D" uid="uid://b6mchcvq5d6jf" path="res://asset/art/prop/c02/1012钥匙物品.png" id="8_l2cwd"]
[ext_resource type="Texture2D" uid="uid://bhm71jo5k07qy" path="res://asset/art/ui/hud/red_hand.png" id="9_0crjo"]
[ext_resource type="Texture2D" uid="uid://c1ogeaa836kry" path="res://asset/art/ui/hud/normal_right.png" id="10_vkaik"]
[ext_resource type="Texture2D" uid="uid://d03la4d2swk0k" path="res://asset/art/ui/hud/pressed_right.png" id="11_a512b"]
2024-12-23 01:29:31 +00:00
[node name="PropHUD" type="Control"]
process_mode = 3
2025-01-07 10:54:50 +00:00
custom_minimum_size = Vector2(600, 500)
layout_mode = 3
anchors_preset = 0
offset_left = 8.0
2024-12-23 01:29:31 +00:00
offset_top = 4.0
2025-01-07 10:54:50 +00:00
offset_right = 608.0
offset_bottom = 504.0
2024-12-23 01:29:31 +00:00
scale = Vector2(0.3, 0.3)
script = ExtResource("1_bbv0a")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
2025-01-07 10:54:50 +00:00
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
2024-12-23 01:29:31 +00:00
2025-01-13 08:09:57 +00:00
[node name="SfxClick" parent="VBoxContainer/HBoxContainer" instance=ExtResource("2_g6c03")]
unique_name_in_owner = true
[node name="LeftMargin" type="MarginContainer" parent="VBoxContainer/HBoxContainer"]
2024-12-23 01:29:31 +00:00
layout_mode = 2
theme_override_constants/margin_left = 8
[node name="LeftButton" type="TextureButton" parent="VBoxContainer/HBoxContainer/LeftMargin"]
unique_name_in_owner = true
2024-12-23 01:29:31 +00:00
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
2024-12-23 01:29:31 +00:00
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
mouse_filter = 1
[node name="PropContainer" type="CenterContainer" parent="VBoxContainer/HBoxContainer/HudPanel/Container"]
unique_name_in_owner = true
2024-12-23 01:29:31 +00:00
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
2024-12-23 01:29:31 +00:00
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")
2024-12-23 01:29:31 +00:00
[node name="Mark" type="TextureRect" parent="VBoxContainer/HBoxContainer/HudPanel"]
2024-12-23 01:29:31 +00:00
unique_name_in_owner = true
visible = false
2024-12-23 01:29:31 +00:00
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
2024-12-23 01:29:31 +00:00
grow_horizontal = 0
grow_vertical = 0
texture = ExtResource("9_0crjo")
[node name="RightMargin" type="MarginContainer" parent="VBoxContainer/HBoxContainer"]
2024-12-23 01:29:31 +00:00
layout_mode = 2
theme_override_constants/margin_right = 8
[node name="RightButton" type="TextureButton" parent="VBoxContainer/HBoxContainer/RightMargin"]
unique_name_in_owner = true
2024-12-23 01:29:31 +00:00
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="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钥匙"