2023-01-14 21:31:02 +00:00
|
|
|
[gd_scene load_steps=6 format=3]
|
2023-01-09 19:41:22 +00:00
|
|
|
|
2023-01-14 21:31:02 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://b7h36f4ai0qmq" path="res://menu/ScoreBox.tscn" id="1_a00v5"]
|
|
|
|
[ext_resource type="Theme" uid="uid://c5a1nyqumj46j" path="res://menu/menu_theme.tres" id="1_pm2j4"]
|
2023-01-09 19:41:22 +00:00
|
|
|
[ext_resource type="Script" path="res://menu/ScoreboardContainer.gd" id="1_rc765"]
|
|
|
|
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uie3v"]
|
|
|
|
bg_color = Color(0.184314, 0.341176, 0.32549, 1)
|
|
|
|
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_xmwgs"]
|
|
|
|
shadow_size = 0
|
|
|
|
shadow_color = Color(0, 0, 0, 0.431373)
|
|
|
|
|
|
|
|
[node name="ScoreboardContainer" type="Control"]
|
|
|
|
visible = false
|
2023-01-14 21:31:02 +00:00
|
|
|
z_as_relative = false
|
|
|
|
texture_filter = 1
|
2023-01-09 19:41:22 +00:00
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2023-01-14 21:31:02 +00:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
theme = ExtResource("1_pm2j4")
|
2023-01-09 19:41:22 +00:00
|
|
|
script = ExtResource("1_rc765")
|
|
|
|
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
2023-01-14 21:31:02 +00:00
|
|
|
layout_mode = 0
|
2023-01-09 19:41:22 +00:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
color = Color(0, 0, 0, 0.635294)
|
|
|
|
|
|
|
|
[node name="Panel" type="Panel" parent="."]
|
2023-01-14 21:31:02 +00:00
|
|
|
layout_mode = 0
|
2023-01-09 19:41:22 +00:00
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
offset_left = -97.0
|
|
|
|
offset_top = -67.0
|
|
|
|
offset_right = 97.0
|
|
|
|
offset_bottom = 67.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_uie3v")
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Panel"]
|
2023-01-14 21:31:02 +00:00
|
|
|
layout_mode = 0
|
2023-01-09 19:41:22 +00:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
[node name="Authors" type="Label" parent="Panel/VBoxContainer"]
|
2023-01-14 21:31:02 +00:00
|
|
|
layout_mode = 2
|
2023-01-09 19:41:22 +00:00
|
|
|
text = "Scores"
|
|
|
|
label_settings = SubResource("LabelSettings_xmwgs")
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="Panel/VBoxContainer"]
|
2023-01-14 21:31:02 +00:00
|
|
|
layout_mode = 2
|
2023-01-09 19:41:22 +00:00
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
|
|
[node name="ScoresVBox" type="VBoxContainer" parent="Panel/VBoxContainer/ScrollContainer"]
|
2023-01-14 21:31:02 +00:00
|
|
|
layout_mode = 2
|
2023-01-09 19:41:22 +00:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 0
|
|
|
|
|
|
|
|
[node name="score" parent="Panel/VBoxContainer/ScrollContainer/ScoresVBox" instance=ExtResource("1_a00v5")]
|
2023-01-14 21:31:02 +00:00
|
|
|
layout_mode = 2
|
2023-01-09 19:41:22 +00:00
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="Panel/VBoxContainer"]
|
2023-01-14 21:31:02 +00:00
|
|
|
layout_mode = 2
|
2023-01-09 19:41:22 +00:00
|
|
|
theme_override_constants/margin_bottom = 2
|
|
|
|
|
|
|
|
[node name="closebtn" type="Button" parent="Panel/VBoxContainer/MarginContainer"]
|
|
|
|
custom_minimum_size = Vector2(52, 2.08165e-12)
|
2023-01-14 21:31:02 +00:00
|
|
|
layout_mode = 2
|
2023-01-09 19:41:22 +00:00
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 4
|
|
|
|
theme_override_font_sizes/font_size = 0
|
|
|
|
text = "Close"
|
|
|
|
|
|
|
|
[connection signal="pressed" from="Panel/VBoxContainer/MarginContainer/closebtn" to="." method="hide_scores"]
|