-
Notifications
You must be signed in to change notification settings - Fork 3
Savegames
hepfnepf edited this page Jan 9, 2022
·
2 revisions
The storing of data is implemented via the autoloaded savegame script using stroe_var() and get_var(). It can be be called everywhere in the file structure and stores a dict in the path "user://savegame.save" which translates to "AppData\Roaming\Godot\app_userdata\TopDownExperiment\savegame.save" on windows. After each death the savegame is loaded an gets compared to the currens score and time survived. If a new highscore or best time was created it saves these again in the file.