abstreet/game/index.html

22 lines
558 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<script type="module">
import { default as init } from './game.js';
async function run() {
await init('./game_bg.wasm');
}
run();
</script>
</head>
<body style="background-color:black;">
<div id="loading" style="color:white;">
<h1>Loading... this may take up to 30 seconds</h1>
<h2>If you think something has broken, check your browser's developer console (Ctrl+Shift+I or similar)</h2>
<h3>Your browser must support WebGL or WebAssembly.</h3>
</div>
</body>
<html>