Hello,
I've exported my game to HTML5 and sometimes I start it it works fine, but sometimes it just shows a black-screen and the browser-console tells me:
Error: invalid size (in c3runtime.js)
Code looks like this (in c3runtime.js):
.....
g_zw.g_Dj()}g_aiY(g){this.g_aip=!!g.isFullscreen,this.g_uo(g.innerWidth,g.innerHeight,!0),this.g_zw.g_Dj()}
g_uo(g,_,e=!1){var t=Math.floor;if(g=t(g),_=t(_),0>=g||0>=_)throw new Error("invalid size");
.....
What does that error mean?
Best regards.