totallybueno Posted May 22, 2015 Share Posted May 22, 2015 Hi there,weird thing at least for me... I´m testing my game in my Cocoon js Laucher and this.game.device.cocoonJS is giving me false, also, this.game.device.cocoonJSApp is giving me false too. I tried 4 different alerts and just the last one, running if firefox is giving me the right result, does anyone know why is this hapenning? I´m pretty sure I´m running this in cocoon (Phaser 2.3.0 and cocoonjs launcher 2.1.1)alert(this.game.device.cocoonJS) //false in CocoonJS Launcheralert(this.game.device.cocoonJSApp) //false in CocoonJS Launcheralert(this.game.device.cordova)alert(this.game.device.firefox) //true in Firefox (as expected) Link to comment Share on other sites More sharing options...
Recommended Posts