Information de date de dernière sauvegarde
This commit is contained in:
21
UI/menu.tscn
21
UI/menu.tscn
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://44wla7mlivqm"]
|
||||
[gd_scene load_steps=6 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"]
|
||||
@@ -9,6 +9,9 @@ line_spacing = 45.0
|
||||
font = ExtResource("2_6inip")
|
||||
font_size = 60
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_i5c8e"]
|
||||
font_size = 30
|
||||
|
||||
[node name="Menu" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
@@ -53,17 +56,23 @@ layout_mode = 2
|
||||
theme = ExtResource("3_feq31")
|
||||
text = "Démarrer une nouvelle partie"
|
||||
|
||||
[node name="Save" type="Button" parent="MarginContainer/Panel/VBoxContainer"]
|
||||
[node name="LastSaveInfo" type="Label" parent="MarginContainer/Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("3_feq31")
|
||||
disabled = true
|
||||
text = "Sauvegarder"
|
||||
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"
|
||||
|
||||
[connection signal="pressed" from="MarginContainer/Panel/VBoxContainer/Start" to="." method="_on_button_pressed"]
|
||||
[connection signal="pressed" from="MarginContainer/Panel/VBoxContainer/Save" to="." method="_on_save_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"]
|
||||
|
||||
Reference in New Issue
Block a user