So I am working on creating a level builder for my game. Thanks to Rob, I am using the saveload module here: https://github.com/robmiracle/Simple-Table-Load-Save-Functions-for-Corona-SDK/blob/master/README.md However I’ve come into the problem that if I try to save too many levels my performance takes a hit and it takes a little while to load the entire JSON file. I was wondering how people manage multiple JSON files. Should I use multiple smaller JSON files and load each when they’re needed, is there way to load just parts of a JSON file and not the whole thing at one time? I’m just struggling to find a direction and almost ready to just limit the amount of levels a user can save.
have a JSON file per level and load only what is needed. i.e. level1,json, level2.json, etc.
I would suggest multiple smaller files that would load quickly
Thank you, I think I’ve largely solved this problem, I will be using multiple smaller files that will load on demand.
have a JSON file per level and load only what is needed. i.e. level1,json, level2.json, etc.
I would suggest multiple smaller files that would load quickly
Thank you, I think I’ve largely solved this problem, I will be using multiple smaller files that will load on demand.