So i'm testing Game Closure here and there as time permits. I've managed to get pretty far in relation to getting a BASH commands for OSX running in windows. Most of it's good to go except I've hit a hurdle
First. In the GC web simulator the game works fine. However it's the android export where I have hit the problem. I'm using the HTML5 export.
When running on Android, the game continues to believe that it's running with as DOM. The canvas is being passed to C2runtime by hacked in code. No DOM reference should be made to jquery as it's the DOM reference is breaking the game. What can I do in the C2runtime for it to adjust this. There is a lot that controls the c2runtime and it's a little over my head.
Alternatively the CocoonJS c2runtime is more ideal, but I'm not sure if the CJS calls are the only ones in there. Can I extract the CJS c2runtime and use that instead?
edit: clarifying, hopefully :D
I tried this
this.isDomFree = true; //this.isDirectCanvas || this.isCocoonJs;
but it's still using jquery and getting hung up there