How to load and save things with Godot: a complete tutorial about serialization

Great tutorial, but one thing has me quite confused: what do you mean by “PlayerNode”, because when i try to implement your code to my project the only thing i get is a error message claiming that base object aka my PlayerNode is “Nil”. If you could help me on this it would be greatly appreciated

This is just a standard how to save generic data in Godot (although to the author’s credit, it’s a really fleshed out version).

Unfortunately, for a real game, we have TileMapLayers and instances such as enemies and NPCs that we want to save and then load. There’s nothing here about how to save, copy and load these real Godot data.

1 Like