-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (52 loc) · 2.42 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
<html>
<head>
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
<script src="//unpkg.com/aframe-leap-hands/dist/aframe-leap-hands.umd.js"></script>
<script src="https://unpkg.com/[email protected]/dist/aframe-event-set-component.min.js"></script>
<script src="https://rawgit.com/IdeaSpaceVR/aframe-ui-modal-component/master/dist/aframe-ui-modal-component.min.js"></script>
<script src="https://harlyq.github.io/aframe-randomize-component/aframe-randomize-component.js"></script>
<script src="https://unpkg.com/[email protected]/dist/aframe-entity-generator-component.min.js"></script>
<script src="https://rawgit.com/rdub80/aframe-gui/master/dist/aframe-gui.min.js"></script>
<script src="core.js"></script>
<!-- <script src="move.js"></script> -->
<script>
</script>
</head>
<body>
<a-scene background="color: #ff4700">
<a-camera>
<a-cursor color="#FFF"></a-cursor>
</a-camera>
<!-- <a-entity ui-modal visible="false">
<a-plane width="3" height="1" color="red" position="0.9 -10 -5"></a-plane>
<a-text value="PARABÉNS VOCÊ ACERTOU O BALÃO"></a-text>
</a-entity> -->
<!-- curve
<a-curve id="track1" >
<a-curve-point position="0.9 -10 -5"></a-curve-point>
<a-curve-point position="0 1 -3"></a-curve-point>
<a-curve-point position="2 2 -3"></a-curve-point>
</a-curve>
<a-sphere id=1 radius="0.40" alongpath="curve: #track1; loop: true; dur: 8000"
change-color-on-hover="color: blue"></a-sphere> -->
<a-sphere ballon
id="ball"
valor="25"
position="0.9 -5 0"
radius="0.80"
color="#FFF"
change-color-on-hover="color: blue"
event-set__click="material.color: red;"
animation="property: position; to: 0 6.03 -12.54; dur: 8500; easing: linear; loop: true"
sound="on: click; src: url(splash.wav)">
</a-sphere>
<!-- <a-sound src="src: url(Baboons-with-Balloons.mp3)" autoplay="true" position="0 2 5"></a-sound> -->
<!-- <a-sky color="#eb4c24" src="https://c3.staticflickr.com/2/1475/26239222850_cabde81c39_k.jpg"></a-sky> -->
<!-- <a-sky src="https://cdn.eso.org/images/publicationjpg/uhd-img-8535pv2-cc-eq-extended.jpg"></a-sky> -->
</a-scene>
</body>
<script src="controller.js"></script>
<script>
init();
</script>
</html>