-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
108 lines (79 loc) · 3.72 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Khipu 360</title>
<script src="scripts/aframe.js"></script>
<script src="scripts/aframe-template-component.min.js"></script>
<script src="scripts/aframe-animation-timeline-component.min.js"></script>
<script src="scripts/aframe-gif-shader.js"></script>
<script src="scripts/aframe-gif-component.min.js"></script>
<script src="scripts/aframe-ui-components.js"></script>
<script src="scripts/aframe-glow-component.js"></script>
<script src="scripts/aframe-render-order-component.min.js"></script>
<script src="scripts/aframe-text-plane.min.js"></script>
<script src="scripts/controller.js"></script>
<link href="styles/index.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="root"
style="background: #000; z-index: 999 !important; cursor: pointer; position: absolute; top: 0; left: 0; display: none;"
onclick="javascript:start()">
<svg style="width:50px;height:50px" viewBox="0 0 24 24">
<path fill="#FFFFFF" d="M8,5.14V19.14L19,12.14L8,5.14Z">
</path></svg>
</div>
<a-scene loading-screen="dotsColor: red; backgroundColor: black" render-order="layer1, layer2, layer3">
<a-assets timeout="60000">
<!-- Images -->
<a-entity template="src: src/assets/images/instructions.html"></a-entity>
<a-entity template="src: src/assets/images/intro.html"></a-entity>
<a-entity template="src: src/assets/images/backgrounds.html"></a-entity>
<a-entity template="src: src/assets/images/characters.html"></a-entity>
<a-entity template="src: src/assets/images/teleports.html"></a-entity>
<!-- Background audios -->
<a-entity template="src: src/assets/audios/background.html"></a-entity>
<!-- Sound effects -->
<a-entity template="src: src/assets/audios/effects.html"></a-entity>
<!-- Character audios -->
<a-entity template="src: src/assets/audios/characters.html"></a-entity>
<!-- Narrative audios -->
<a-entity template="src: src/assets/audios/narratives.html"></a-entity>
<!-- Videos. -->
<video id="video-intro" src="videos/intro.mp4"></video>
</a-assets>
<a-entity id="camera" camera look-controls>
<a-entity cursor="fuse: true; fuseTimeout: 500"
position="0 0 -1"
geometry="primitive: ring; radiusInner: 0.02; radiusOuter: 0.03"
material="color: black; shader: flat"
animation__click="property: scale; startEvents: click; easing: easeInCubic; dur: 150; from: 0.1 0.1 0.1; to: 1 1 1"
animation__fusing="property: scale; startEvents: fusing; easing: easeInCubic; dur: 1500; from: 1 1 1; to: 0.1 0.1 0.1"
animation__mouseleave="property: scale; startEvents: mouseleave; easing: easeInCubic; dur: 500; to: 1 1 1"
raycaster="objects: .clickable">
</a-entity>
</a-entity>
<!-- Scene: Instructions -->
<a-entity template="src: src/scenes/instructions.html">
</a-entity>
<!-- Scene: Intro -->
<a-entity template="src: src/scenes/intro.html">
</a-entity>
<!-- Scene 1 -->
<a-entity template="src: src/scenes/1medialab.html">
</a-entity>
<!-- Scene 2 -->
<a-entity template="src: src/scenes/2rooftop.html">
</a-entity>
<!-- Scene 3 -->
<a-entity template="src: src/scenes/3inventoria.html">
</a-entity>
<!-- Scene 4 -->
<a-entity template="src: src/scenes/4inventoria.html">
</a-entity>
<!-- Scene 5 -->
<a-entity template="src: src/scenes/5forrest.html">
</a-entity>
</a-scene>
</body>
</html>