I have designed a game with Phaser. I wrapped it into an APK using Intel XDK + Cordova + Crosswalk. It was running at 54 stable FPS. Now I've updated the Intel XDK software and I get a black screen. I have found that I get the black screen because I force the Phaser Render to use WebGL. I can solve my problem by switching to canvas however, the performance on canvas is horrible (about 2-3 FPS). My device has a PowerVR SGX 544MP GPU and a MediaTek MT6589 SoC Model Instruction set 32-bit ARMv7. I'm looking for some solutions, thanks!
I tried many builds, they all failed the same way I explained above. However I remember that the right combo worked. I know for sure that email@example.com worked very well but I can't remember exactly what cordova android platform version number it was or what cordova cli version it was.
LE: I think that if I force WebGL to crosswalk, I might solve the issues. How can I do that?
LE2: I solved the issue. The project needed the xwalk-command-line file with the following text inside:
The file has to be added to YourProject/platforms/android/assets
This link was very useful:
Easiest way to do this is add it to your intelxdk.config.additions.xml file. See this example from the "hello-cordova" demo app > https://github.com/gomobile/sample-hello-cordova/blob/master/intelxdk.config.additions.xml#L25 <