Files
2026-07-31 18:33:44 +02:00

21 lines
547 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Bevy Game</title>
<style>
html, body { margin: 0; padding: 0; background: #000; height: 100%; overflow: hidden; }
canvas { display: block; margin: 0 auto; outline: none; }
</style>
</head>
<body>
<script type="module">
import init from './game.js';
init().catch((e) => {
// Bevy uses an exception to hand control to the browser's event loop.
if (!e.message.includes("Using exceptions for control flow")) throw e;
});
</script>
</body>
</html>