unity of scores (closes #196)

This commit is contained in:
Haze Weathers 2023-10-14 09:52:45 -04:00
parent eda2db4a3a
commit 481edb15b7
3 changed files with 53 additions and 35 deletions

View file

@ -66,7 +66,6 @@ margin_left = 72.0
margin_top = 4.0
margin_right = 78.0
margin_bottom = 12.0
focus_mode = 2
size_flags_vertical = 4
texture = ExtResource( 6 )
flip_h = true
@ -77,9 +76,7 @@ margin_left = 82.0
margin_top = 3.0
margin_right = 173.0
margin_bottom = 13.0
focus_neighbour_left = NodePath(".")
focus_neighbour_right = NodePath(".")
focus_neighbour_bottom = NodePath("../../SelectScoreType/Completion")
focus_neighbour_bottom = NodePath("../../SelectScoreType/Type")
size_flags_vertical = 4
theme = ExtResource( 5 )
custom_colors/font_color_focus = Color( 1, 0.968627, 0.709804, 1 )
@ -94,7 +91,6 @@ margin_left = 177.0
margin_top = 4.0
margin_right = 183.0
margin_bottom = 12.0
focus_mode = 2
size_flags_vertical = 4
texture = ExtResource( 6 )
@ -112,6 +108,7 @@ margin_top = 3.0
margin_right = 100.0
margin_bottom = 13.0
rect_min_size = Vector2( 48, 0 )
focus_neighbour_right = NodePath("../Type")
size_flags_vertical = 4
theme = ExtResource( 5 )
custom_colors/font_color_focus = Color( 1, 0.968627, 0.709804, 1 )
@ -119,28 +116,15 @@ custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_fonts/font = ExtResource( 8 )
text = "Spicy"
[node name="Completion" type="Button" parent="BoardsScreen/SelectScoreType"]
[node name="Type" type="Button" parent="BoardsScreen/SelectScoreType"]
unique_name_in_owner = true
margin_left = 104.0
margin_top = 3.0
margin_right = 152.0
margin_bottom = 13.0
rect_min_size = Vector2( 48, 0 )
size_flags_vertical = 4
theme = ExtResource( 5 )
custom_colors/font_color_focus = Color( 1, 0.968627, 0.709804, 1 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_fonts/font = ExtResource( 8 )
text = "Any%"
icon_align = 1
[node name="Type" type="Button" parent="BoardsScreen/SelectScoreType"]
unique_name_in_owner = true
margin_left = 156.0
margin_top = 3.0
margin_right = 204.0
margin_bottom = 13.0
rect_min_size = Vector2( 48, 0 )
focus_neighbour_left = NodePath("../Difficulty")
focus_neighbour_right = NodePath("../SpaceReserve/Completion")
size_flags_vertical = 4
theme = ExtResource( 5 )
custom_colors/font_color_focus = Color( 1, 0.968627, 0.709804, 1 )
@ -148,6 +132,34 @@ custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_fonts/font = ExtResource( 8 )
text = "Scores"
[node name="SpaceReserve" type="Control" parent="BoardsScreen/SelectScoreType"]
margin_left = 156.0
margin_top = 8.0
margin_right = 204.0
margin_bottom = 8.0
rect_min_size = Vector2( 48, 0 )
size_flags_vertical = 4
[node name="Completion" type="Button" parent="BoardsScreen/SelectScoreType/SpaceReserve"]
unique_name_in_owner = true
visible = false
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -24.0
margin_top = -5.0
margin_right = 24.0
margin_bottom = 5.0
rect_min_size = Vector2( 48, 0 )
focus_neighbour_left = NodePath("../../Type")
theme = ExtResource( 5 )
custom_colors/font_color_focus = Color( 1, 0.968627, 0.709804, 1 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_fonts/font = ExtResource( 8 )
text = "Any%"
icon_align = 1
[node name="Scoreboard" type="MarginContainer" parent="BoardsScreen"]
margin_top = 32.0
margin_right = 256.0
@ -288,5 +300,5 @@ text = "Failed to load"
[connection signal="focus_exited" from="BoardsScreen/SelectLevel/LevelTitle" to="." method="_on_LevelTitle_focus_exited"]
[connection signal="gui_input" from="BoardsScreen/SelectLevel/LevelTitle" to="." method="_on_LevelTitle_gui_input"]
[connection signal="pressed" from="BoardsScreen/SelectScoreType/Difficulty" to="." method="_on_Difficulty_pressed"]
[connection signal="pressed" from="BoardsScreen/SelectScoreType/Completion" to="." method="_on_Completion_pressed"]
[connection signal="pressed" from="BoardsScreen/SelectScoreType/Type" to="." method="_on_Type_pressed"]
[connection signal="pressed" from="BoardsScreen/SelectScoreType/SpaceReserve/Completion" to="." method="_on_Completion_pressed"]