-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (58 loc) · 2.19 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Maturitní projekt - ThreeJS 3D hra</title>
</head>
<body>
<div id="crosshair">
<img src="Icons/crosshair.svg" loading="lazy">
</div>
<div id="game-settings" class="active" style="display:none;">
<div>
<button id="resume-button">Hrát</button>
<button id="exit-button">Vypnout</button>
</div>
<div>
<h2>Ovládání</h2><br>
<div>Pohyb - WASD</div>
<div>Akce - Levé tlačítko myši</div>
<div>Otáčení - myš</div>
</div>
<div id="init-time-container">
<div>Herní čas (s)</div>
<input type="number" name="" id="init-time" style="height:30px;">
</div>
</div>
<!-- <div id="stats">
<div id="camera-dir-stats" style="padding:10px;background-color:black;">
<h2>Directions</h2>
<span id="xcord-dir"></span>
<span id="ycord-dir"></span>
<span id="zcord-dir"></span>
<span id="direction"></span>
</div>
<div id="camera-pos-stats" style="padding:10px;background-color:black;">
<h2>Kamera pozice</h2>
<span id="xcord-pos"></span>
<span id="ycord-pos"></span>
<span id="zcord-pos"></span>
</div>
</div> -->
<div id="timer-nahore" style="position:absolute;left: 50%; top: 10%; transform: translate(-50%,-50%); z-index:99999999999;font-size:26px;text-align:center;line-height:30px;">
<div>Zbývá sekund : </div>
<div id="time-left"></div>
</div>
<div class="progress-bar-container">
<label for="progress-bar">Načítání...</label>
<progress id="progress-bar" value="0" max="100"></progress>
</div>
<div id="app"></div>
<script type="module" src="/main.js"></script>
<script type="module" src="/Setup/RendererSetup.js"></script>
<script>
(function(){var script=document.createElement('script');script.onload=function(){var stats=new Stats();document.body.appendChild(stats.dom);requestAnimationFrame(function loop(){stats.update();requestAnimationFrame(loop)});};script.src='//mrdoob.github.io/stats.js/build/stats.min.js';document.head.appendChild(script);})()
</script>
</body>
</html>