diff options
Diffstat (limited to 'scenes/leaderboard.tscn')
-rw-r--r-- | scenes/leaderboard.tscn | 374 |
1 files changed, 374 insertions, 0 deletions
diff --git a/scenes/leaderboard.tscn b/scenes/leaderboard.tscn new file mode 100644 index 0000000..e71a790 --- /dev/null +++ b/scenes/leaderboard.tscn @@ -0,0 +1,374 @@ +[gd_scene load_steps=7 format=2] + +[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] + +[node name="Leaderboard" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 +theme = ExtResource( 1 ) +script = ExtResource( 2 ) + +[node name="Panel" type="Panel" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 + +[node name="GridContainer" type="GridContainer" parent="."] +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 ) +columns = 2 + +[node name="NamePanel1" type="PanelContainer" parent="GridContainer"] +margin_right = 90.0 +margin_bottom = 18.0 +rect_min_size = Vector2( 90, 0 ) + +[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 ) +text = "Name" + +[node name="ScorePanel1" type="PanelContainer" parent="GridContainer"] +margin_left = 94.0 +margin_right = 120.0 +margin_bottom = 18.0 + +[node name="Score" type="Label" parent="GridContainer/ScorePanel1"] +margin_left = 5.0 +margin_right = 21.0 +margin_bottom = 16.0 +size_flags_horizontal = 6 +custom_colors/font_color_shadow = Color( 0, 0, 0, 0 ) +text = "00" + +[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 ) + +[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 ) +text = "Name" + +[node name="ScorePanel2" type="PanelContainer" parent="GridContainer"] +margin_left = 94.0 +margin_top = 22.0 +margin_right = 120.0 +margin_bottom = 40.0 + +[node name="Score" type="Label" parent="GridContainer/ScorePanel2"] +margin_left = 5.0 +margin_right = 21.0 +margin_bottom = 16.0 +size_flags_horizontal = 6 +custom_colors/font_color_shadow = Color( 0, 0, 0, 0 ) +text = "00" + +[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 ) + +[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 ) +text = "Name" + +[node name="ScorePanel3" type="PanelContainer" parent="GridContainer"] +margin_left = 94.0 +margin_top = 44.0 +margin_right = 120.0 +margin_bottom = 62.0 + +[node name="Score" type="Label" parent="GridContainer/ScorePanel3"] +margin_left = 5.0 +margin_right = 21.0 +margin_bottom = 16.0 +size_flags_horizontal = 6 +custom_colors/font_color_shadow = Color( 0, 0, 0, 0 ) +text = "00" + +[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 ) + +[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 ) +text = "Name" + +[node name="ScorePanel4" type="PanelContainer" parent="GridContainer"] +margin_left = 94.0 +margin_top = 66.0 +margin_right = 120.0 +margin_bottom = 84.0 + +[node name="Score" type="Label" parent="GridContainer/ScorePanel4"] +margin_left = 5.0 +margin_right = 21.0 +margin_bottom = 16.0 +size_flags_horizontal = 6 +custom_colors/font_color_shadow = Color( 0, 0, 0, 0 ) +text = "00" + +[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 ) + +[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 ) +text = "Name" + +[node name="ScorePanel5" type="PanelContainer" parent="GridContainer"] +margin_left = 94.0 +margin_top = 88.0 +margin_right = 120.0 +margin_bottom = 106.0 + +[node name="Score" type="Label" parent="GridContainer/ScorePanel5"] +margin_left = 5.0 +margin_right = 21.0 +margin_bottom = 16.0 +size_flags_horizontal = 6 +custom_colors/font_color_shadow = Color( 0, 0, 0, 0 ) +text = "00" + +[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 ) + +[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 ) +text = "Name" + +[node name="ScorePanel6" type="PanelContainer" parent="GridContainer"] +margin_left = 94.0 +margin_top = 110.0 +margin_right = 120.0 +margin_bottom = 128.0 + +[node name="Score" type="Label" parent="GridContainer/ScorePanel6"] +margin_left = 5.0 +margin_right = 21.0 +margin_bottom = 16.0 +size_flags_horizontal = 6 +custom_colors/font_color_shadow = Color( 0, 0, 0, 0 ) +text = "00" + +[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 ) + +[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 ) +text = "Name" + +[node name="ScorePanel7" type="PanelContainer" parent="GridContainer"] +margin_left = 94.0 +margin_top = 132.0 +margin_right = 120.0 +margin_bottom = 150.0 + +[node name="Score" type="Label" parent="GridContainer/ScorePanel7"] +margin_left = 5.0 +margin_right = 21.0 +margin_bottom = 16.0 +size_flags_horizontal = 6 +custom_colors/font_color_shadow = Color( 0, 0, 0, 0 ) +text = "00" + +[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 ) + +[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 ) +text = "Name" + +[node name="ScorePanel8" type="PanelContainer" parent="GridContainer"] +margin_left = 94.0 +margin_top = 154.0 +margin_right = 120.0 +margin_bottom = 172.0 + +[node name="Score" type="Label" parent="GridContainer/ScorePanel8"] +margin_left = 5.0 +margin_right = 21.0 +margin_bottom = 16.0 +size_flags_horizontal = 6 +custom_colors/font_color_shadow = Color( 0, 0, 0, 0 ) +text = "00" + +[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 ) + +[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 ) +text = "Name" + +[node name="ScorePanel9" type="PanelContainer" parent="GridContainer"] +margin_left = 94.0 +margin_top = 176.0 +margin_right = 120.0 +margin_bottom = 194.0 + +[node name="Score" type="Label" parent="GridContainer/ScorePanel9"] +margin_left = 5.0 +margin_right = 21.0 +margin_bottom = 16.0 +size_flags_horizontal = 6 +custom_colors/font_color_shadow = Color( 0, 0, 0, 0 ) +text = "00" + +[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 ) + +[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 ) +text = "Name" + +[node name="ScorePanel10" type="PanelContainer" parent="GridContainer"] +margin_left = 94.0 +margin_top = 198.0 +margin_right = 120.0 +margin_bottom = 216.0 + +[node name="Score" type="Label" parent="GridContainer/ScorePanel10"] +margin_left = 5.0 +margin_right = 21.0 +margin_bottom = 16.0 +size_flags_horizontal = 6 +custom_colors/font_color_shadow = Color( 0, 0, 0, 0 ) +text = "00" + +[node name="Control" type="Control" parent="."] +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 + +[node name="Label" type="Label" parent="Control"] +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 +text = "Your Score: +00" +align = 1 + +[node name="HBoxContainer" type="HBoxContainer" parent="Control"] +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 + +[node name="RestartButton" type="TextureButton" parent="Control/HBoxContainer"] +margin_right = 16.0 +margin_bottom = 16.0 +focus_mode = 0 +size_flags_horizontal = 10 +enabled_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 +size_flags_horizontal = 10 +enabled_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 +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 ) +text = "Submit" + +[connection signal="pressed" from="Control/HBoxContainer/RestartButton" to="." method="_on_RestartButton_pressed"] +[connection signal="pressed" from="Control/HBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"] +[connection signal="text_entered" from="Control/LineEdit" to="." method="_on_LineEdit_text_entered"] +[connection signal="pressed" from="Control/Button" to="." method="_on_Button_pressed"] |