We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e81af69 commit 8d6bd96Copy full SHA for 8d6bd96
index.html
@@ -0,0 +1,21 @@
1
+<!DOCTYPE HTML>
2
+<html>
3
+ <title>
4
+ Bones 'N Souls
5
+ </title>
6
+ <style>
7
+ body { margin: 0; }
8
+ canvas { display: block; }
9
+ </style>
10
+ <script src="Res/Cannon.js"></script>
11
+ <script src="Res/Three.js"></script>
12
+ <script src="Res/Wasm.js"></script>
13
+ <script>
14
+ try {
15
+ var go = new Go();
16
+ WebAssembly.instantiateStreaming(fetch("Res/Game.wasm"), go.importObject).then((result) => {go.run(result.instance);});
17
+ } catch(E) {
18
+ alert("An error has occured:\n\n" + E + "\n\nPlease reload the game.");
19
+ };
20
+ </script>
21
+</html>
0 commit comments