Jump to content

this.game.device.cocoonJS not working?


totallybueno
 Share

Recommended Posts

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 :o (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

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...