I already checked the tutorial and it seems like a very specific JSON format, if only I knew about it beforehand so I can inform the backend programmer. :(
I think I'll have to wait for another answer or try out something else.
Develop games in your browser. Powerful, performant & highly capable.
Good morning,
so I want to get a leaderboard data from a server and then display it in my game. I can already got the AJAX request correctly but somehow I can't store it in my array. I looked at a tutorial here: construct.net/en/tutorials/load-fill-array-json-file-2515 but I still can't fill my array
This is my code:
and this is what's shown on the debugger:
I imagined the LeaderboardArray would be filled with what's in the AJAX.lastData but somehow this is not the case.
Thank you for helping.