diff options
Diffstat (limited to '2026/games/samzyre/index.html')
| -rw-r--r-- | 2026/games/samzyre/index.html | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/2026/games/samzyre/index.html b/2026/games/samzyre/index.html deleted file mode 100644 index 48a0218..0000000 --- a/2026/games/samzyre/index.html +++ /dev/null @@ -1,52 +0,0 @@ -<html>
-
-<head>
- <title>rctrctrl</title>
- <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
-
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 100%;
- height: 100%;
- overflow: hidden;
- }
-
- canvas {
- display: block;
- width: 100vw;
- height: 100vh;
- }
- </style>
-<link rel="modulepreload" href="./microjam_rctrctrl-f61f8eb97d2bebe5.js" crossorigin="anonymous" integrity="sha384-sB3RNS0ypZaFAp7nRGjLfKFy1SBikFtXgCDvrr+jPvGs70ozD8DWlqbskwz8eWt1"><link rel="preload" href="./microjam_rctrctrl-f61f8eb97d2bebe5_bg.wasm" crossorigin="anonymous" integrity="sha384-/0GpaK9lZrKjuDyfa7jnUNS0I+/v5OOWgQHN4zHeMQC8aTqcybg7aKtXr3KAqYrd" as="fetch" type="application/wasm"></head>
-
-<body>
- <script>
- function send_ready() { window.parent.postMessage({ op: "ready" }); }
- function send_started(verb) { window.parent.postMessage({ op: "started", verb }); }
- function send_done(win) { window.parent.postMessage({ op: "done", win }); }
- addEventListener("message", (ev) => {
- if (ev.data.op == "start") {
- window.wasmBindings.game_start(ev.data.difficulty);
- } else {
- console.log(`unknown message: ${ev.data}`);
- }
- });
- </script>
- <canvas id="notan_app"></canvas>
- -<script type="module"> -import init, * as bindings from './microjam_rctrctrl-f61f8eb97d2bebe5.js'; -const wasm = await init({ module_or_path: './microjam_rctrctrl-f61f8eb97d2bebe5_bg.wasm' }); - - -window.wasmBindings = bindings; - - -dispatchEvent(new CustomEvent("TrunkApplicationStarted", {detail: {wasm}})); - -</script></body>
-
-</html>
\ No newline at end of file |
