-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
37 lines (35 loc) · 1.57 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
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>SEP AR Portal Game</title>
<meta name="description" content="SEP AR Portal Game">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/aframe-extras.min.js"></script>
<!-- Workaround for aframe 1.3 https://github.com/IdeaSpaceVR/aframe-particle-system-component/issues/66 -->
<script src="https://cdn.jsdelivr.net/gh/IdeaSpaceVR/aframe-particle-system-component@latest/dist/aframe-particle-system-component.min.js"></script>
<script src="hide-on-enter-ar.js"></script>
<script src="ar-shadows.js"></script>
<script src="ar-hit-test.js"></script>
<script src="main.js"></script>
<script src="background-gradient.js"></script>
<script src="arframe-portal-door.js"></script>
<script src="threex-portal-door.js"></script>
</head>
<body>
<a-scene id="scene"
renderer="colorManagement: true;"
main="title: foo"
>
<a-assets>
<a-asset-item id="floater"
src="https://sep.github.io/XR-portal-game/assets/gltf/floater_bug.gltf"
response-type="arraybuffer" crossorigin="anonymous"></a-asset-item>
<a-asset-item id="portal"
src="https://sep.github.io/XR-portal-game/assets/gltf/portal.gltf"
response-type="arraybuffer" crossorigin="anonymous"></a-asset-item>
<audio id="buzz" src="https://sep.github.io/XR-portal-game/assets/sounds/MosquitoBuzzing.mp3" preload="auto"></audio>
</a-assets>
</a-scene>
</body>
</html>