- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you try different versions of Crosswalk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 cordova-crosswalk-plugin-webview@1.3.0 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:
xwalk --ignore-gpu-blacklist
The file has to be added to YourProject/platforms/android/assets
This link was very useful:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 <
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page