47b06dbdbd
Made a OpenGL Emulator for WebGL using TeaVM
20 lines
640 B
HTML
20 lines
640 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Main page</title>
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
|
|
<script type="text/javascript" charset="utf-8" src="app.js"></script>
|
|
<script type = text/javascript>
|
|
if(document.location.href.startsWith("file:")) {
|
|
alert("Offline Download is not yet supported, please upload all the game files to a HTTP(s) server");
|
|
} else {
|
|
window.addEventListener("load", function() {
|
|
window.classicConfig = ["game_frame","resources.epk"];
|
|
main();
|
|
});
|
|
}
|
|
</script>
|
|
</head>
|
|
<body style="margin:0px;width:100vw;height:100vh;" id="game_frame">
|
|
</body>
|
|
</html> |