generated from dabaz-archived/dabja
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
95 lines (88 loc) · 3.02 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Dabja - An 8kB game by DabAZ</title>
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
<meta name="description" content="An 8kB game by DabAZ">
<meta name="theme-color" content="#2c3f51">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- build:css combined.css -->
<link rel="stylesheet" href="css/style.css">
<!-- endbuild -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-139938978-1"></script>
<script>
if (location.hostname !== 'localhost') {
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-139938978-1');
}
</script>
</head>
<body>
<!-- Game canvas -->
<canvas id="c"></canvas>
<!-- Gameplay HUD -->
<div class="hud">
<div class="hud__score">
<div class="score-lbl"></div>
<div class="cube-count-lbl"></div>
</div>
<div class="pause-btn"><div></div></div>
<div class="slowmo">
<div class="slowmo__bar"></div>
</div>
</div>
<!-- Menu System -->
<div class="menus">
<div class="menu menu--main">
<h1>DABJA</h1>
<button type="button" class="play-normal-btn">PLAY GAME</button>
<button type="button" class="play-casual-btn">CASUAL MODE</button>
<a href="index_cn.html"><button type="button">中文版</button></a>
<div class="credits">An 8kB game by <a href="https://dabaz.me">DabAZ</a></div>
</div>
<div class="menu menu--pause">
<h1>Paused</h1>
<button type="button" class="resume-btn">RESUME GAME</button>
<button type="button" class="menu-btn--pause">MAIN MENU</button>
</div>
<div class="menu menu--score">
<h1>Game Over</h1>
<h2>Your Score:</h2>
<div class="final-score-lbl"></div>
<div class="high-score-lbl"></div>
<button type="button" class="play-again-btn">PLAY AGAIN</button>
<button type="button" class="menu-btn--score">MAIN MENU</button>
</div>
</div>
<!-- build:js combined.js -->
<script src="js/globalConfig.js"></script>
<script src="js/state.js"></script>
<script src="js/utils.js"></script>
<script src="js/3dModels.js"></script>
<script src="js/Entity.js"></script>
<script src="js/getTarget.js"></script>
<script src="js/createBurst.js"></script>
<script src="js/sparks.js"></script>
<script src="js/hud.js"></script>
<script src="js/menus.js"></script>
<script src="js/actions.js"></script>
<script src="js/tick.js"></script>
<script src="js/draw.js"></script>
<script src="js/canvas.js"></script>
<script src="js/interaction.js"></script>
<script src="js/index.js"></script>
<!-- endbuild -->
<!-- build:remove -->
<script src="js/PERF.js"></script>
<script src="js/tests/expect.min.js"></script>
<script src="js/tests/testRunner.js"></script>
<script src="js/tests/utils.test.js"></script>
<!-- endbuild -->
</body>
</html>