Files
SectSimulator/src/UI/HUD/TopBarHUD.tscn
T

177 lines
5.9 KiB
Plaintext

[gd_scene format=3 uid="uid://dl0tb68vsw3c6"]
[ext_resource type="FontFile" uid="uid://drt448qncx27p" path="res://assets/fonts/dingliezhuhaifont-20240831GengXinBan)-2.ttf" id="1_pa2rn"]
[ext_resource type="Script" uid="uid://d3o1ssph7ca58" path="res://src/UI/HUD/top_bar_hud.gd" id="1_vm4eo"]
[sub_resource type="LabelSettings" id="LabelSettings_bn2o5"]
font = ExtResource("1_pa2rn")
font_size = 32
[node name="TopBarHud" type="Control" unique_id=1115394694]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_vm4eo")
[node name="HBoxContainer" type="HBoxContainer" parent="." unique_id=1608257100]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 23.0
grow_horizontal = 2
[node name="Label_Currency" type="Label" parent="HBoxContainer" unique_id=766096596]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 8
text = "灵石"
label_settings = SubResource("LabelSettings_bn2o5")
[node name="Value_Currency" type="Label" parent="HBoxContainer" unique_id=1150573727]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 8
label_settings = SubResource("LabelSettings_bn2o5")
[node name="Label_Time" type="Label" parent="HBoxContainer" unique_id=671872515]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 8
text = "时间"
label_settings = SubResource("LabelSettings_bn2o5")
[node name="Value_Time" type="Label" parent="HBoxContainer" unique_id=1229577188]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 8
size_flags_stretch_ratio = 2.0
label_settings = SubResource("LabelSettings_bn2o5")
[node name="Label_Reputation" type="Label" parent="HBoxContainer" unique_id=985110673]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 8
text = "声望"
label_settings = SubResource("LabelSettings_bn2o5")
[node name="Value_Reputation" type="Label" parent="HBoxContainer" unique_id=2011931119]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 8
label_settings = SubResource("LabelSettings_bn2o5")
[node name="SpeedGroup" type="HBoxContainer" parent="HBoxContainer" unique_id=2144893126]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 3.0
theme_override_constants/separation = 4
[node name="Button_Pause" type="Button" parent="HBoxContainer/SpeedGroup" unique_id=2144893127]
unique_name_in_owner = true
custom_minimum_size = Vector2(64, 0)
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 3.0
theme_override_fonts/font = ExtResource("1_pa2rn")
theme_override_font_sizes/font_size = 32
text = "暂停"
[node name="Button_Speed1" type="Button" parent="HBoxContainer/SpeedGroup" unique_id=2144893128]
unique_name_in_owner = true
custom_minimum_size = Vector2(48, 0)
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 2.0
theme_override_fonts/font = ExtResource("1_pa2rn")
theme_override_font_sizes/font_size = 32
text = "1x"
[node name="Button_Speed5" type="Button" parent="HBoxContainer/SpeedGroup" unique_id=2144893129]
unique_name_in_owner = true
custom_minimum_size = Vector2(48, 0)
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 2.0
theme_override_fonts/font = ExtResource("1_pa2rn")
theme_override_font_sizes/font_size = 32
text = "5x"
[node name="Button_Speed20" type="Button" parent="HBoxContainer/SpeedGroup" unique_id=2144893130]
unique_name_in_owner = true
custom_minimum_size = Vector2(48, 0)
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 2.0
theme_override_fonts/font = ExtResource("1_pa2rn")
theme_override_font_sizes/font_size = 32
text = "20x"
[node name="placeholder_1" type="Label" parent="HBoxContainer" unique_id=1042446504]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 8
label_settings = SubResource("LabelSettings_bn2o5")
[node name="placeholder_2" type="Label" parent="HBoxContainer" unique_id=1526548351]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 8
label_settings = SubResource("LabelSettings_bn2o5")
[node name="placeholder_3" type="Label" parent="HBoxContainer" unique_id=1170426663]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 8
label_settings = SubResource("LabelSettings_bn2o5")
[node name="placeholder_4" type="Label" parent="HBoxContainer" unique_id=1878816574]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 8
label_settings = SubResource("LabelSettings_bn2o5")
[node name="placeholder_5" type="Label" parent="HBoxContainer" unique_id=491155620]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 8
label_settings = SubResource("LabelSettings_bn2o5")
[node name="placeholder_6" type="Label" parent="HBoxContainer" unique_id=1738250574]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 8
label_settings = SubResource("LabelSettings_bn2o5")
[node name="Button_StaffManagement" type="Button" parent="HBoxContainer" unique_id=568204305]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
theme_override_fonts/font = ExtResource("1_pa2rn")
theme_override_font_sizes/font_size = 32
text = "管理"
[node name="Button_ResourcesManagement" type="Button" parent="HBoxContainer" unique_id=1424251140]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
theme_override_fonts/font = ExtResource("1_pa2rn")
theme_override_font_sizes/font_size = 32
text = "资源"
[node name="Button_Return" type="Button" parent="HBoxContainer" unique_id=867839141]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
theme_override_fonts/font = ExtResource("1_pa2rn")
theme_override_font_sizes/font_size = 32
text = "返回"
[connection signal="button_up" from="HBoxContainer/SpeedGroup/Button_Pause" to="." method="_on_button_pause_button_up"]
[connection signal="button_up" from="HBoxContainer/Button_Return" to="." method="_on_button_return_button_up"]