164 lines
4.4 KiB
Plaintext
164 lines
4.4 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://dos15dmc1b6bt"]
|
|
|
|
[ext_resource type="Script" uid="uid://ct7rhywlql4y4" path="res://GUI/GameSettingPanel.gd" id="1_0c52c"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0c52c"]
|
|
border_width_left = 10
|
|
border_width_top = 10
|
|
border_width_right = 10
|
|
border_width_bottom = 10
|
|
corner_radius_top_left = 20
|
|
corner_radius_top_right = 20
|
|
corner_radius_bottom_right = 20
|
|
corner_radius_bottom_left = 20
|
|
corner_detail = 20
|
|
shadow_size = 20
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7muhe"]
|
|
bg_color = Color(0.454524, 0.454524, 0.454524, 1)
|
|
corner_radius_top_left = 10
|
|
corner_radius_top_right = 10
|
|
corner_radius_bottom_right = 10
|
|
corner_radius_bottom_left = 10
|
|
corner_detail = 20
|
|
|
|
[node name="GameSettingPanel" type="Panel"]
|
|
offset_left = 151.0
|
|
offset_top = 74.0
|
|
offset_right = 1549.0
|
|
offset_bottom = 794.0
|
|
scale = Vector2(0.8, 0.8)
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_0c52c")
|
|
script = ExtResource("1_0c52c")
|
|
|
|
[node name="Title" type="Label" parent="."]
|
|
layout_mode = 0
|
|
offset_top = 9.0
|
|
offset_right = 1398.0
|
|
offset_bottom = 97.0
|
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
|
theme_override_constants/shadow_offset_x = 4
|
|
theme_override_constants/shadow_offset_y = 4
|
|
theme_override_constants/outline_size = 20
|
|
theme_override_constants/shadow_outline_size = 20
|
|
theme_override_font_sizes/font_size = 55
|
|
text = "游戏设置"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="QuitButton" type="Button" parent="."]
|
|
custom_minimum_size = Vector2(60, 60)
|
|
layout_mode = 0
|
|
offset_left = 1305.0
|
|
offset_top = 17.5
|
|
offset_right = 1378.0
|
|
offset_bottom = 97.5
|
|
theme_override_font_sizes/font_size = 35
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_7muhe")
|
|
text = "X"
|
|
|
|
[node name="LinkButton" type="LinkButton" parent="."]
|
|
visible = false
|
|
layout_mode = 0
|
|
offset_left = 15.0
|
|
offset_top = 17.0
|
|
offset_right = 79.0
|
|
offset_bottom = 57.0
|
|
text = "打开网页"
|
|
uri = "http://192.168.1.110:19132/site/python"
|
|
|
|
[node name="Scroll" type="ScrollContainer" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 9.0
|
|
offset_top = 100.0
|
|
offset_right = 1389.0
|
|
offset_bottom = 709.0
|
|
|
|
[node name="Panel" type="Panel" parent="Scroll"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="BackgroundMusicLabel" type="Label" parent="Scroll/Panel"]
|
|
layout_mode = 2
|
|
offset_left = -1.52588e-05
|
|
offset_right = 245.0
|
|
offset_bottom = 49.0
|
|
theme_override_font_sizes/font_size = 35
|
|
text = "背景音乐音量:"
|
|
|
|
[node name="BackgroundMusicHSlider" type="HSlider" parent="Scroll/Panel"]
|
|
layout_mode = 2
|
|
offset_left = 245.0
|
|
offset_right = 574.0
|
|
offset_bottom = 49.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
|
|
[node name="WeatherSystemLabel" type="Label" parent="Scroll/Panel"]
|
|
layout_mode = 2
|
|
offset_left = -0.249969
|
|
offset_top = 48.75
|
|
offset_right = 209.75
|
|
offset_bottom = 97.75
|
|
theme_override_font_sizes/font_size = 35
|
|
text = "关闭天气显示:"
|
|
|
|
[node name="WeatherSystemCheck" type="CheckButton" parent="Scroll/Panel"]
|
|
layout_mode = 2
|
|
offset_left = 244.75
|
|
offset_top = 48.75
|
|
offset_right = 288.75
|
|
offset_bottom = 72.75
|
|
scale = Vector2(2, 2)
|
|
theme_override_font_sizes/font_size = 100
|
|
|
|
[node name="HBox" type="HBoxContainer" parent="Scroll/Panel"]
|
|
visible = false
|
|
layout_mode = 0
|
|
offset_top = 97.0
|
|
offset_right = 853.0
|
|
offset_bottom = 154.0
|
|
|
|
[node name="ChangeServer" type="Label" parent="Scroll/Panel/HBox"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 35
|
|
text = "切换服务器"
|
|
|
|
[node name="IPInput" type="LineEdit" parent="Scroll/Panel/HBox"]
|
|
custom_minimum_size = Vector2(400, 0)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 35
|
|
placeholder_text = "请输入服务器IP地址"
|
|
|
|
[node name="PortInput" type="LineEdit" parent="Scroll/Panel/HBox"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 35
|
|
placeholder_text = "端口"
|
|
alignment = 1
|
|
|
|
[node name="ChangeButton" type="Button" parent="Scroll/Panel/HBox"]
|
|
custom_minimum_size = Vector2(120, 0)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 35
|
|
text = "切换"
|
|
|
|
[node name="SureButton" type="Button" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 647.5
|
|
offset_top = 635.0
|
|
offset_right = 815.5
|
|
offset_bottom = 698.0
|
|
theme_override_font_sizes/font_size = 40
|
|
text = "确认修改"
|
|
|
|
[node name="RefreshButton" type="Button" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 27.5001
|
|
offset_top = 25.0001
|
|
offset_right = 195.5
|
|
offset_bottom = 88.0001
|
|
theme_override_font_sizes/font_size = 40
|
|
text = "刷新"
|