-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (40 loc) · 1.38 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>Desert Dash</title>
<link rel="stylesheet" href="./css/index.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/build/three.js"></script>
<script src="https://unpkg.com/[email protected]/examples/js/loaders/GLTFLoader.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tween.js/21.0.0/tween.umd.js" integrity="sha512-iPPs+A0ew4z+jybQ1r6HPj5b8zV8zaw6TpfGn/qqntA480gp6HDfUJGp1ni46LXrItwnTvYlg80h1NIkC4pf6g=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="js/game.js"></script>
<script src="js/main.js"></script>
</head>
<body>
<div id="info-container">
<div id="content-wrapper">
<div id="health-container">
<div id="heart-container">
</div>
</div>
<div id="distance-container">
<h1 id="distance-value"></h1>
</div>
</div>
</div>
<div id="intro-panel">
<div id="intro-column">
<div id="intro-title">Desert Dash</div>
<button id="start-button">START GAME!</button>
</div>
</div>
<div id="game-over-panel">
<div id="game-over-column">
<div id="game-over-title">GAME OVER!</div>
<div id="game-over-distance-row">Distance: <div id="game-over-distance"></div></div>
<button id="try-again-button">TRY AGAIN</button>
</div>
</div>
</body>
</html>