Game saving and loading

This commit is contained in:
Marco 2025-04-04 10:40:02 +02:00
commit 73b0847948
9 changed files with 83 additions and 26 deletions

View file

@ -20,9 +20,9 @@
[ext_resource type="Resource" uid="uid://byo74ews118nl" path="res://Resources/Music/No_Reason.tres" id="13_fh7cp"]
[ext_resource type="FontFile" uid="uid://cyk27h5aox1n7" path="res://fonts/sector_034.ttf" id="14_yxkem"]
[sub_resource type="AtlasTexture" id="AtlasTexture_hy5wk"]
[sub_resource type="AtlasTexture" id="AtlasTexture_ogjye"]
atlas = ExtResource("9_riqfo")
region = Rect2(288, 0, 32, 16)
region = Rect2(64, 0, 32, 16)
[sub_resource type="Theme" id="Theme_c7h4d"]
@ -67,7 +67,7 @@ offset_top = 40.995
offset_right = 186.42
offset_bottom = 56.995
rotation = 3.14159
texture = SubResource("AtlasTexture_hy5wk")
texture = SubResource("AtlasTexture_ogjye")
[node name="MarginContainer" type="MarginContainer" parent="."]
anchors_preset = 15
@ -216,7 +216,7 @@ grow_vertical = 2
theme_override_styles/panel = ExtResource("7_rrcx7")
[connection signal="pressed" from="MarginContainer/GridContainer/GameButtons/StartButton" to="." method="_on_start_button_pressed"]
[connection signal="pressed" from="MarginContainer/GridContainer/GameButtons/ContinueButton" to="." method="_on_debug_button_pressed"]
[connection signal="pressed" from="MarginContainer/GridContainer/GameButtons/ContinueButton" to="." method="OnContinuePressed"]
[connection signal="pressed" from="MarginContainer/GridContainer/GameButtons/DebugButton" to="." method="_on_debug_button_pressed"]
[connection signal="pressed" from="MarginContainer/GridContainer/GameButtons/ExitButton" to="." method="_on_exit_button_pressed"]
[connection signal="pressed" from="MarginContainer/GridContainer/Options/OptionsButton" to="." method="OnOptionsButtonPressed"]