Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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]],..... }