I am generating [edit: MANUALLY] levels of my game and store them as json files. After I prepared them all, my goal is to load all information of these levels to an array and use them in game. I have tried this method for first level and it worked. But I can't find the right way to do this for multiple levels. For example I have several json files now but I don't know how to load them all to my array. How can I do that?
If this explanation is not clear enough please let me know.
here is the capx
and here is what my levels will look like
Thanks in advance.