Zackorz Posted December 16, 2015 Share Posted December 16, 2015 Hi, i programmed a testfile, that works fine on mobile devices, Firefox, Chrome, Opera and Safari. Just Internet Explorer (11) makes trouble. I get over 100 error messages that all seem to occure because of "WebGL". Here some examples: "WEBGL11004: INVALID_OPERATION: vertexAttribPointerFile: phaser.min.js, Zeile: 4, Spalte: 31287" "WEBGL11094: INVALID_OPERATION: vertexAttribPointer: Die Aufzählung UNSIGNED_BYTE is currently not supportedFilei: phaser.min.js, Zeile: 4, Spalte: 31287" I think i dont need "WebGl", Canvas would be fine for me. Can anyone tell me what to do? Link to comment Share on other sites More sharing options...
Zackorz Posted December 16, 2015 Author Share Posted December 16, 2015 If i create a new game with "Phaser.CANVAS" it works. Is there a way to say : "if internet explorer is used, use always Canvas" ??? Link to comment Share on other sites More sharing options...
drhayes Posted December 17, 2015 Share Posted December 17, 2015 You'll have to check against the navigator.userAgent for "MSIE" and then use the Phaser.CANVAS renderer if found. Link to comment Share on other sites More sharing options...
Zackorz Posted December 19, 2015 Author Share Posted December 19, 2015 You'll have to check against the navigator.userAgent for "MSIE" and then use the Phaser.CANVAS renderer if found. Tried that but the strange thing is, that "MSIE" ist never found, even if internet explorer is used. I tried several methods that are posted on different sites but always get the same result... Maybe because Internet Explorer is based on Mozilla 5.0 ?? Link to comment Share on other sites More sharing options...
chg Posted December 19, 2015 Share Posted December 19, 2015 Maybe because Internet Explorer is based on Mozilla 5.0 ??LOL, it really isn't though (it was a historical "user agent cloak" to get the version of the page server's were serving to the popular Mozilla browser when IE was first released) Link to comment Share on other sites More sharing options...
Recommended Posts