-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
38 lines (38 loc) · 1.66 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="https://aframe.io/releases/1.4.0/aframe.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/kysonic/[email protected]/dist/assets/index.js"></script>
<script src="https://cdn.jsdelivr.net/gh/c-frame/[email protected]/dist/aframe-physics-system.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/donmccurdy/[email protected]/dist/aframe-extras.misc.min.js"></script>
<script src="https://unpkg.com/super-hands@^3.0.3/dist/super-hands.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/aframe-state-component.min.js"></script>
<script type="module" src="src/main.js"></script>
<title>Recycle</title>
<script>
window.html = (strings, ...values) =>
String.raw({ raw: strings }, ...values);
</script>
</head>
<body>
<a-scene game-manager physics="debug: false;" hud>
<!-- Templates -->
<a-template name="assets" />
<a-template name="mixins" />
<a-template name="controls" />
<a-template name="environment" />
<a-template name="lights" />
<a-template name="sounds" />
<a-template name="banner" />
<!-- Templates -->
<!-- Routes -->
<a-route id="start-screen" template="start-screen"></a-route>
<a-route id="game-field" template="game-field"></a-route>
<a-route id="game-over" template="game-over"></a-route>
<a-route id="how-to-play" template="how-to-play"></a-route>
<!-- Routes -->
</a-scene>
</body>
</html>