Simple save/load system

Godot Version

Godot 4


How do I make a save system that only saves what scene is currently loaded? For example, clicking ‘load’ on the title screen brings me to whatever the last scene saved was

Depending on how complex your scene is, you have to consider if you want to use PackedScene to serialize the entire current scene or just a custom data file to restore later as you need. If you need guide about serialization, take a look at: