-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
275 lines (243 loc) · 23 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Off-Killter</title>
<script src="https://cdn.jsdelivr.net/gh/aframevr/aframe@a326cebe05da7541fb885ed0ce8e16facad7d5bd/dist/aframe-master.min.js"></script>
<script src="https://unpkg.com/aframe-render-order-component@1.1.0/dist/aframe-render-order-component.min.js"></script>
<script src="https://unpkg.com/aframe-randomizer-components@3.0.2/dist/aframe-randomizer-components.min.js"></script>
<script src="https://unpkg.com/aframe-haptics-component/dist/aframe-haptics-component.min.js"></script>
<script src="//cdn.rawgit.com/donmccurdy/aframe-physics-system/v4.0.1/dist/aframe-physics-system.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/donmccurdy/aframe-extras@v6.1.0/dist/aframe-extras.min.js"></script>
<script src="https://rawgit.com/fernandojsg/aframe-teleport-controls/master/dist/aframe-teleport-controls.min.js"></script>
<script src="./src/index.js"></script>
<script src="./src/scenery.js"></script>
</head>
<body>
<a-scene start-game toggle-debug physics="gravity: -1.6;">
<a-assets>
<!-- models -->
<a-asset-item id="leftHandModel" src="assets/models/leftHand.glb"></a-asset-item>
<a-asset-item id="rightHandModel" src="assets/models/rightHand.glb"></a-asset-item>
<!-- sounds -->
<audio id="elevator-arriving" src="assets/sounds/elevator_arriving.mp3" preload="auto"></audio>
<audio id="elevator-ding" src="assets/sounds/elevator_ding.mp3" preload="auto"></audio>
<audio id="factory-ambient-noise" src="assets/sounds/factory_ambient_noise.mp3" preload="auto"></audio>
<audio id="win-sound" src="assets/sounds/win_sound.mp3" preload="auto"></audio>
<audio id="lose-sound" src="assets/sounds/lose_sound.mp3" preload="auto"></audio>
<audio id="background-music" src="assets/sounds/Podington_Bear_-_Twombly_shortened.mp3" preload="auto"></audio>
<!-- textures -->
<img offset="{x: 50, y: 0}" id="face-texture" src="assets/images/facetext.jpg">
<img id="help-manual-cover" src="assets/images/robot_manual_cover_off-killter.jpg">
<img id="help-manual-page1" src="assets/images/robot_manual_title-responsibilities_off-killter.png">
<img id="help-manual-page2" src="assets/images/robot_manual_first-day-goals_off-killter.png">
<img id="help-manual-page3" src="assets/images/robot_manual_off-killter.jpg">
<img id="concrete-wall-texture" src="assets/images/concrete_wall_texture.jpg">
<img id="floor-texture" src="assets/images/floor-texture.jpg">
<img id="text-logo" src="assets/images/text_logo_transparent.png">
<img id="poster1" src="assets/images/motivational_poster_1_off-killter.jpg">
<img id="poster2" src="assets/images/motivational_poster_2_off-killter.jpg">
<img id="poster3" src="assets/images/motivational_poster_3_off-killter.jpg">
</a-assets>
<!-- Define Scene Room -->
<a-entity id="replayRoom" scenery="room: replay;">
<!-- signs -->
<a-text id="replaySign" scale="1.5 1.5 1.5" geometry="primitive: plane; width: 1.9; height: 0.3;" material="color: #ad7f00" value="Replay Station ->" color="white" position="7.5 2 -9.9" rotation="0 0 0" align="center" visible="true"></a-text>
<a-text id="replaySign2" scale="1.5 1.5 1.5" geometry="primitive: plane; width: 1.9; height: 0.3;" material="color: #ad7f00" value="Replay Station ->" color="white" position="9.9 2 -6.5" rotation="0 -90 0" align="center" visible="true"></a-text>
<a-text id="recordSign" scale="1.5 1.5 1.5" geometry="primitive: plane; width: 1.9; height: 0.3;" material="color: #ad7f00" value="<- Record Station" color="white" position="-7.5 2 -9.9" rotation="0 0 0" align="center" visible="true"></a-text>
<a-text id="recordSign2" scale="1.5 1.5 1.5" geometry="primitive: plane; width: 1.9; height: 0.3;" material="color: #ad7f00" value="<- Record Station" color="white" position="-9.9 2 -6.5" rotation="0 90 0" align="center" visible="true"></a-text>
<!-- floor -->
<a-plane material="src: #concrete-wall-texture;" static-body position="0 0 0" rotation="-90 0 0" width="20" height="20" color="#474747"></a-plane>
<!-- ceiling -->
<a-plane material="src: #floor-texture;" static-body position="0 4 0" rotation="90 0 0" width="20" height="20" color="#FFFFFF"></a-plane>
<!-- lower walls -->
<a-plane material="src: #floor-texture;" static-body position="0 1 -10" rotation="0 0 0" width="20" height="2" color="#001d29"></a-plane>
<a-plane material="src: #text-logo; alphaTest: 0.5" static-body position="0 3 -9.99" width="1.75" height="1.75"></a-plane>
<a-plane material="src: #floor-texture;" static-body position="10 1 0" rotation="0 -90 0" width="20" height="2" color="#001d29"></a-plane>
<a-plane material="src: #floor-texture;" static-body position="-10 1 0" rotation="0 90 0" width="20" height="2" color="#001d29"></a-plane>
<!-- upper walls -->
<a-plane material="src: #floor-texture;" static-body position="0 3 -10" rotation="0 0 0" width="20" height="2" color="#007eb0"></a-plane>
<a-plane material="src: #floor-texture;" static-body position="10 3 0" rotation="0 -90 0" width="20" height="2" color="#007eb0"></a-plane>
<a-plane material="src: #floor-texture;" static-body position="-10 3 0" rotation="0 90 0" width="20" height="2" color="#007eb0"></a-plane>
<!-- glass wall -->
<a-box static-body position="-7 1 10" rotation="-180 0 0" depth="0.2" width="6" height="2" color="#001d29"></a-box>
<a-box material="src: #floor-texture;" static-body position="7 3 10" rotation="-180 0 0" depth="0.2" width="6" height="2" color="#007eb0"></a-box>
<a-box material="src: #floor-texture;" static-body position="7 1 10" rotation="-180 0 0" depth="0.2" width="6" height="2" color="#001d29"></a-box>
<a-box material="src: #floor-texture;" static-body position="-7 3 10" rotation="-180 0 0" depth="0.2" width="6" height="2" color="#007eb0"></a-box>
<a-box material="src: #floor-texture;" static-body position="0 0.25 10" rotation="-180 0 0" depth="0.2" width="8" height="1" color="#001d29"></a-box>
<a-box material="src: #floor-texture;" static-body position="0 3.75 10" rotation="-180 0 0" depth="0.2"width="8" height="1" color="#007eb0"></a-box>
<!-- glass -->
<a-box static-body position="0 2 10" rotation="-180 0 0" depth="0.05" width="8" height="2.5" color="#a8ccd7" opacity="0.2"></a-box>
<!-- control panel -->
<a-box static-body position="0 0.5 9.75" depth="0.3" width="1" height="1" color="#595959"></a-box>
<a-box static-body position="0 1 9.6" rotation="-45 0 0" depth="0.4" width="1" height="0.01" color="#818282"></a-box>
<!-- joystick -->
<a-box id="joystickpanel" static-body position="0 1 9.59" rotation="-45 0 0" depth="0.3" width="0.85" height="0.001" color="#595959"></a-box>
<a-box crane-button class="grabbable" id="craneButton" static-body position="0.325 1.0 9.575" rotation="-45 0 0" depth="0.15" width="0.2" height="0.05" color="red"></a-box>
<a-cylinder id="joystickleft" constraint="target: #joystickpanel; type: hinge; axis: 0 1 0; targetAxis: 0 1 0; targetPivot: 0 0.1 0;" dynamic-body="shape: cylinder;" class="grabbable" position="0 1.01 9.59" radius="0.01" rotation="-45 0 0" height="0.25" color="#FFFFFF">
<a-sphere static-body position="0 0.15 0" radius="0.03" color="red"></a-sphere>
</a-cylinder>
<!-- blocking walls -->
<a-box material="src: #floor-texture;" static-body position="0 1 6" rotation="0 0 0" width="20" height="2" depth="0.2" color="#001d29"></a-box>
<a-box id="upperBlockWall" sound="src: #elevator-arriving; autoplay: false; volume: 0.5" material="src: #floor-texture;" static-body position="0 3 6" rotation="0 0 0" width="20" height="2" depth="0.2" color="#007eb0"></a-box>
<a-entity id="elevator" sound="src: #elevator-ding; autoplay: false; volume: 0.75" sound="src: #elevator-ding; autoplay: false" sound_ding="src: url(river.mp3); autoplay: true">
<!-- floor and ceiling -->
<a-box static-body position="0 2.925 -1.78" rotation="90 0 0" width="8" height="4" depth="0.25" color="#818282"></a-box>
<a-plane static-body position="0 0.005 -1.75" rotation="-90 0 0" width="8" height="4" color="#818282"></a-plane>
<!-- side walls -->
<a-box material="src: #floor-texture;" static-body position="-0.5 1.5 -2" rotation="0 90 0" width="4" height="3" depth="0.2" color="#007eb0"></a-box>
<a-box material="src: #floor-texture;" static-body position="0.5 1.5 -2" rotation="0 90 0" width="4" height="3" depth="0.2" color="#007eb0"></a-box>
<a-box material="src: #floor-texture;" static-body position="-2.75 1.5 -2" rotation="0 90 0" width="4" height="3" depth="0.2" color="#007eb0"></a-box>
<a-box material="src: #floor-texture;" static-body position="2.75 1.5 -2" rotation="0 90 0" width="4" height="3" depth="0.2" color="#007eb0"></a-box>
<a-box material="src: #floor-texture;" static-body position="1.25 2 -1.75" rotation="0 0 0" width="3" height="4" depth="0.2" color="#007eb0"></a-box>
<a-box material="src: #floor-texture;" static-body position="-1.25 2 -1.75" rotation="0 0 0" width="3" height="4" depth="0.2" color="#007eb0"></a-box>
<!-- filler pieces -->
<a-box material="src: #floor-texture;" static-body position="3.3 2 -3.75" rotation="0 0 0" width="1.225" height="4" depth="0.2" color="#001d29"></a-box>
<a-box material="src: #floor-texture;" static-body position="-3.3 2 -3.75" rotation="0 0 0" width="1.225" height="4" depth="0.2" color="#001d29"></a-box>
<a-box material="src: #floor-texture;" static-body position="0 2 -3.75" rotation="0 0 0" width="0.8" height="4" depth="0.2" color="#001d29"></a-box>
<a-box material="src: #floor-texture;" static-body position="0 3.5 -3.75" rotation="0 0 0" width="8" height="1" depth="0.2" color="#001d29"></a-box>
<a-box material="src: #floor-texture;" static-body position="1.625 2.9 -3.9" rotation="0 0 0" width="2.45" height="0.2" depth="0.2" color="#007eb0"></a-box>
<a-box material="src: #floor-texture;" static-body position="-1.625 2.9 -3.9" rotation="0 0 0" width="2.45" height="0.2" depth="0.2" color="#007eb0"></a-box>
<!-- railings -->
<a-cylinder static-body position="-2.625 1.1 -2.725" rotation="90 0 0" height="1.5" radius="0.01"></a-cylinder>
<a-cylinder static-body position="-0.65 1.1 -2.725" rotation="90 0 0" height="1.5" radius="0.01"></a-cylinder>
<a-cylinder static-body position="-1.625 1.1 -1.875" rotation="90 90 0" height="1.75" radius="0.01"></a-cylinder>
<a-cylinder static-body position="2.625 1.1 -2.725" rotation="90 0 0" height="1.5" radius="0.01"></a-cylinder>
<a-cylinder static-body position="0.65 1.1 -2.725" rotation="90 0 0" height="1.5" radius="0.01"></a-cylinder>
<a-cylinder static-body position="1.65 1.1 -1.875" rotation="90 90 0" height="1.75" radius="0.01"></a-cylinder>
<!-- front doors -->
<a-entity id="elevator1">
<a-box class="rightdoor" static-body position="0.99 1.35 -3.7" rotation="0 0 0" width="1.25" height="2.85" depth="0.2" color="#818282"></a-box>
<a-box class="leftdoor" static-body position="2.26 1.35 -3.7" rotation="0 0 0" width="1.25" height="2.85" depth="0.2" color="#818282"></a-box>
</a-entity>
<a-entity id="elevator2">
<a-box class="rightdoor" static-body position="-0.99 1.35 -3.7" rotation="0 0 0" width="1.25" height="2.85" depth="0.2" color="#818282"></a-box>
<a-box class="leftdoor" static-body position="-2.26 1.35 -3.7" rotation="0 0 0" width="1.25" height="2.85" depth="0.2" color="#818282"></a-box>
</a-entity>
</a-entity>
</a-entity>
<!-- Define Replay Room -->
<a-entity id="factoryRoom">
<!-- angled walls -->
<a-plane material="src: #floor-texture;" static-body position="-7.275 3 12" rotation="0 30 0" width="7.675" height="2" color="#007eb0"></a-plane>
<a-plane material="src: #floor-texture;" static-body position="-7.275 1 12" rotation="0 30 0" width="7.675" height="2" color="#001d29"></a-plane>
<a-plane material="src: #floor-texture;" static-body position="7.275 3 12" rotation="0 -30 0" width="7.675" height="2" color="#007eb0"></a-plane>
<a-plane material="src: #floor-texture;" static-body position="7.275 1 12" rotation="0 -30 0" width="7.675" height="2" color="#001d29"></a-plane>
<!-- floor -->
<a-plane material="src: #concrete-wall-texture;" static-body position="0 0 15" rotation="-90 0 0" width="20" height="10" color="#474747"></a-plane>
<!-- ceiling -->
<a-plane material="src: #floor-texture;" static-body position="0 4 15" rotation="90 0 0" width="24" height="10" color="#FFFFFF"></a-plane>
<!-- lower walls -->
<a-plane material="src: #floor-texture;" static-body position="0 1 20" rotation="0 180 0" width="20" height="2" color="#001d29"></a-plane>
<a-plane material="src: #floor-texture;" static-body position="10 1 15" rotation="0 -90 0" width="10" height="2" color="#001d29"></a-plane>
<a-plane material="src: #floor-texture;" static-body position="-10 1 15" rotation="0 90 0" width="10" height="2" color="#001d29"></a-plane>
<!-- upper walls -->
<a-plane material="src: #floor-texture;" static-body position="0 3 20" rotation="0 180 0" width="20" height="2" color="#007eb0"></a-plane>
<a-plane material="src: #floor-texture;" static-body position="10 3 15" rotation="0 -90 0" width="10" height="2" color="#007eb0"></a-plane>
<a-plane material="src: #floor-texture;" static-body position="-10 3 15" rotation="0 90 0" width="10" height="2" color="#007eb0"></a-plane>
<!-- robot machine -->
<a-box material="src: #floor-texture;" position="-9 1.5 15" width="3" height="3" depth="2"></a-box>
<a-entity id="machine-entrance" position="0 1.25 0">
<a-box position="-6 0 15.75" width="4" height="2.5" depth="0.25" material="src: #floor-texture; color:#595959"></a-box>
<a-box position="-6 0 14.25" width="4" height="2.5" depth="0.25" material="src: #floor-texture; color:#595959"></a-box>
<a-box position="-6 -1.125 15" width="4" height="0.25" depth="1.5" material="src: #floor-texture; color:#595959"></a-box>
<a-box position="-6 1.125 15" width="4" height="0.25" depth="1.5" material="src: #floor-texture; color:#595959"></a-box>
</a-entity>
<!-- conveyor belt -->
<a-box position="0 0.25 15" width="12.75" height="0.05" depth="1" material="src: #floor-texture; color:black"></a-box>
<!-- crane arm -->
<a-plane position="0 0.005 18" rotation="-90 0 0" width="8" height="3" material="color:#818282"></a-plane>
<a-entity id="crane">
<a-cylinder position="0 0.25 18" rotation="-180 0 0" radius="1" height="0.5" material="color:black"></a-cylinder>
<a-cylinder position="0 1 18" rotation="-180 0 0" radius="0.1" height="2" material="color:#818282"></a-cylinder>
<a-sphere position="0 1.95 18" radius="0.15" material="color:yellow"></a-sphere>
<a-cylinder position="0 2.55 16.95" rotation="120 0 0" radius="0.1" height="2.5" material="color:#818282"></a-cylinder>
<a-sphere position="0 3.15 15.9" radius="0.15" material="color:yellow"></a-sphere>
<a-cylinder position="0 3.15 15.5" rotation="90 0 0" radius="0.1" height="0.75" material="color:#818282"></a-cylinder>
<a-sphere position="0 3.15 15" radius="0.15" material="color:yellow"></a-sphere>
<a-cylinder position="0 2.75 15" rotation="-180 0 0" radius="0.1" height="1" material="color:#818282"></a-cylinder>
<a-cylinder position="0 2.25 15" rotation="-180 0 0" radius="0.5" height="0.1" material="color:black">
<a-entity id="thing" raycaster="objects: .replayHeads; showLine: true;" position="0 -0.9 0" rotation="90 0 0"></a-entity>
</a-cylinder>
</a-entity>
<!-- truck -->
<a-entity id="truck" position="4 2.5 0">
<!-- back -->
<a-box position="6 0 15.75" width="4" height="2.5" depth="0.25" material="color:#595959"></a-box>
<a-box position="6 0 14.25" width="4" height="2.5" depth="0.25" material="color:#595959"></a-box>
<a-box position="6 -1.125 15" width="4" height="0.25" depth="1.5" material="color:#595959"></a-box>
<a-box position="6 1.125 15" width="4" height="0.25" depth="1.5" material="color:#595959"></a-box>
<!-- wheels -->
<a-cylinder position="5.25 -1.9 14" height="0.25" radius="0.6" rotation="90 0 0" material="color:black"></a-cylinder>
<a-cylinder position="5.25 -1.9 14.3" height="0.25" radius="0.6" rotation="90 0 0" material="color:black"></a-cylinder>
<a-cylinder position="5.25 -1.9 16" height="0.25" radius="0.6" rotation="90 0 0" material="color:black"></a-cylinder>
<a-cylinder position="5.25 -1.9 15.7" height="0.25" radius="0.6" rotation="90 0 0" material="color:black"></a-cylinder>
<!-- rims -->
<a-cylinder position="5.25 -1.9 13.95" height="0.25" radius="0.35" rotation="90 0 0" material="color:#595959"></a-cylinder>
<a-cylinder position="5.25 -1.9 16.05" height="0.25" radius="0.35" rotation="90 0 0" material="color:#595959"></a-cylinder>
<!-- axle -->
<a-cylinder position="5.25 -1.9 15" height="2" radius="0.1" rotation="90 0 0" material="color:#595959"></a-cylinder>
<!-- ramp -->
<a-box position="3.25 -1.55 15" rotation="0 0 35" width="2.25" height="0.05" depth="1" material="color:blue"></a-box>
</a-entity>
</a-entity>
<!-- Player -->
<a-entity sound="src: #factory-ambient-noise; autoplay: true; loop: true; volume: 0.01; positional: false;" id="rig" position="-1.75 0 -2.5">
<a-entity id="camera" camera mirror-movement static-body="shape: sphere; sphereRadius: 0.19;">
<a-plane id="fadePlane" position="0 0 -0.01" width="10" height="10" opacity="1.0" color="black" visible="true">
<a-text id="startTitleText" value="Off-Killter" scale="0.01 0.01 0.01" position="-0.005 0.004 0"></a-text>
<a-text id="startGameText" value="Enter VR to begin" color="grey" scale="0.0025 0.0025 0.0025" position="-0.00035 0.0028 0"></a-text>
<a-text id="startSocialTextPre" value="Created by" color="grey" scale="0.002 0.002 0.002" position="-0.0015 -0.0043 0"></a-text>
<a-text id="startSocialText" value="@elocnat" scale="0.004 0.004 0.004" position="-0.0025 -0.005 0"></a-text>
<a-text id="startSocialTextAction" value="Follow me on Twitter and send me feedback with the hashtag #OffKillter!" wrap-count="75" color="grey" scale="0.005 0.005 0.005" position="-0.0095 -0.006 0"></a-text>
</a-plane>
</a-entity>
<a-entity id="leftHand" teleport-controls="cameraRig: #rig; teleportOrigin: #camera;" hand-controls="hand: left; handModelStyle: lowPoly;" mirror-movement haptics static-body="shape: sphere; sphereRadius: 0.02;"></a-entity>
<a-entity id="rightHand" camera-rotation hand-controls="hand: right; handModelStyle: lowPoly;" mirror-movement haptics triggered static-body="shape: sphere; sphereRadius: 0.02;"></a-entity>
<!-- NOTE: For something to be intersected, needs to have class="links"! -->
<a-entity laser-controls="hand: right; model: false;" raycaster="objects: .links; far: 10" line="color: blue; opacity: 0.25"></a-entity>
</a-entity>
<!-- Replay body -->
<a-entity id="mirrorBody" position="9 0 0" rotation="0 90 0" visible="true">
<a-entity id="leftCube">
<a-entity id="mirrorLeftHand" rotation="0 0 90" gltf-model="#leftHandModel"></a-entity>
</a-entity>
<a-entity id="rightCube">
<a-entity id="mirrorRightHand" rotation="0 0 -90" gltf-model="#rightHandModel"></a-entity>
</a-entity>
<a-entity id="headCube">
<a-sphere id="mirrorHead" rotation="0 90 0" material="src: #face-texture; flatShading: true; width: 0.5;" radius="0.15"></a-sphere>
</a-entity>
</a-entity>
<!-- TV screen recording mirror body -->
<a-entity id="tvBody" position="-5.25 0.75 -1.5" scale="0.5 0.5 0.5" rotation="0 115 0" visible="false">
<a-entity id="tvleftCube">
<a-entity id="mirrorLeftHand" rotation="0 0 90" gltf-model="#leftHandModel"></a-entity>
</a-entity>
<a-entity id="tvrightCube">
<a-entity id="mirrorRightHand" rotation="0 0 -90" gltf-model="#rightHandModel"></a-entity>
</a-entity>
<a-entity id="tvheadCube">
<a-sphere id="mirrorHead" rotation="0 90 0" material="src: #face-texture; flatShading: true; width: 0.5;" radius="0.15"></a-sphere>
</a-entity>
</a-entity>
<!-- UI -->
<a-entity id="ui">
<a-text id="diffMeter" color="black" value="MOVE TO FILL" align="center" position="-5.5 0.25 0" rotation="-25 270 0" material="color: pink" scale="0.7 0.7 0.7" visible='false'>
<a-plane id="topBar" position="0 0.275 0" width="4.1" height="0.05" color="black"></a-plane>
<a-plane id="bottomBar" position="0 -0.275 0" width="4.1" height="0.05" color="black"></a-plane>
<a-plane id="leftBar" position="-2.025 0 0" width="0.05" height="0.5" color="black"></a-plane>
<a-plane id="rightBar" position="2.025 0 0" width="0.05" height="0.5" color="black"></a-plane>
</a-text>
<a-text id="diffButton" class="links" value="EASY" geometry="primitive:plane; width: 2; height: 1" align="center" position="1 1.55 -9.95" rotation="0 0 0" material="color: green" scale="0.7 0.7 0.7" visible="false" button-intersect>
<a-text id="diffButtonText" value="(Click to change difficulty)" align="center" position="0 -0.2 0" scale="0.5 0.5 0.5" button-intersect></a-text>
</a-text>
<a-text id="startText" class="links" scale="1 1 1" value="Record 3 animations to start!" color="white" position="-9.9 2.5 0" rotation="0 90 0" align="center" visible="true" button-intersect></a-text>
<a-text id="replayHeading" scale="1.5 1.5 1.5" value="Robot Replay Preview Station" color="black" position="9.9 3 0" rotation="0 -90 0" align="center" visible="true"></a-text>
<a-text id="replayButton" class="links" value="REPLAY RECORDING" geometry="primitive:plane" position="9 1.25 3" rotation="0 -100 0" material="color: grey" scale="0.7 0.7 0.7" align="right" visible="false" button-intersect></a-text>
<a-text id="recTeleportButton" class="links" value="GO TO RECORDING STATION" geometry="primitive:plane" position="9.9 1.25 -2" rotation="0 -80 0" material="color: grey" scale="0.7 0.7 0.7" align="right" button-intersect></a-text>
<a-text id="recordButton" class="links" value="START RECORDING" geometry="primitive:circle" position="-9 1.25 3" rotation="0 115 0" material="color: red" scale="0.7 0.7 0.7" button-intersect></a-text>
</a-entity>
</a-scene>
</body>
</html>