jsb-gravity/index.html

33 lines
504 B
HTML
Raw Permalink Normal View History

2024-01-03 21:24:53 +00:00
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>JSB Gravity</title>
<style type="text/css">
html, body {
margin: 0;
padding: 0;
background-color: #222;
}
body {
display: flex;
flex-flow: column;
color: white;
}
#game {
order: 1;
max-width: 100vw;
max-height: 100vh;
margin: auto;
}
</style>
</head>
<body>
<canvas id="game">Canvas did not load.</canvas>
<script type="module">
import init from './target/jsb-gravity.js'
init()
</script>
</body>
</html>