pain_gwar Posted March 17, 2014 Share Posted March 17, 2014 Hi guys, i have this strange behaviour with IE11 and i really have no idea what to do. When i try to launch my game (in Canvas Mode not WebGL) i cannot see nothing at all, no images, only the background color. The strange thing is that if i open the console log (F12) and refresh the page everything works perfectly! If i disable the console again and refresh here i got nothing at all again. It's a very strange behaviour and i really don't know what to do. Anyone got this kind of issue? I'm using the full-screen template and Phaser 1.1.6. Thanks. Link to comment Share on other sites More sharing options...
pain_gwar Posted March 17, 2014 Author Share Posted March 17, 2014 Ok i found a solution. i put this code at the beginning of the script tag in my index.html // IE9 fixif(!window.console) {var console = {log : function(){},warn : function(){},error : function(){},time : function(){},timeEnd : function(){}}} Here more info about it http://stackoverflow.com/questions/7742781/why-javascript-only-works-after-opening-developer-tools-in-ie-once Link to comment Share on other sites More sharing options...
Recommended Posts