-
Notifications
You must be signed in to change notification settings - Fork 12
/
index.html
56 lines (50 loc) · 1.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<title>Three js runner</title>
<link rel="icon" href="favicon.ico" />
</head>
<body>
<canvas id='gameCanvas'></canvas>
<div id='display'>
<div id='bestResult'>
<div id='bestTitle'>HI:</div>
<div id='bestValue'>00000</div>
</div>
<div id='score'>
<div id='scoreValue'>00000</div>
</div>
</div>
<div class="startMenu">
<div id='logoTrex'>
<div id='logoWrapDiv'><img src="./models/trex.png" alt="" class="logo"></div>
<div id='instruction'>
<div id='up'>
<span id='upDownIcons'>↑</span><span>Jump</span>
</div>
<div id='down'>
<span id='upDownIcons'>↓</span><span>Duck</span>
</div>
</div>
</div>
<div id='startMenuText'>
T-REX ENDLESS RUNNER
</div>
<div id='loadingBar'>
<div id='loadingBarValue'></div>
<div class="startGameButton">
START
</div>
</div>
</div>
<div id='collapsedScreen'>
<div id='finalScore'>
</div>
<div id='restartButton'>
Restart
</div>
</>
</body>
</html>