-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
44 lines (33 loc) · 1.42 KB
/
Copy pathindex.html
File metadata and controls
44 lines (33 loc) · 1.42 KB
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
<html>
<head>
<script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/gun/gun.js"></script>
<script>
let gun = Gun('https://stonegun.herokuapp.com/gun')
</script>
<script src="components/gamestate.js"></script>
<script src="components/enemies.js"></script>
<script src="components/player.js"></script>
<script type="module" src="components/mint.js"></script>
</head>
<body>
<a-scene vr-mode-ui="enabled: false">
<a-box id="player" player wasd-controls="acceleration: 60; adInverted: false; wsInverted: true; adAxis: z; wsAxis: x" position="-1 0.5 -3" rotation="0 0 0" color="#e9c46a">
<a-entity id="playerText" text=" align: center" scale="15 15 15" position="1 0 0" rotation="-90 0 -90"></a-entity>
</a-box>
<a-entity id="enemies" enemies color="#e76f51"></a-entity>
<a-plane rotation="-90 0 0" width="400" height="400" color="#2a9d8f"></a-plane>
<a-sky color="#ECECEC"></a-sky>
<a-entity id="rig" position="0 20 0" rotation="-90 90 180">
<a-entity id="camera" camera spectator></a-entity>
</a-entity>
</a-scene>
<div style="position:absolute; top:0px; left:0px; padding:20;z-index:1000;">
<button id="teleportButton"> teleport </button>
<br/>
<br/>
<div > hack detections: </div>
<ul id="hacks"></ul>
</div>
</body>
</html>