Save/Load rework

This commit is contained in:
2026-03-01 14:10:51 +01:00
parent d4a533bf17
commit b24addcee6
42 changed files with 1315 additions and 154 deletions
+8 -7
View File
@@ -8,12 +8,7 @@ extends Control
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
#Hiding everything
hide()
for node in [background, back_to_menu, reload_checkpoint, message]:
node.hide()
reset()
#Reveals the game over screen
@@ -30,4 +25,10 @@ func reveal():
node.modulate.a = 0.0
node.show()
animation_player.play("fade_in")
#Resets to initial state
func reset():
for node in [background, back_to_menu, reload_checkpoint, message]:
node.hide()
hide()