summaryrefslogtreecommitdiff
path: root/scenes/leaderboard.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'scenes/leaderboard.tscn')
-rw-r--r--scenes/leaderboard.tscn345
1 files changed, 135 insertions, 210 deletions
diff --git a/scenes/leaderboard.tscn b/scenes/leaderboard.tscn
index e71a790..ee9e1a4 100644
--- a/scenes/leaderboard.tscn
+++ b/scenes/leaderboard.tscn
@@ -1,371 +1,296 @@
-[gd_scene load_steps=7 format=2]
+[gd_scene load_steps=7 format=3 uid="uid://kgod8xnsqa7w"]
-[ext_resource path="res://theme_data/interface_theme.tres" type="Theme" id=1]
-[ext_resource path="res://scripts/leaderboard.gd" type="Script" id=2]
-[ext_resource path="res://textures/retry.png" type="Texture" id=3]
-[ext_resource path="res://textures/quit_hover.png" type="Texture" id=4]
-[ext_resource path="res://textures/retry_hover.png" type="Texture" id=5]
-[ext_resource path="res://textures/quit.png" type="Texture" id=6]
+[ext_resource type="Theme" uid="uid://2jc1rrh032m0" path="res://theme_data/interface_theme.tres" id="1"]
+[ext_resource type="Script" path="res://scripts/leaderboard.gd" id="2"]
+[ext_resource type="Texture2D" uid="uid://byumgtet2e552" path="res://textures/retry.png" id="3"]
+[ext_resource type="Texture2D" uid="uid://c1fq67yw20je5" path="res://textures/quit_hover.png" id="4"]
+[ext_resource type="Texture2D" uid="uid://cyk45edx4rokj" path="res://textures/retry_hover.png" id="5"]
+[ext_resource type="Texture2D" uid="uid://cvwyjpoqfsdc4" path="res://textures/quit.png" id="6"]
[node name="Leaderboard" type="Control"]
+layout_mode = 3
+anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
-theme = ExtResource( 1 )
-script = ExtResource( 2 )
+grow_horizontal = 2
+grow_vertical = 2
+theme = ExtResource("1")
+script = ExtResource("2")
[node name="Panel" type="Panel" parent="."]
+layout_mode = 1
+anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
+grow_horizontal = 2
+grow_vertical = 2
[node name="GridContainer" type="GridContainer" parent="."]
+layout_mode = 1
+anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
-margin_left = 5.0
-margin_top = -54.0
-margin_right = 125.0
-margin_bottom = 162.0
-rect_scale = Vector2( 0.5, 0.5 )
+offset_left = 4.0
+offset_top = -112.0
+offset_right = 124.0
+offset_bottom = 114.0
+grow_vertical = 2
+scale = Vector2(0.5, 0.5)
+pivot_offset = Vector2(0, 112)
+size_flags_horizontal = 0
columns = 2
[node name="NamePanel1" type="PanelContainer" parent="GridContainer"]
-margin_right = 90.0
-margin_bottom = 18.0
-rect_min_size = Vector2( 90, 0 )
+custom_minimum_size = Vector2(90, 0)
+layout_mode = 2
[node name="Name" type="Label" parent="GridContainer/NamePanel1"]
-margin_left = 5.0
-margin_right = 85.0
-margin_bottom = 16.0
-custom_colors/font_color_shadow = Color( 0, 0, 0, 0 )
+layout_mode = 2
text = "Name"
+vertical_alignment = 1
[node name="ScorePanel1" type="PanelContainer" parent="GridContainer"]
-margin_left = 94.0
-margin_right = 120.0
-margin_bottom = 18.0
+layout_mode = 2
[node name="Score" type="Label" parent="GridContainer/ScorePanel1"]
-margin_left = 5.0
-margin_right = 21.0
-margin_bottom = 16.0
+layout_mode = 2
size_flags_horizontal = 6
-custom_colors/font_color_shadow = Color( 0, 0, 0, 0 )
text = "00"
+vertical_alignment = 1
[node name="NamePanel2" type="PanelContainer" parent="GridContainer"]
-margin_top = 22.0
-margin_right = 90.0
-margin_bottom = 40.0
-rect_min_size = Vector2( 90, 0 )
+custom_minimum_size = Vector2(90, 0)
+layout_mode = 2
[node name="Name" type="Label" parent="GridContainer/NamePanel2"]
-margin_left = 5.0
-margin_right = 85.0
-margin_bottom = 16.0
-custom_colors/font_color_shadow = Color( 0, 0, 0, 0 )
+layout_mode = 2
text = "Name"
+vertical_alignment = 1
[node name="ScorePanel2" type="PanelContainer" parent="GridContainer"]
-margin_left = 94.0
-margin_top = 22.0
-margin_right = 120.0
-margin_bottom = 40.0
+layout_mode = 2
[node name="Score" type="Label" parent="GridContainer/ScorePanel2"]
-margin_left = 5.0
-margin_right = 21.0
-margin_bottom = 16.0
+layout_mode = 2
size_flags_horizontal = 6
-custom_colors/font_color_shadow = Color( 0, 0, 0, 0 )
text = "00"
+vertical_alignment = 1
[node name="NamePanel3" type="PanelContainer" parent="GridContainer"]
-margin_top = 44.0
-margin_right = 90.0
-margin_bottom = 62.0
-rect_min_size = Vector2( 90, 0 )
+custom_minimum_size = Vector2(90, 0)
+layout_mode = 2
[node name="Name" type="Label" parent="GridContainer/NamePanel3"]
-margin_left = 5.0
-margin_right = 85.0
-margin_bottom = 16.0
-custom_colors/font_color_shadow = Color( 0, 0, 0, 0 )
+layout_mode = 2
text = "Name"
+vertical_alignment = 1
[node name="ScorePanel3" type="PanelContainer" parent="GridContainer"]
-margin_left = 94.0
-margin_top = 44.0
-margin_right = 120.0
-margin_bottom = 62.0
+layout_mode = 2
[node name="Score" type="Label" parent="GridContainer/ScorePanel3"]
-margin_left = 5.0
-margin_right = 21.0
-margin_bottom = 16.0
+layout_mode = 2
size_flags_horizontal = 6
-custom_colors/font_color_shadow = Color( 0, 0, 0, 0 )
text = "00"
+vertical_alignment = 1
[node name="NamePanel4" type="PanelContainer" parent="GridContainer"]
-margin_top = 66.0
-margin_right = 90.0
-margin_bottom = 84.0
-rect_min_size = Vector2( 90, 0 )
+custom_minimum_size = Vector2(90, 0)
+layout_mode = 2
[node name="Name" type="Label" parent="GridContainer/NamePanel4"]
-margin_left = 5.0
-margin_right = 85.0
-margin_bottom = 16.0
-custom_colors/font_color_shadow = Color( 0, 0, 0, 0 )
+layout_mode = 2
text = "Name"
+vertical_alignment = 1
[node name="ScorePanel4" type="PanelContainer" parent="GridContainer"]
-margin_left = 94.0
-margin_top = 66.0
-margin_right = 120.0
-margin_bottom = 84.0
+layout_mode = 2
[node name="Score" type="Label" parent="GridContainer/ScorePanel4"]
-margin_left = 5.0
-margin_right = 21.0
-margin_bottom = 16.0
+layout_mode = 2
size_flags_horizontal = 6
-custom_colors/font_color_shadow = Color( 0, 0, 0, 0 )
text = "00"
+vertical_alignment = 1
[node name="NamePanel5" type="PanelContainer" parent="GridContainer"]
-margin_top = 88.0
-margin_right = 90.0
-margin_bottom = 106.0
-rect_min_size = Vector2( 90, 0 )
+custom_minimum_size = Vector2(90, 0)
+layout_mode = 2
[node name="Name" type="Label" parent="GridContainer/NamePanel5"]
-margin_left = 5.0
-margin_right = 85.0
-margin_bottom = 16.0
-custom_colors/font_color_shadow = Color( 0, 0, 0, 0 )
+layout_mode = 2
text = "Name"
+vertical_alignment = 1
[node name="ScorePanel5" type="PanelContainer" parent="GridContainer"]
-margin_left = 94.0
-margin_top = 88.0
-margin_right = 120.0
-margin_bottom = 106.0
+layout_mode = 2
[node name="Score" type="Label" parent="GridContainer/ScorePanel5"]
-margin_left = 5.0
-margin_right = 21.0
-margin_bottom = 16.0
+layout_mode = 2
size_flags_horizontal = 6
-custom_colors/font_color_shadow = Color( 0, 0, 0, 0 )
text = "00"
+vertical_alignment = 1
[node name="NamePanel6" type="PanelContainer" parent="GridContainer"]
-margin_top = 110.0
-margin_right = 90.0
-margin_bottom = 128.0
-rect_min_size = Vector2( 90, 0 )
+custom_minimum_size = Vector2(90, 0)
+layout_mode = 2
[node name="Name" type="Label" parent="GridContainer/NamePanel6"]
-margin_left = 5.0
-margin_right = 85.0
-margin_bottom = 16.0
-custom_colors/font_color_shadow = Color( 0, 0, 0, 0 )
+layout_mode = 2
text = "Name"
+vertical_alignment = 1
[node name="ScorePanel6" type="PanelContainer" parent="GridContainer"]
-margin_left = 94.0
-margin_top = 110.0
-margin_right = 120.0
-margin_bottom = 128.0
+layout_mode = 2
[node name="Score" type="Label" parent="GridContainer/ScorePanel6"]
-margin_left = 5.0
-margin_right = 21.0
-margin_bottom = 16.0
+layout_mode = 2
size_flags_horizontal = 6
-custom_colors/font_color_shadow = Color( 0, 0, 0, 0 )
text = "00"
+vertical_alignment = 1
[node name="NamePanel7" type="PanelContainer" parent="GridContainer"]
-margin_top = 132.0
-margin_right = 90.0
-margin_bottom = 150.0
-rect_min_size = Vector2( 90, 0 )
+custom_minimum_size = Vector2(90, 0)
+layout_mode = 2
[node name="Name" type="Label" parent="GridContainer/NamePanel7"]
-margin_left = 5.0
-margin_right = 85.0
-margin_bottom = 16.0
-custom_colors/font_color_shadow = Color( 0, 0, 0, 0 )
+layout_mode = 2
text = "Name"
+vertical_alignment = 1
[node name="ScorePanel7" type="PanelContainer" parent="GridContainer"]
-margin_left = 94.0
-margin_top = 132.0
-margin_right = 120.0
-margin_bottom = 150.0
+layout_mode = 2
[node name="Score" type="Label" parent="GridContainer/ScorePanel7"]
-margin_left = 5.0
-margin_right = 21.0
-margin_bottom = 16.0
+layout_mode = 2
size_flags_horizontal = 6
-custom_colors/font_color_shadow = Color( 0, 0, 0, 0 )
text = "00"
+vertical_alignment = 1
[node name="NamePanel8" type="PanelContainer" parent="GridContainer"]
-margin_top = 154.0
-margin_right = 90.0
-margin_bottom = 172.0
-rect_min_size = Vector2( 90, 0 )
+custom_minimum_size = Vector2(90, 0)
+layout_mode = 2
[node name="Name" type="Label" parent="GridContainer/NamePanel8"]
-margin_left = 5.0
-margin_right = 85.0
-margin_bottom = 16.0
-custom_colors/font_color_shadow = Color( 0, 0, 0, 0 )
+layout_mode = 2
text = "Name"
+vertical_alignment = 1
[node name="ScorePanel8" type="PanelContainer" parent="GridContainer"]
-margin_left = 94.0
-margin_top = 154.0
-margin_right = 120.0
-margin_bottom = 172.0
+layout_mode = 2
[node name="Score" type="Label" parent="GridContainer/ScorePanel8"]
-margin_left = 5.0
-margin_right = 21.0
-margin_bottom = 16.0
+layout_mode = 2
size_flags_horizontal = 6
-custom_colors/font_color_shadow = Color( 0, 0, 0, 0 )
text = "00"
+vertical_alignment = 1
[node name="NamePanel9" type="PanelContainer" parent="GridContainer"]
-margin_top = 176.0
-margin_right = 90.0
-margin_bottom = 194.0
-rect_min_size = Vector2( 90, 0 )
+custom_minimum_size = Vector2(90, 0)
+layout_mode = 2
[node name="Name" type="Label" parent="GridContainer/NamePanel9"]
-margin_left = 5.0
-margin_right = 85.0
-margin_bottom = 16.0
-custom_colors/font_color_shadow = Color( 0, 0, 0, 0 )
+layout_mode = 2
text = "Name"
+vertical_alignment = 1
[node name="ScorePanel9" type="PanelContainer" parent="GridContainer"]
-margin_left = 94.0
-margin_top = 176.0
-margin_right = 120.0
-margin_bottom = 194.0
+layout_mode = 2
[node name="Score" type="Label" parent="GridContainer/ScorePanel9"]
-margin_left = 5.0
-margin_right = 21.0
-margin_bottom = 16.0
+layout_mode = 2
size_flags_horizontal = 6
-custom_colors/font_color_shadow = Color( 0, 0, 0, 0 )
text = "00"
+vertical_alignment = 1
[node name="NamePanel10" type="PanelContainer" parent="GridContainer"]
-margin_top = 198.0
-margin_right = 90.0
-margin_bottom = 216.0
-rect_min_size = Vector2( 90, 0 )
+custom_minimum_size = Vector2(90, 0)
+layout_mode = 2
[node name="Name" type="Label" parent="GridContainer/NamePanel10"]
-margin_left = 5.0
-margin_right = 85.0
-margin_bottom = 16.0
-custom_colors/font_color_shadow = Color( 0, 0, 0, 0 )
+layout_mode = 2
text = "Name"
+vertical_alignment = 1
[node name="ScorePanel10" type="PanelContainer" parent="GridContainer"]
-margin_left = 94.0
-margin_top = 198.0
-margin_right = 120.0
-margin_bottom = 216.0
+layout_mode = 2
[node name="Score" type="Label" parent="GridContainer/ScorePanel10"]
-margin_left = 5.0
-margin_right = 21.0
-margin_bottom = 16.0
+layout_mode = 2
size_flags_horizontal = 6
-custom_colors/font_color_shadow = Color( 0, 0, 0, 0 )
text = "00"
+vertical_alignment = 1
[node name="Control" type="Control" parent="."]
+anchors_preset = 0
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
-margin_left = -107.0
-margin_top = -60.0
-margin_right = 107.0
-margin_bottom = 60.0
+offset_left = -107.0
+offset_top = -60.0
+offset_right = 107.0
+offset_bottom = 60.0
[node name="Label" type="Label" parent="Control"]
+layout_mode = 0
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
-margin_left = -13.0
-margin_top = -54.0
-margin_right = 75.0
-margin_bottom = -19.0
+offset_left = -13.0
+offset_top = -54.0
+offset_right = 75.0
+offset_bottom = -19.0
text = "Your Score:
00"
-align = 1
+horizontal_alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="Control"]
+layout_mode = 0
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
-margin_left = -40.0
-margin_top = 40.0
-margin_right = -4.0
-margin_bottom = 56.0
+offset_left = -40.0
+offset_top = 40.0
+offset_right = -4.0
+offset_bottom = 56.0
[node name="RestartButton" type="TextureButton" parent="Control/HBoxContainer"]
-margin_right = 16.0
-margin_bottom = 16.0
-focus_mode = 0
+layout_mode = 2
size_flags_horizontal = 10
-enabled_focus_mode = 0
-texture_normal = ExtResource( 3 )
-texture_hover = ExtResource( 5 )
+focus_mode = 0
+texture_normal = ExtResource("3")
+texture_hover = ExtResource("5")
[node name="QuitButton" type="TextureButton" parent="Control/HBoxContainer"]
-margin_left = 20.0
-margin_right = 36.0
-margin_bottom = 16.0
-focus_mode = 0
+layout_mode = 2
size_flags_horizontal = 10
-enabled_focus_mode = 0
-texture_normal = ExtResource( 6 )
-texture_hover = ExtResource( 4 )
+focus_mode = 0
+texture_normal = ExtResource("6")
+texture_hover = ExtResource("4")
[node name="LineEdit" type="LineEdit" parent="Control"]
-margin_left = 100.0
-margin_top = 101.0
-margin_right = 185.0
-margin_bottom = 119.0
-rect_scale = Vector2( 0.8, 0.8 )
-align = 1
+layout_mode = 0
+offset_left = 100.0
+offset_top = 101.0
+offset_right = 185.0
+offset_bottom = 119.0
+scale = Vector2(0.8, 0.8)
+placeholder_text = "ENTER NAME"
+alignment = 1
max_length = 10
context_menu_enabled = false
shortcut_keys_enabled = false
middle_mouse_paste_enabled = false
-placeholder_text = "ENTER NAME"
[node name="Button" type="Button" parent="Control"]
-margin_left = 170.0
-margin_top = 101.0
-margin_right = 220.0
-margin_bottom = 119.0
-rect_scale = Vector2( 0.8, 0.8 )
+layout_mode = 0
+offset_left = 170.0
+offset_top = 101.0
+offset_right = 220.0
+offset_bottom = 119.0
+scale = Vector2(0.8, 0.8)
text = "Submit"
[connection signal="pressed" from="Control/HBoxContainer/RestartButton" to="." method="_on_RestartButton_pressed"]