-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
index.html
74 lines (70 loc) · 2.12 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Qake Engine 3</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
color: #ffffff;
background-color: #000000;
margin: 0px;
overflow: hidden;
}
#info {
position: absolute;
top: 0px;
width: 100%;
padding: 5px;
font-family: Monospace;
font-size: 13px;
text-align: center;
font-weight: bold;
}
a {
color: #fff;
}
p {
color: #fff;
}
</style>
<script
src="https://code.jquery.com/jquery-3.1.1.min.js"
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
crossorigin="anonymous"></script>
</head>
<body>
<div id="info" style="color: #FFFFFF; margin-top: 0px; position: absolute; z-index:100;">
<span>Switch Weapon: <b style="color: #FF0000;">F</b> Drop Weapon: <b style="color: #FF0000;">E</b> Walk: <b style="color: #ff0000;">WASD (+mouse)</b> Flashlight On/Off: <b style="color: #FF0000;">T/R</b> </span>
<span><button style="margin-left: 10px;" id="lock" class="btn btn-sm btn-primary" onclick="LockPointer();">Lock Mouse</button></span>
</div>
<div id="stats" style="color: #FFFFFF; margin-top: 30px; position: absolute; z-index:100;">
<p id="blocks"></p>
<p id="triangles"></p>
<p id="skipped"></p>
<p id="particles"></p>
</div>
<div style="position: relative; z-index: 1; " id="container"></div>
<script src="lib/three.js"></script>
<script src="lib/Detector.js"></script>
<script src="lib/stats.min.js"></script>
<script src="lib/THREEx.KeyboardState.js"></script>
<script src="js/weapon.js"></script>
<script src="js/sound.js"></script>
<script src="js/char.js"></script>
<script src="js/vox.js"></script>
<script src="js/objects.js"></script>
<script src="js/textures.js"></script>
<script src="js/chunk.js"></script>
<script src="js/world.js"></script>
<script src="js/map.js"></script>
<script src="js/utils.js"></script>
<script src="js/particles.js"></script>
<script src="js/model_loader.js"></script>
<script src="js/main.js"></script>
<script>
var game = new Main();
game.init();
</script>
</body>
</html>