carljohanelger Posted January 6, 2015 Share Posted January 6, 2015 Hi!I'm trying to put my Phaser game in a Crosswalk/Cordova Android wrapper. I've been following the steps described: https://crosswalk-project.org/documentation/cordova/migrate_an_application.html, and been using the versions mentioned there (Cordova 3.5, Crosswalk 7.36). I've also tried the newest versions of both. When running the app in the Android emulator, I end up with a black screen and this error in the console: Uncaught Error: This browser does not support webGL. Try using the canvas renderer[object Object] That's when I set the rendering mode explicitly to webGL. When using Phaser.AUTO, canvas mode gets enabled.navigator.userAgent in the console returns: "Mozilla/5.0 (Linux; Android 4.4.2; sdk Build/KK) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Mobile Crosswalk/7.36.154.12 Mobile Safari/537.36" So it seems Crosswalk is indeed being used. I'm using Phaser 2.1.1.I tried using 'deviceready' as my entry point for initiating the game, but it doesn't seem to make much difference. Any ideas anyone? Best regardsCarl-Johan Link to comment Share on other sites More sharing options...
valueerror Posted January 7, 2015 Share Posted January 7, 2015 the intel xdk explicitly says that it does not support webgl in the emulator for now.. start your program in a browser or directly on your device connected with a usb cable Link to comment Share on other sites More sharing options...
carljohanelger Posted January 7, 2015 Author Share Posted January 7, 2015 Thank you, that was it!Also it seems the rendering mode needs to be set to Phaser.AUTO and not Phaser.WEBGL for it to work. Link to comment Share on other sites More sharing options...
Recommended Posts