Saving state is crazy easy in @godotengine.org! Just setup a custom resource and add ~2 lines of code. Custom Resources are certainly the way. I thought I was going to end up spending hours writing a custom save file parser.
Post
Check out ResourceSaver! Instead of using the "res://" prefix you can persist it to disk with "user://" gdscript.com/solutions/ho... docs.godotengine.org/en/stable/cl...
docs.godotengine.orgResourceSaverInherits: Object A singleton for saving Resource s to the filesystem. Description: A singleton for saving resource types to the filesystem. It uses the many ResourceFormatSaver classes registered i...
Unless you mean the ide custom files? In that case you can create a new resource in a folder and set the resource type as your custom one. I do it here (and am even loading all resources in a folder dynamically) github.com/simonsickle/...
github.comGitHub - simonsickle/heavy-metal-alchemist: Github Game Jam 2024 SubmissionGithub Game Jam 2024 Submission. Contribute to simonsickle/heavy-metal-alchemist development by creating an account on GitHub.
0 reposts1 like