Files
monkeygg2.github.io/games/n-step-steve-part-1/index.html
T
2023-10-29 19:56:54 -05:00

1 line
2.5 KiB
HTML

<!doctypehtml><html lang=en-us><head><meta charset=utf-8><meta content="text/html; charset=utf-8"http-equiv=Content-Type><style>*{margin:0;overflow:hidden}#loader{position:fixed;left:0;top:0;width:640px;height:640px;background-color:#000}#loader p{color:#0f0;position:fixed;left:8px;top:8px;width:586px;font-size:24px}#introVid{position:fixed;left:0;top:107px;width:640px;display:none}</style></head><body><div class=emscripten_border><canvas class=emscripten id=canvas tabindex=-1></canvas></div><div id=loader><p id=loaderP>Loading...</p></div><script>var Module={preRun:[function(){"object"==typeof WebAssembly&&"function"==typeof WebAssembly.instantiate||(document.getElementById("loaderP").innerHTML="Error: your browser doesn't support WebAssembly.",console.assert(!1));var e=function(){window.focus()};document.getElementById("canvas").addEventListener("mousedown",e),document.getElementById("loader").addEventListener("mousedown",e),document.getElementById("loaderP").addEventListener("mousedown",e),null!=window.kongregateAPI&&kongregateAPI.loadAPI((function(){window.kapi=kongregateAPI.getAPI()}))}],postRun:[],print:function(e){arguments.length>1&&(e=Array.prototype.slice.call(arguments).join(" ")),console.log(e)},printErr:function(e){arguments.length>1&&(e=Array.prototype.slice.call(arguments).join(" ")),console.error(e)},canvas:function(){var e=document.getElementById("canvas");return e.addEventListener("webglcontextlost",(function(e){alert("WebGL context lost. You will need to reload the page."),e.preventDefault()}),!1),e}(),setStatus:function(e){var t=document.getElementById("loaderP");if(Module.setStatus.last||(Module.setStatus.last={time:Date.now(),text:""}),e!==Module.setStatus.last.text){var n=e.match(/([^(]+)\((\d+(\.\d+)?)\/(\d+)\)/),o=Date.now();if(!(n&&o-Module.setStatus.last.time<30))if(Module.setStatus.last.time=o,Module.setStatus.last.text=e,"Running..."==e)document.getElementById("loader").remove();else if(n){var s=100*parseInt(n[2])/(100*parseInt(n[4]));t.innerHTML="Loading... "+Math.round(95*s)+"%"}}},totalDependencies:0,monitorRunDependencies:function(e){this.totalDependencies=Math.max(this.totalDependencies,e),Module.setStatus(e?"Preparing... ("+(this.totalDependencies-e)+"/"+this.totalDependencies+")":"All downloads complete.")}};Module.setStatus("Downloading..."),window.onerror=function(e){Module.setStatus("Exception thrown, see JavaScript console"),Module.setStatus=function(e){e&&Module.printErr("[post-exception status] "+e)}}</script><script async src=index.js></script></body></html>