Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | ralime | |
Old Version | Published before Godot 3 was released. |
It’s possible to save states in Godot in a way similar to emulators? How?
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | ralime | |
Old Version | Published before Godot 3 was released. |
It’s possible to save states in Godot in a way similar to emulators? How?
Reply From: | Zylann |
You can, but it’s going to be tedious because Godot (and most game engines nowadays) aren’t built in a way that make it easy to dump RAM like that, they run on a computer, so you would have to ask the OS to do it and… well it’s not easy.
But you can have a look at how savegames can be made already, there have been some questions about it on this website already, as well as a doc: Saving games — Godot Engine (stable) documentation in English
It can be as simple as saving some variables to a JSON files, up to being the entire scene tree (which is what .tscn files are, to some extent).