31 lines
763 B
HTML
31 lines
763 B
HTML
|
<!doctype html>
|
||
|
<html lang="en-us">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<!-- CHANGE THIS -->
|
||
|
<title>My Game</title>
|
||
|
<style>body {
|
||
|
font-family: arial;
|
||
|
margin: 0;
|
||
|
padding: none;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
canvas.emscripten {
|
||
|
border: 0px none; background-color: black;
|
||
|
width: 100vw; height: 100vh;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<canvas class="emscripten" id="canvas" oncontextmenu="event.preventDefault()" tabindex=-1></canvas>
|
||
|
<script type='text/javascript'>
|
||
|
var Module = {
|
||
|
canvas: canvas
|
||
|
};
|
||
|
</script>
|
||
|
<!-- CHANGE THIS IF YOU CHANGE THE OUTPUT NAME -->
|
||
|
<script async type="text/javascript" src="game.js"></script>
|
||
|
</body>
|
||
|
</html>
|