Hello.
I am using json files of TMX importer to make levels and I use AJAX to load into game, I am loading into array. That's fine.
But the events is not ideal to load.
I tried to put into loop but it won't work because "On xxxx Completed" has this Green arrow meaning it can't be put into a loop. So I have now 21 indiviual "On xxxx completed" events and I have to manually add for every file I add to the project folder.
Same thing can be said for the "Request xxxx (tag xxxx)" long list and the the name can't be part of loop/variable because of it is from a fixed list of names of the files you have in project.
To illustrate what I mean.
Can I streamline this a bit? Or maybe make it automated by finding all the json files in a folder and load those in ordered manner to array?