{"c2array":true,"size":[15,12,1],"data":
[[[1],[1],[1],[1],[1],[1],[1],[1],[1],[1]],
[[1],[0],[0],[0],[0],[0],[0],[0],[0],[1]],
[[1],[0],[1],[1],[0],[0],[0],[0],[0],[1]],
[[1],[0],[0],[0],[0],[0],[0],[0],[0],[1]],
[[1],[1],[1],[1],[1],[1],[1],[0],[0],[1]],
[[1],[0],[0],[0],[0],[0],[0],[0],[0],[1]],
[[1],[0],[0],[0],[0],[0],[0],[0],[0],[1]],
[[1],[0],[0],[0],[0],[1],[1],[1],[0],[1]],
[[1],[0],[0],[0],[0],[0],[0],[0],[0],[1]],
[[1],[1],[1],[1],[0],[0],[0],[1],[1],[1]]]}[/code:omitk5ov]
[img="http://i.imgur.com/1DH53kS.png"]
When I press J it loads it to ajax, but pressing K does nothing to the array. The values don't change in the debug editor and I'm lost.
[img="http://i.imgur.com/ABKQuEs.png"]
And sometimes it randomly just gives this when I keep pressing the buttons...
What's wrong with all of this?
Like I don't want anything complicated I just want the game to read the maps from 0(empty),1(solid blocks) and later 2(enemies) and 3(gems).