I'm trying out the JSON and AJAX functionality in Construct 2 and I just have a quick question. I'm just too tired for getting this right.
When you load JSON data into Arrays you have to use the specific Construct 2 format for the JSON data. Which means you have to put this information before the actual data:
"c2array":true, "size":[ xsize, ysize, zsize ],
What I'm wondering is what array sizes (see the code window above) I should enter for this array which I generated from a my MySQL table:
[["1","4","5","Brasiv","12300"],["2","3","7","jimutt","6783"]]
Thanks in advance,
Jimmy
Develop games in your browser. Powerful, performant & highly capable.
I managed to get it right after a much needed night of sleep ;)
The size for the array is 1,2,5.
Really don't know how I couldn't get that right last night. :P