-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
30 lines (23 loc) · 1.03 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
<html>
<head>
<script src="https://aframe.io/releases/0.5.0/aframe.min.js"></script>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="script.js"></script>
</head>
<body>
<a-scene>
<a-assets>
<img id="intro" src="introscreen.png">
<img id="start" src="Start.png">
</a-assets>
<a-camera look-controls wasd-controls-enabled="false">
<a-entity id="cursor" cursor="fuse: true; fuseTimeout: 1000" position="0 0 -0.1" geometry="primitive: ring; radiusInner: 0.0015; radiusOuter: 0.0025" material="color: red; shader: flat">
<a-animation begin="Fuse" easing="ease-in" dur="1000" attribute="scale" fill="none" to="0.1 0.1 0.1"></a-animation>
</a-entity>
</a-camera>
<a-sky color="#000000"></a-sky>
<a-image src="#intro" position="0 1.6 -0.5" scale="1.5 1 1"></a-image>
<a-image id="button" src="#start" position="0 1.3 -0.4" scale="0.15 0.07"></a-image>
</a-scene>
</body>
</html>