[gd_scene load_steps=7 format=3 uid="uid://44wla7mlivqm"]

[ext_resource type="Script" path="res://UI/menu.gd" id="1_30mo7"]
[ext_resource type="FontFile" uid="uid://c1lnxul6k2adw" path="res://assest/font/vhs-gothic.ttf" id="2_6inip"]
[ext_resource type="Theme" uid="uid://bn1flbuijm27d" path="res://UI/menu_button.tres" id="3_feq31"]

[sub_resource type="LabelSettings" id="LabelSettings_q3w7i"]
line_spacing = 45.0
font = ExtResource("2_6inip")
font_size = 60

[sub_resource type="LabelSettings" id="LabelSettings_i5c8e"]
font_size = 30

[sub_resource type="LabelSettings" id="LabelSettings_6xvf3"]
font_size = 30

[node name="Menu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_30mo7")

[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="Panel" type="Panel" parent="MarginContainer"]
layout_mode = 2
size_flags_stretch_ratio = 1.37

[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/Panel"]
layout_mode = 2
offset_right = 1920.0
offset_bottom = 1080.0

[node name="Label" type="Label" parent="MarginContainer/Panel/VBoxContainer"]
layout_mode = 2
text = "
Chaussette sale, le jeu!

"
label_settings = SubResource("LabelSettings_q3w7i")
horizontal_alignment = 1
vertical_alignment = 1

[node name="HSeparator" type="HSeparator" parent="MarginContainer/Panel/VBoxContainer"]
layout_mode = 2

[node name="Start" type="Button" parent="MarginContainer/Panel/VBoxContainer"]
layout_mode = 2
theme = ExtResource("3_feq31")
text = "Démarrer une nouvelle partie"

[node name="LastSaveInfo" type="Label" parent="MarginContainer/Panel/VBoxContainer"]
layout_mode = 2
text = "Last save"
label_settings = SubResource("LabelSettings_i5c8e")
horizontal_alignment = 1

[node name="Load" type="Button" parent="MarginContainer/Panel/VBoxContainer"]
layout_mode = 2
theme = ExtResource("3_feq31")
text = "Charger"

[node name="Save" type="Button" parent="MarginContainer/Panel/VBoxContainer"]
layout_mode = 2
theme = ExtResource("3_feq31")
disabled = true
text = "Sauvegarder"

[node name="info" type="Label" parent="MarginContainer/Panel/VBoxContainer"]
layout_mode = 2
label_settings = SubResource("LabelSettings_6xvf3")
horizontal_alignment = 1
vertical_alignment = 3

[node name="Timer" type="Timer" parent="MarginContainer/Panel/VBoxContainer/info"]
wait_time = 5.0
one_shot = true

[connection signal="pressed" from="MarginContainer/Panel/VBoxContainer/Start" to="." method="_on_button_pressed"]
[connection signal="pressed" from="MarginContainer/Panel/VBoxContainer/Load" to="." method="_on_load_pressed"]
[connection signal="pressed" from="MarginContainer/Panel/VBoxContainer/Save" to="." method="_on_save_pressed"]
[connection signal="timeout" from="MarginContainer/Panel/VBoxContainer/info/Timer" to="." method="_on_timer_timeout"]
