How to make level editor saves levels you make in a file that can be shared with users?

How do I…

how to make level editor saves levels you make in a file that can be shared with users?

1 Like

i think i have an idea.
use the file system.
Screenshot 2024-11-19 104347
this is the action group, according to MY knowledge (if i am wrong, PLEASE correct me on this. i really would love to learn from the mistakes i make), unlike storage, you can choose exactly where to save the file, you can easily access the file you save it to, and you can save ANY type of data.
image
Screenshot 2024-11-19 104756
Screenshot 2024-11-19 104815
we are focusing on these actions.
you can use the asynchronous versions, if you need.
first, the directory. create a directory wherever in the project files you want.
then, save the STRUCTURE variable you have into that directory. (if you do not have the variable, (7) Save All Of Your Objects With 1 Event - GDevelop - YouTube is the tutorial i used by gdevelop to get a variable that stores all objects info inside it) now with that data (hopefully) saved, preview the project, and open up the project folder! if it worked, let me know! if it didn’t, let me know.

forgot to mention! if it works, you could make a button that downloads the file using this extension.


hope this all works out!