How do I load array from url (json file on my server). I have a file in json format on my server, can I use an absolute url to load the data into my construct internal array? Thank You - nT
Develop games in your browser. Powerful, performant & highly capable.
AJAX Request URL "https://myserver.com/file.json" Wait for previous action to complete Array Load from AJAX.LastData
Note, that the JSON file needs to have a specific format, like this:
{"c2array":true,"size":[25,1,1],"data":[[[0]],[[50]],[[60]],[[70]],..... }