Struggling to upload a large string to my project to use as a matrix, I've run into issues trying to load a text file or json into my HTML5 project. While I've seen it can be done in 3.0 using cocos2d, I'm wondering if there's a way to achieve the same with 2.1?
An example of what I need to do, demonstrated in 3.0: cocos2d-js: How to load a JSON file
(an admittedly unattractive solution would be to directly write it into the javascript)
Concerned about the number of javascript packages I can install while still maintaining compatibility for android and other platforms using cocos2d (I guess that's a second question)