i want to set the value of a instance variable with the json file but it doesn't work
:(
Try renaming the keys, I'm not sure if names like "1" or "2" are allowed, because "key.1" usually means the path to the first element in an array.
Develop games in your browser. Powerful, performant & highly capable.
Obvious question, but I assume you're using AJAX to load the JSON file on start of layout, and then JSON to parse it?
like this?
It worked thank you ^^