We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c14942 commit fccf212Copy full SHA for fccf212
index.html
@@ -9,16 +9,26 @@
9
#canvas {
10
image-rendering: pixelated;
11
width: 100%;
12
+ max-width: 512px;
13
aspect-ratio: 1 / 1;
14
}
15
</style>
16
</head>
17
<body>
- <h1>SDL2 WASM Game Loader</h1>
18
+ <h1>SDL2 Game Starter</h1>
19
+
20
21
+ <h2>Web version</h2>
22
<canvas id="canvas"></canvas>
- <script type="module">
- import initModule from './index.mjs';
23
24
+ <h2>Native versions</h2>
25
+ <ul>
26
+ <li>Mac OS X (Apple Silicone): <a href="./index.app" target="_blank">click here</a></li>
27
+ </ul>
28
29
+<script type="module">
30
+ import initModule from './index.mjs';
31
32
var Module = await initModule({
33
canvas: document.getElementById('canvas')
34
});
0 commit comments