Loading a standard tileset JSON is pretty simple, but how do you load a tileset JSON when it is optimized (Run-length encoding)?
Standard tileset JSON:
{"c2array":true,"size":[10,10,1],"data":[[[0],[0],[0],[0],[0]]]}
Optimized tileset JSON:
{"c2tilemap":true,"width":94,"height":94,"data":"22,21,7x22,21,96x22,24x47"}
Current way I'm loading the JSON:
Scirra article on run-length encoding:
https://www.scirra.com/blog/ashley/3/te ... ap-tidbits