-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (58 loc) · 2.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FastMine</title>
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fira+Mono:wght@700&display=swap" rel="stylesheet">
<!-- Style -->
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="title-screen", class="menu">
<img class="title" src="res/title.png">
<span class="start-prompt">Click to play.</span>
<img class="menu-background" src="res/background.png">
</div>
<div id="death-screen" class="menu">
<img class="title" src="res/death.png">
<span class="start-prompt">Click to try again.</span>
<img class="menu-background" src="res/background.png">
</div>
<div id="hud">
<div id="healthbar">
<canvas id="radar" width="200" height="200"></canvas>
<div id="health-background"></div>
<div id="health"></div>
</div>
<span id="money">$0</span>
<span id="level">Lv1</span>
<div id="hud-center">
<img src="res/cursor.png">
</div>
</div>
<script src="deps/noisejs/perlin.js"></script>
<script type="module" src="deps/three.js"></script>
<script type="module" src="deps/OBJLoader.js"></script>
<script type="module" src="src/player.js"></script>
<script type="module" src="src/input.js"></script>
<script type="module" src="src/chunk.js"></script>
<script type="module" src="src/cubeMesh.js"></script>
<script type="module" src="src/direction.js"></script>
<script type="module" src="src/physics.js"></script>
<script type="module" src="src/world.js"></script>
<script type="module" src="src/blocks.js"></script>
<script type="module" src="src/enemyMiner.js"></script>
<script type="module" src="src/hatch.js"></script>
<script type="module" src="src/radar.js"></script>
<script type="module" src="src/blockInteractionProvider.js"></script>
<script type="module" src="src/gameMath.js"></script>
<script type="module" src="src/resources.js"></script>
<script type="module" src="src/debug.js"></script>
<script type="module" src="src/main.js"></script>
</body>
</html>