Saving a whole world in a file/files

I’m making a survival game with a 75x75 grid of blocks and I want to save the entire map as quickly as possible into a file or multiple files (preferably in the storage system and not the file system) so that the player can save and load the world even after closing and re-opening the app. The world has a random seed and is editable.

1 Like


I’m moving this to the “How do I” section, as saving and loading is already a base function of the engine. How you use those functions are directly up to you.

I would recommend you build out a structure variable of some kind that stores your block placements, then save and load using the method in the advanced save/load tutorial on the official Youtube channel.