UI修改:玩家排行榜和道具商店
This commit is contained in:
@@ -801,7 +801,6 @@ offset_right = 1473.0
|
|||||||
offset_bottom = 748.0
|
offset_bottom = 748.0
|
||||||
|
|
||||||
[node name="ItemStorePanel" parent="UI/BigPanel" instance=ExtResource("21_uhubb")]
|
[node name="ItemStorePanel" parent="UI/BigPanel" instance=ExtResource("21_uhubb")]
|
||||||
visible = false
|
|
||||||
offset_left = 80.0
|
offset_left = 80.0
|
||||||
offset_top = 77.0
|
offset_top = 77.0
|
||||||
offset_right = 1620.0
|
offset_right = 1620.0
|
||||||
|
|||||||
@@ -1,18 +1,74 @@
|
|||||||
[gd_scene load_steps=3 format=3 uid="uid://j4ft87o7jk14"]
|
[gd_scene load_steps=8 format=3 uid="uid://j4ft87o7jk14"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://bruqwi63myl1m" path="res://Script/BigPanel/ItemStorePanel.gd" id="1_vx1qn"]
|
[ext_resource type="Script" uid="uid://bruqwi63myl1m" path="res://Script/BigPanel/ItemStorePanel.gd" id="1_vx1qn"]
|
||||||
|
|
||||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_n03md"]
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_n03md"]
|
||||||
border_width_left = 5
|
bg_color = Color(0.85, 0.95, 0.88, 0.85)
|
||||||
border_width_top = 5
|
border_width_left = 2
|
||||||
border_width_right = 5
|
border_width_top = 2
|
||||||
border_width_bottom = 5
|
border_width_right = 2
|
||||||
|
border_width_bottom = 2
|
||||||
|
border_color = Color(0.6, 0.8, 0.65, 0.9)
|
||||||
|
corner_radius_top_left = 35
|
||||||
|
corner_radius_top_right = 35
|
||||||
|
corner_radius_bottom_right = 35
|
||||||
|
corner_radius_bottom_left = 35
|
||||||
|
corner_detail = 20
|
||||||
|
shadow_color = Color(0, 0, 0, 0.3)
|
||||||
|
shadow_size = 12
|
||||||
|
shadow_offset = Vector2(3, 3)
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_Button"]
|
||||||
|
bg_color = Color(0.75, 0.9, 0.8, 0.8)
|
||||||
|
border_width_left = 1
|
||||||
|
border_width_top = 1
|
||||||
|
border_width_right = 1
|
||||||
|
border_width_bottom = 1
|
||||||
|
border_color = Color(0.5, 0.75, 0.6, 0.8)
|
||||||
corner_radius_top_left = 20
|
corner_radius_top_left = 20
|
||||||
corner_radius_top_right = 20
|
corner_radius_top_right = 20
|
||||||
corner_radius_bottom_right = 20
|
corner_radius_bottom_right = 20
|
||||||
corner_radius_bottom_left = 20
|
corner_radius_bottom_left = 20
|
||||||
corner_detail = 20
|
shadow_color = Color(0, 0, 0, 0.2)
|
||||||
shadow_size = 20
|
shadow_size = 6
|
||||||
|
shadow_offset = Vector2(2, 2)
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ButtonHover"]
|
||||||
|
bg_color = Color(0.8, 0.95, 0.85, 0.9)
|
||||||
|
border_width_left = 1
|
||||||
|
border_width_top = 1
|
||||||
|
border_width_right = 1
|
||||||
|
border_width_bottom = 1
|
||||||
|
border_color = Color(0.4, 0.7, 0.5, 1)
|
||||||
|
corner_radius_top_left = 20
|
||||||
|
corner_radius_top_right = 20
|
||||||
|
corner_radius_bottom_right = 20
|
||||||
|
corner_radius_bottom_left = 20
|
||||||
|
shadow_color = Color(0, 0, 0, 0.25)
|
||||||
|
shadow_size = 8
|
||||||
|
shadow_offset = Vector2(2, 2)
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ButtonPressed"]
|
||||||
|
bg_color = Color(0.65, 0.8, 0.7, 0.9)
|
||||||
|
border_width_left = 1
|
||||||
|
border_width_top = 1
|
||||||
|
border_width_right = 1
|
||||||
|
border_width_bottom = 1
|
||||||
|
border_color = Color(0.3, 0.6, 0.4, 1)
|
||||||
|
corner_radius_top_left = 20
|
||||||
|
corner_radius_top_right = 20
|
||||||
|
corner_radius_bottom_right = 20
|
||||||
|
corner_radius_bottom_left = 20
|
||||||
|
shadow_color = Color(0, 0, 0, 0.15)
|
||||||
|
shadow_size = 4
|
||||||
|
shadow_offset = Vector2(1, 1)
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ScrollBar"]
|
||||||
|
bg_color = Color(0.8, 0.9, 0.85, 0.7)
|
||||||
|
corner_radius_top_left = 15
|
||||||
|
corner_radius_top_right = 15
|
||||||
|
corner_radius_bottom_right = 15
|
||||||
|
corner_radius_bottom_left = 15
|
||||||
|
|
||||||
[node name="ItemStorePanel" type="Panel"]
|
[node name="ItemStorePanel" type="Panel"]
|
||||||
offset_left = 58.0
|
offset_left = 58.0
|
||||||
@@ -31,7 +87,7 @@ offset_left = -184.0
|
|||||||
offset_top = -100.0
|
offset_top = -100.0
|
||||||
offset_right = 1571.0
|
offset_right = 1571.0
|
||||||
offset_bottom = 804.0
|
offset_bottom = 804.0
|
||||||
color = Color(1, 1, 1, 0)
|
color = Color(0.9, 0.98, 0.92, 0.2)
|
||||||
|
|
||||||
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
@@ -42,6 +98,7 @@ offset_bottom = 1626.0
|
|||||||
scale = Vector2(0.4, 0.4)
|
scale = Vector2(0.4, 0.4)
|
||||||
size_flags_vertical = 3
|
size_flags_vertical = 3
|
||||||
horizontal_scroll_mode = 0
|
horizontal_scroll_mode = 0
|
||||||
|
theme_override_styles/panel = SubResource("StyleBoxFlat_ScrollBar")
|
||||||
|
|
||||||
[node name="Store_Grid" type="GridContainer" parent="ScrollContainer"]
|
[node name="Store_Grid" type="GridContainer" parent="ScrollContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
@@ -54,14 +111,14 @@ layout_mode = 2
|
|||||||
offset_right = 1540.0
|
offset_right = 1540.0
|
||||||
offset_bottom = 75.0
|
offset_bottom = 75.0
|
||||||
size_flags_horizontal = 3
|
size_flags_horizontal = 3
|
||||||
theme_override_colors/font_color = Color(1, 1, 0.807843, 1)
|
theme_override_colors/font_color = Color(0.2, 0.6, 0.3, 1)
|
||||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.4)
|
||||||
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
theme_override_colors/font_outline_color = Color(0.8, 0.95, 0.85, 0.8)
|
||||||
theme_override_constants/shadow_offset_x = 4
|
theme_override_constants/shadow_offset_x = 2
|
||||||
theme_override_constants/shadow_offset_y = 4
|
theme_override_constants/shadow_offset_y = 2
|
||||||
theme_override_constants/outline_size = 15
|
theme_override_constants/outline_size = 8
|
||||||
theme_override_constants/shadow_outline_size = 15
|
theme_override_constants/shadow_outline_size = 8
|
||||||
theme_override_font_sizes/font_size = 40
|
theme_override_font_sizes/font_size = 42
|
||||||
text = "道具商店"
|
text = "道具商店"
|
||||||
horizontal_alignment = 1
|
horizontal_alignment = 1
|
||||||
vertical_alignment = 1
|
vertical_alignment = 1
|
||||||
@@ -73,7 +130,14 @@ offset_left = 1457.5
|
|||||||
offset_top = 13.75
|
offset_top = 13.75
|
||||||
offset_right = 1517.5
|
offset_right = 1517.5
|
||||||
offset_bottom = 76.75
|
offset_bottom = 76.75
|
||||||
|
theme_override_colors/font_color = Color(0.3, 0.5, 0.35, 1)
|
||||||
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.3)
|
||||||
|
theme_override_constants/shadow_offset_x = 1
|
||||||
|
theme_override_constants/shadow_offset_y = 1
|
||||||
theme_override_font_sizes/font_size = 40
|
theme_override_font_sizes/font_size = 40
|
||||||
|
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||||
|
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||||
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||||
text = "X"
|
text = "X"
|
||||||
|
|
||||||
[node name="RefreshButton" type="Button" parent="."]
|
[node name="RefreshButton" type="Button" parent="."]
|
||||||
@@ -83,7 +147,14 @@ offset_left = 12.5
|
|||||||
offset_top = 12.5
|
offset_top = 12.5
|
||||||
offset_right = 100.5
|
offset_right = 100.5
|
||||||
offset_bottom = 75.5
|
offset_bottom = 75.5
|
||||||
theme_override_font_sizes/font_size = 40
|
theme_override_colors/font_color = Color(0.2, 0.5, 0.3, 1)
|
||||||
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.3)
|
||||||
|
theme_override_constants/shadow_offset_x = 1
|
||||||
|
theme_override_constants/shadow_offset_y = 1
|
||||||
|
theme_override_font_sizes/font_size = 32
|
||||||
|
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||||
|
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||||
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||||
text = "刷新"
|
text = "刷新"
|
||||||
|
|
||||||
[node name="All_Filter" type="Button" parent="."]
|
[node name="All_Filter" type="Button" parent="."]
|
||||||
@@ -93,7 +164,14 @@ offset_left = 217.5
|
|||||||
offset_top = 12.5
|
offset_top = 12.5
|
||||||
offset_right = 305.5
|
offset_right = 305.5
|
||||||
offset_bottom = 75.5
|
offset_bottom = 75.5
|
||||||
theme_override_font_sizes/font_size = 40
|
theme_override_colors/font_color = Color(0.25, 0.5, 0.3, 1)
|
||||||
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.3)
|
||||||
|
theme_override_constants/shadow_offset_x = 1
|
||||||
|
theme_override_constants/shadow_offset_y = 1
|
||||||
|
theme_override_font_sizes/font_size = 32
|
||||||
|
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||||
|
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||||
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||||
text = "全部"
|
text = "全部"
|
||||||
|
|
||||||
[node name="Pet_Filter" type="Button" parent="."]
|
[node name="Pet_Filter" type="Button" parent="."]
|
||||||
@@ -103,7 +181,14 @@ offset_left = 310.0
|
|||||||
offset_top = 13.75
|
offset_top = 13.75
|
||||||
offset_right = 398.0
|
offset_right = 398.0
|
||||||
offset_bottom = 76.75
|
offset_bottom = 76.75
|
||||||
theme_override_font_sizes/font_size = 40
|
theme_override_colors/font_color = Color(0.25, 0.5, 0.35, 1)
|
||||||
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.3)
|
||||||
|
theme_override_constants/shadow_offset_x = 1
|
||||||
|
theme_override_constants/shadow_offset_y = 1
|
||||||
|
theme_override_font_sizes/font_size = 32
|
||||||
|
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||||
|
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||||
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||||
text = "宠物"
|
text = "宠物"
|
||||||
|
|
||||||
[node name="Crop_Filter" type="Button" parent="."]
|
[node name="Crop_Filter" type="Button" parent="."]
|
||||||
@@ -113,7 +198,14 @@ offset_left = 397.5
|
|||||||
offset_top = 13.75
|
offset_top = 13.75
|
||||||
offset_right = 485.5
|
offset_right = 485.5
|
||||||
offset_bottom = 76.75
|
offset_bottom = 76.75
|
||||||
theme_override_font_sizes/font_size = 40
|
theme_override_colors/font_color = Color(0.2, 0.5, 0.25, 1)
|
||||||
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.3)
|
||||||
|
theme_override_constants/shadow_offset_x = 1
|
||||||
|
theme_override_constants/shadow_offset_y = 1
|
||||||
|
theme_override_font_sizes/font_size = 32
|
||||||
|
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||||
|
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||||
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||||
text = "作物"
|
text = "作物"
|
||||||
|
|
||||||
[node name="Farm_Filter" type="Button" parent="."]
|
[node name="Farm_Filter" type="Button" parent="."]
|
||||||
@@ -123,7 +215,14 @@ offset_left = 485.0
|
|||||||
offset_top = 13.75
|
offset_top = 13.75
|
||||||
offset_right = 573.0
|
offset_right = 573.0
|
||||||
offset_bottom = 76.75
|
offset_bottom = 76.75
|
||||||
theme_override_font_sizes/font_size = 40
|
theme_override_colors/font_color = Color(0.25, 0.5, 0.3, 1)
|
||||||
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.3)
|
||||||
|
theme_override_constants/shadow_offset_x = 1
|
||||||
|
theme_override_constants/shadow_offset_y = 1
|
||||||
|
theme_override_font_sizes/font_size = 32
|
||||||
|
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||||
|
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||||
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||||
text = "农场"
|
text = "农场"
|
||||||
|
|
||||||
[connection signal="pressed" from="RefreshButton" to="." method="_on_refresh_button_pressed"]
|
[connection signal="pressed" from="RefreshButton" to="." method="_on_refresh_button_pressed"]
|
||||||
|
|||||||
@@ -1,19 +1,80 @@
|
|||||||
[gd_scene load_steps=4 format=3 uid="uid://dbfqu87627yg6"]
|
[gd_scene load_steps=9 format=3 uid="uid://dbfqu87627yg6"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://fk4q3x6uqydd" path="res://Script/BigPanel/PlayerRankingPanel.gd" id="1_efhd6"]
|
[ext_resource type="Script" uid="uid://fk4q3x6uqydd" path="res://Script/BigPanel/PlayerRankingPanel.gd" id="1_efhd6"]
|
||||||
[ext_resource type="PackedScene" uid="uid://crd28qnymob7" path="res://GUI/PlayerRankingItem.tscn" id="1_xwp76"]
|
[ext_resource type="PackedScene" uid="uid://crd28qnymob7" path="res://GUI/PlayerRankingItem.tscn" id="1_xwp76"]
|
||||||
|
|
||||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_efhd6"]
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_efhd6"]
|
||||||
border_width_left = 10
|
bg_color = Color(0.12, 0.15, 0.25, 0.95)
|
||||||
border_width_top = 10
|
border_width_left = 3
|
||||||
border_width_right = 10
|
border_width_top = 3
|
||||||
border_width_bottom = 10
|
border_width_right = 3
|
||||||
corner_radius_top_left = 20
|
border_width_bottom = 3
|
||||||
corner_radius_top_right = 20
|
border_color = Color(0.8, 0.6, 0.2, 1)
|
||||||
corner_radius_bottom_right = 20
|
corner_radius_top_left = 25
|
||||||
corner_radius_bottom_left = 20
|
corner_radius_top_right = 25
|
||||||
|
corner_radius_bottom_right = 25
|
||||||
|
corner_radius_bottom_left = 25
|
||||||
corner_detail = 20
|
corner_detail = 20
|
||||||
|
shadow_color = Color(0.8, 0.6, 0.2, 0.4)
|
||||||
shadow_size = 20
|
shadow_size = 20
|
||||||
|
shadow_offset = Vector2(5, 5)
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_Button"]
|
||||||
|
bg_color = Color(0.2, 0.25, 0.4, 0.9)
|
||||||
|
border_width_left = 2
|
||||||
|
border_width_top = 2
|
||||||
|
border_width_right = 2
|
||||||
|
border_width_bottom = 2
|
||||||
|
border_color = Color(0.6, 0.45, 0.15, 0.8)
|
||||||
|
corner_radius_top_left = 15
|
||||||
|
corner_radius_top_right = 15
|
||||||
|
corner_radius_bottom_right = 15
|
||||||
|
corner_radius_bottom_left = 15
|
||||||
|
shadow_color = Color(0.8, 0.6, 0.2, 0.3)
|
||||||
|
shadow_size = 8
|
||||||
|
shadow_offset = Vector2(3, 3)
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ButtonHover"]
|
||||||
|
bg_color = Color(0.3, 0.35, 0.55, 1)
|
||||||
|
border_width_left = 2
|
||||||
|
border_width_top = 2
|
||||||
|
border_width_right = 2
|
||||||
|
border_width_bottom = 2
|
||||||
|
border_color = Color(0.9, 0.7, 0.3, 1)
|
||||||
|
corner_radius_top_left = 15
|
||||||
|
corner_radius_top_right = 15
|
||||||
|
corner_radius_bottom_right = 15
|
||||||
|
corner_radius_bottom_left = 15
|
||||||
|
shadow_color = Color(0.9, 0.7, 0.3, 0.5)
|
||||||
|
shadow_size = 12
|
||||||
|
shadow_offset = Vector2(4, 4)
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ButtonPressed"]
|
||||||
|
bg_color = Color(0.15, 0.2, 0.35, 1)
|
||||||
|
border_width_left = 2
|
||||||
|
border_width_top = 2
|
||||||
|
border_width_right = 2
|
||||||
|
border_width_bottom = 2
|
||||||
|
border_color = Color(0.7, 0.5, 0.1, 1)
|
||||||
|
corner_radius_top_left = 15
|
||||||
|
corner_radius_top_right = 15
|
||||||
|
corner_radius_bottom_right = 15
|
||||||
|
corner_radius_bottom_left = 15
|
||||||
|
shadow_color = Color(0.7, 0.5, 0.1, 0.3)
|
||||||
|
shadow_size = 6
|
||||||
|
shadow_offset = Vector2(2, 2)
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ScrollBar"]
|
||||||
|
bg_color = Color(0.18, 0.22, 0.35, 0.8)
|
||||||
|
border_width_left = 1
|
||||||
|
border_width_top = 1
|
||||||
|
border_width_right = 1
|
||||||
|
border_width_bottom = 1
|
||||||
|
border_color = Color(0.6, 0.45, 0.15, 0.6)
|
||||||
|
corner_radius_top_left = 12
|
||||||
|
corner_radius_top_right = 12
|
||||||
|
corner_radius_bottom_right = 12
|
||||||
|
corner_radius_bottom_left = 12
|
||||||
|
|
||||||
[node name="PlayerRankingPanel" type="Panel"]
|
[node name="PlayerRankingPanel" type="Panel"]
|
||||||
offset_left = 59.0
|
offset_left = 59.0
|
||||||
@@ -30,17 +91,20 @@ offset_left = -171.0
|
|||||||
offset_top = -109.0
|
offset_top = -109.0
|
||||||
offset_right = 1582.0
|
offset_right = 1582.0
|
||||||
offset_bottom = 792.0
|
offset_bottom = 792.0
|
||||||
color = Color(1, 1, 1, 0)
|
color = Color(0.05, 0.08, 0.15, 0.4)
|
||||||
|
|
||||||
[node name="RegisterPlayerNum" type="Label" parent="."]
|
[node name="RegisterPlayerNum" type="Label" parent="."]
|
||||||
self_modulate = Color(1, 0.701961, 1, 1)
|
self_modulate = Color(0.9, 0.7, 0.3, 1)
|
||||||
layout_mode = 0
|
layout_mode = 0
|
||||||
offset_left = 841.25
|
offset_left = 841.25
|
||||||
offset_top = 18.75
|
offset_top = 18.75
|
||||||
offset_right = 991.25
|
offset_right = 991.25
|
||||||
offset_bottom = 60.75
|
offset_bottom = 60.75
|
||||||
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
theme_override_colors/font_outline_color = Color(0.1, 0.1, 0.2, 1)
|
||||||
theme_override_constants/outline_size = 15
|
theme_override_colors/font_shadow_color = Color(0.8, 0.6, 0.2, 0.6)
|
||||||
|
theme_override_constants/outline_size = 8
|
||||||
|
theme_override_constants/shadow_offset_x = 2
|
||||||
|
theme_override_constants/shadow_offset_y = 2
|
||||||
theme_override_font_sizes/font_size = 30
|
theme_override_font_sizes/font_size = 30
|
||||||
text = "注册人数:"
|
text = "注册人数:"
|
||||||
|
|
||||||
@@ -51,13 +115,14 @@ offset_top = 18.75
|
|||||||
offset_right = 1400.5
|
offset_right = 1400.5
|
||||||
offset_bottom = 74.75
|
offset_bottom = 74.75
|
||||||
size_flags_vertical = 3
|
size_flags_vertical = 3
|
||||||
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
theme_override_colors/default_color = Color(1, 0.85, 0.4, 1)
|
||||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
theme_override_colors/font_outline_color = Color(0.1, 0.1, 0.2, 1)
|
||||||
|
theme_override_colors/font_shadow_color = Color(0.8, 0.6, 0.2, 0.8)
|
||||||
theme_override_constants/outline_size = 10
|
theme_override_constants/outline_size = 10
|
||||||
theme_override_constants/shadow_offset_y = 3
|
theme_override_constants/shadow_offset_y = 3
|
||||||
theme_override_constants/shadow_offset_x = 3
|
theme_override_constants/shadow_offset_x = 3
|
||||||
theme_override_constants/shadow_outline_size = 10
|
theme_override_constants/shadow_outline_size = 10
|
||||||
theme_override_font_sizes/normal_font_size = 40
|
theme_override_font_sizes/normal_font_size = 44
|
||||||
bbcode_enabled = true
|
bbcode_enabled = true
|
||||||
text = "玩家排行榜"
|
text = "玩家排行榜"
|
||||||
horizontal_alignment = 1
|
horizontal_alignment = 1
|
||||||
@@ -68,7 +133,11 @@ offset_left = 95.0
|
|||||||
offset_top = 21.25
|
offset_top = 21.25
|
||||||
offset_right = 378.0
|
offset_right = 378.0
|
||||||
offset_bottom = 78.25
|
offset_bottom = 78.25
|
||||||
theme_override_font_sizes/font_size = 35
|
theme_override_colors/font_color = Color(0.9, 0.8, 0.5, 1)
|
||||||
|
theme_override_colors/font_placeholder_color = Color(0.6, 0.5, 0.3, 0.8)
|
||||||
|
theme_override_font_sizes/font_size = 32
|
||||||
|
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||||
|
theme_override_styles/focus = SubResource("StyleBoxFlat_ButtonHover")
|
||||||
placeholder_text = "输入要搜索的人"
|
placeholder_text = "输入要搜索的人"
|
||||||
|
|
||||||
[node name="RefreshButton" type="Button" parent="."]
|
[node name="RefreshButton" type="Button" parent="."]
|
||||||
@@ -78,7 +147,14 @@ offset_left = 16.25
|
|||||||
offset_top = 21.25
|
offset_top = 21.25
|
||||||
offset_right = 94.25
|
offset_right = 94.25
|
||||||
offset_bottom = 78.25
|
offset_bottom = 78.25
|
||||||
theme_override_font_sizes/font_size = 35
|
theme_override_colors/font_color = Color(0.95, 0.8, 0.4, 1)
|
||||||
|
theme_override_colors/font_shadow_color = Color(0.1, 0.1, 0.2, 0.8)
|
||||||
|
theme_override_constants/shadow_offset_x = 2
|
||||||
|
theme_override_constants/shadow_offset_y = 2
|
||||||
|
theme_override_font_sizes/font_size = 32
|
||||||
|
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||||
|
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||||
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||||
text = "刷新"
|
text = "刷新"
|
||||||
|
|
||||||
[node name="SearchButton" type="Button" parent="."]
|
[node name="SearchButton" type="Button" parent="."]
|
||||||
@@ -88,7 +164,14 @@ offset_left = 377.5
|
|||||||
offset_top = 21.25
|
offset_top = 21.25
|
||||||
offset_right = 455.5
|
offset_right = 455.5
|
||||||
offset_bottom = 78.25
|
offset_bottom = 78.25
|
||||||
theme_override_font_sizes/font_size = 35
|
theme_override_colors/font_color = Color(0.95, 0.8, 0.4, 1)
|
||||||
|
theme_override_colors/font_shadow_color = Color(0.1, 0.1, 0.2, 0.8)
|
||||||
|
theme_override_constants/shadow_offset_x = 2
|
||||||
|
theme_override_constants/shadow_offset_y = 2
|
||||||
|
theme_override_font_sizes/font_size = 32
|
||||||
|
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||||
|
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||||
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||||
text = "搜索"
|
text = "搜索"
|
||||||
|
|
||||||
[node name="QuitButton" type="Button" parent="."]
|
[node name="QuitButton" type="Button" parent="."]
|
||||||
@@ -98,7 +181,14 @@ offset_left = 1326.25
|
|||||||
offset_top = 16.25
|
offset_top = 16.25
|
||||||
offset_right = 1383.25
|
offset_right = 1383.25
|
||||||
offset_bottom = 73.25
|
offset_bottom = 73.25
|
||||||
|
theme_override_colors/font_color = Color(1, 0.7, 0.3, 1)
|
||||||
|
theme_override_colors/font_shadow_color = Color(0.1, 0.1, 0.2, 0.8)
|
||||||
|
theme_override_constants/shadow_offset_x = 2
|
||||||
|
theme_override_constants/shadow_offset_y = 2
|
||||||
theme_override_font_sizes/font_size = 35
|
theme_override_font_sizes/font_size = 35
|
||||||
|
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||||
|
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||||
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||||
text = "X"
|
text = "X"
|
||||||
|
|
||||||
[node name="FiterAndSortHBox" type="HBoxContainer" parent="."]
|
[node name="FiterAndSortHBox" type="HBoxContainer" parent="."]
|
||||||
@@ -111,58 +201,111 @@ offset_bottom = 162.0
|
|||||||
[node name="SortLabel" type="Label" parent="FiterAndSortHBox"]
|
[node name="SortLabel" type="Label" parent="FiterAndSortHBox"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
size_flags_vertical = 1
|
size_flags_vertical = 1
|
||||||
|
theme_override_colors/font_color = Color(1, 0.85, 0.4, 1)
|
||||||
|
theme_override_colors/font_shadow_color = Color(0.1, 0.1, 0.2, 0.8)
|
||||||
|
theme_override_constants/shadow_offset_x = 2
|
||||||
|
theme_override_constants/shadow_offset_y = 2
|
||||||
theme_override_font_sizes/font_size = 30
|
theme_override_font_sizes/font_size = 30
|
||||||
text = "排序:"
|
text = "排序:"
|
||||||
horizontal_alignment = 1
|
horizontal_alignment = 1
|
||||||
vertical_alignment = 1
|
vertical_alignment = 1
|
||||||
|
|
||||||
[node name="MoneySortBtn" type="Button" parent="FiterAndSortHBox"]
|
[node name="MoneySortBtn" type="Button" parent="FiterAndSortHBox"]
|
||||||
self_modulate = Color(1, 1, 0.321569, 1)
|
self_modulate = Color(1, 0.9, 0.3, 1)
|
||||||
custom_minimum_size = Vector2(158, 57)
|
custom_minimum_size = Vector2(158, 57)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme_override_font_sizes/font_size = 30
|
theme_override_colors/font_color = Color(0.2, 0.15, 0.05, 1)
|
||||||
|
theme_override_colors/font_shadow_color = Color(1, 0.8, 0.2, 0.6)
|
||||||
|
theme_override_constants/shadow_offset_x = 1
|
||||||
|
theme_override_constants/shadow_offset_y = 1
|
||||||
|
theme_override_font_sizes/font_size = 28
|
||||||
|
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||||
|
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||||
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||||
text = "钱币"
|
text = "钱币"
|
||||||
|
|
||||||
[node name="SeedSortBtn" type="Button" parent="FiterAndSortHBox"]
|
[node name="SeedSortBtn" type="Button" parent="FiterAndSortHBox"]
|
||||||
self_modulate = Color(0.329412, 1, 0.345098, 1)
|
self_modulate = Color(0.4, 0.8, 0.5, 1)
|
||||||
custom_minimum_size = Vector2(158, 57)
|
custom_minimum_size = Vector2(158, 57)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme_override_font_sizes/font_size = 30
|
theme_override_colors/font_color = Color(0.9, 0.8, 0.4, 1)
|
||||||
|
theme_override_colors/font_shadow_color = Color(0.1, 0.1, 0.2, 0.8)
|
||||||
|
theme_override_constants/shadow_offset_x = 1
|
||||||
|
theme_override_constants/shadow_offset_y = 1
|
||||||
|
theme_override_font_sizes/font_size = 28
|
||||||
|
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||||
|
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||||
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||||
text = "种子数"
|
text = "种子数"
|
||||||
|
|
||||||
[node name="LevelSortBtn" type="Button" parent="FiterAndSortHBox"]
|
[node name="LevelSortBtn" type="Button" parent="FiterAndSortHBox"]
|
||||||
self_modulate = Color(0, 1, 1, 1)
|
self_modulate = Color(0.3, 0.7, 0.9, 1)
|
||||||
custom_minimum_size = Vector2(158, 57)
|
custom_minimum_size = Vector2(158, 57)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme_override_font_sizes/font_size = 30
|
theme_override_colors/font_color = Color(0.9, 0.8, 0.4, 1)
|
||||||
|
theme_override_colors/font_shadow_color = Color(0.1, 0.1, 0.2, 0.8)
|
||||||
|
theme_override_constants/shadow_offset_x = 1
|
||||||
|
theme_override_constants/shadow_offset_y = 1
|
||||||
|
theme_override_font_sizes/font_size = 28
|
||||||
|
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||||
|
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||||
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||||
text = "等级"
|
text = "等级"
|
||||||
|
|
||||||
[node name="OnlineTimeSortBtn" type="Button" parent="FiterAndSortHBox"]
|
[node name="OnlineTimeSortBtn" type="Button" parent="FiterAndSortHBox"]
|
||||||
self_modulate = Color(0.784314, 0.733333, 0.521569, 1)
|
self_modulate = Color(0.8, 0.5, 0.3, 1)
|
||||||
custom_minimum_size = Vector2(158, 57)
|
custom_minimum_size = Vector2(158, 57)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme_override_font_sizes/font_size = 30
|
theme_override_colors/font_color = Color(0.9, 0.8, 0.4, 1)
|
||||||
|
theme_override_colors/font_shadow_color = Color(0.1, 0.1, 0.2, 0.8)
|
||||||
|
theme_override_constants/shadow_offset_x = 1
|
||||||
|
theme_override_constants/shadow_offset_y = 1
|
||||||
|
theme_override_font_sizes/font_size = 26
|
||||||
|
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||||
|
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||||
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||||
text = "在线时长"
|
text = "在线时长"
|
||||||
|
|
||||||
[node name="LoginTimeSortBtn" type="Button" parent="FiterAndSortHBox"]
|
[node name="LoginTimeSortBtn" type="Button" parent="FiterAndSortHBox"]
|
||||||
self_modulate = Color(0.811765, 1, 0.811765, 1)
|
self_modulate = Color(0.5, 0.8, 0.4, 1)
|
||||||
custom_minimum_size = Vector2(158, 57)
|
custom_minimum_size = Vector2(158, 57)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme_override_font_sizes/font_size = 30
|
theme_override_colors/font_color = Color(0.9, 0.8, 0.4, 1)
|
||||||
|
theme_override_colors/font_shadow_color = Color(0.1, 0.1, 0.2, 0.8)
|
||||||
|
theme_override_constants/shadow_offset_x = 1
|
||||||
|
theme_override_constants/shadow_offset_y = 1
|
||||||
|
theme_override_font_sizes/font_size = 26
|
||||||
|
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||||
|
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||||
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||||
text = "登录时间"
|
text = "登录时间"
|
||||||
|
|
||||||
[node name="LikeNumSortBtn" type="Button" parent="FiterAndSortHBox"]
|
[node name="LikeNumSortBtn" type="Button" parent="FiterAndSortHBox"]
|
||||||
self_modulate = Color(1, 0.513726, 1, 1)
|
self_modulate = Color(0.9, 0.4, 0.7, 1)
|
||||||
custom_minimum_size = Vector2(158, 57)
|
custom_minimum_size = Vector2(158, 57)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme_override_font_sizes/font_size = 30
|
theme_override_colors/font_color = Color(0.9, 0.8, 0.4, 1)
|
||||||
|
theme_override_colors/font_shadow_color = Color(0.1, 0.1, 0.2, 0.8)
|
||||||
|
theme_override_constants/shadow_offset_x = 1
|
||||||
|
theme_override_constants/shadow_offset_y = 1
|
||||||
|
theme_override_font_sizes/font_size = 28
|
||||||
|
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||||
|
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||||
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||||
text = "点赞数"
|
text = "点赞数"
|
||||||
|
|
||||||
[node name="IsOnlineSortBtn" type="Button" parent="FiterAndSortHBox"]
|
[node name="IsOnlineSortBtn" type="Button" parent="FiterAndSortHBox"]
|
||||||
self_modulate = Color(0.691357, 0.691357, 0.691357, 1)
|
self_modulate = Color(0.6, 0.6, 0.6, 1)
|
||||||
custom_minimum_size = Vector2(158, 57)
|
custom_minimum_size = Vector2(158, 57)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme_override_font_sizes/font_size = 30
|
theme_override_colors/font_color = Color(0.9, 0.8, 0.4, 1)
|
||||||
|
theme_override_colors/font_shadow_color = Color(0.1, 0.1, 0.2, 0.8)
|
||||||
|
theme_override_constants/shadow_offset_x = 1
|
||||||
|
theme_override_constants/shadow_offset_y = 1
|
||||||
|
theme_override_font_sizes/font_size = 26
|
||||||
|
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||||
|
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||||
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||||
text = "在线情况"
|
text = "在线情况"
|
||||||
|
|
||||||
[node name="Scroll" type="ScrollContainer" parent="."]
|
[node name="Scroll" type="ScrollContainer" parent="."]
|
||||||
@@ -172,6 +315,7 @@ offset_top = 171.0
|
|||||||
offset_right = 1389.0
|
offset_right = 1389.0
|
||||||
offset_bottom = 707.0
|
offset_bottom = 707.0
|
||||||
size_flags_vertical = 3
|
size_flags_vertical = 3
|
||||||
|
theme_override_styles/panel = SubResource("StyleBoxFlat_ScrollBar")
|
||||||
|
|
||||||
[node name="PlayerList" type="VBoxContainer" parent="Scroll"]
|
[node name="PlayerList" type="VBoxContainer" parent="Scroll"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|||||||
Reference in New Issue
Block a user