Can't find the command to save structures

Hey everyone!

I’m trying to find a way to save my structures but i can’t find the command and all ressources i found online seems outdated or incomplete.

Sorry for my poor english it is not my main language.

This is a pretty thorough explanation of saving/loading.

https://forum.gdevelop.io/t/save-load-problem/52074/23?u=keith_1357

https://forum.gdevelop.io/t/save-load-your-game-quick-in-depth-tutorial-works-on-all-devices-including-browsers/62958?u=keith_1357

To save a structure, you need to convert the variable to a Json string and save the string. You then load the string and covert it back to a variable.

1 Like

Oh ok, thanks for the links, i wonder why they didn’t make an easier command for structure but i’ll do that thank you very much.

1 Like