Et on peut sauvegarder et charger la partie.
Et oui mon kiki
This commit is contained in:
Thomas
2025-03-29 22:28:24 +01:00
parent 95c45dcdb8
commit 8edd4bdf45
10 changed files with 98 additions and 17 deletions

View File

@@ -48,15 +48,22 @@ vertical_alignment = 1
[node name="HSeparator" type="HSeparator" parent="MarginContainer/Panel/VBoxContainer"]
layout_mode = 2
[node name="Button" type="Button" parent="MarginContainer/Panel/VBoxContainer"]
[node name="Start" type="Button" parent="MarginContainer/Panel/VBoxContainer"]
layout_mode = 2
theme = ExtResource("3_feq31")
text = "start"
text = "Démarrer une nouvelle partie"
[node name="Save" type="Button" parent="MarginContainer/Panel/VBoxContainer"]
layout_mode = 2
theme = ExtResource("3_feq31")
text = "save"
disabled = true
text = "Sauvegarder"
[connection signal="pressed" from="MarginContainer/Panel/VBoxContainer/Button" to="." method="_on_button_pressed"]
[node name="Load" type="Button" parent="MarginContainer/Panel/VBoxContainer"]
layout_mode = 2
theme = ExtResource("3_feq31")
text = "Charger"
[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"]