Skip to content

Saving and Loading

Slashscreen edited this page Jul 4, 2023 · 1 revision

Saving

TODO: Write in more detail essentially, when the game is "saved", all nodes in the groups "savegame_entity", "savegame_gameinfo", and "savegame_other" will have the function save() -> Dictionary called on it, and it expects a dictionary of arbitrary data in return.

Loading

TODO: Write in more detail All entities present in the save file will have load_data(data:Dictionary) -> void called on it, passing in the previously saved data. The Gameinfo and Other areas are unused at the moment, but they will be given their info later. see issue

Clone this wiki locally