-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (43 loc) · 1.56 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Fiery Abyss</title>
<link rel="stylesheet" href="./css/style.css">
<link rel="icon" href="./assets/logo.jpg">
</head>
<body>
<div id="info">
<div class="info_texts">
<h2 id="health">Health : 100</h2>
<h2 id="ammo">Ammo : 10/20</h2>
<h2 id="position">Position : 0 0 0</h2>
</div>
</div>
<div class="hud">
<div id="weapon"></div>
</div>
<div class="main_menu">
<img class="logo" src="./assets/logo.jpg" alt="logo" id="logo">
<h2>Click to close the menu</h2>
<button type="submit" id="resume">Resume</button>
<div id="Infos" class="tutorial">
<h2>Controls</h2>
<p>- Use the arrow keys to move around (Or `ZQSD`)</p>
<p>- Press your left mouse button to shoot</p>
<p>- Press `R` to reload the gun</p>
<p>- Use the mouse to look around</p>
</div>
<div id="settings" class="tutorial">
<script type="module">
import * as settings from './js/settings.js';
settings.displaySettings();
</script>
</div>
</div>
<script type="module" src="./js/main.js"></script>
<script src="./js/menu.js"></script>
<script src="./js/gun.js"></script>
<script src="./js/health.js"></script>
</body>
</html>