This repository has been archived by the owner on Jun 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
120 lines (111 loc) · 4.15 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Ballance Online - Ballance 15 years</title>
<link rel="stylesheet" href="main.scss">
</head>
<body class="main">
<div id="main-menu" style="display: none" class="wrapper">
<div class="button-wrapper">
<h1>BallanceOnline</h1>
<div class="flex-w">
<div id="start" class="button-item">
<span class="ball"></span>
<span class="text">START</span>
<img class="icon" src="./public/images/btn.png">
</div>
<!-- <div class="button-item">
<span class="ball"></span>
<span class="text">HIGHSCORE</span>
<img class="icon" src="./public/images/btn.png">
</div> -->
<div id="debug-mode" class="button-item">
<span class="ball"></span>
<span class="text">DEBUG MODE</span>
<img class="icon" src="./public/images/btn.png">
</div>
<div id="help" class="button-item">
<span class="ball"></span>
<span class="text">HELP</span>
<img class="icon" src="./public/images/btn.png">
</div>
<div id="about" class="button-item">
<span class="ball"></span>
<span class="text">ABOUT</span>
<img class="icon" src="./public/images/btn.png">
</div>
<!-- <div class="button-item">
<span class="ball"></span>
<span class="text">CREDITS</span>
<img class="icon" src="./public/images/btn.png">
</div> -->
<!-- <div class="button-item">
<span class="ball"></span>
<span class="text">EXIT</span>
<img class="icon" src="./public/images/btn.png">
</div> -->
</div>
<div style="display: none" class="lose">
<h2>YOU LOSE!</h2>
<p>Currently hold [Space] can fly in the sky to avoid some unexpected bugs in the scene.</p>
<div id="retry" class="button-item retry">
<span class="ball"></span>
<span class="text">Retry</span>
<img class="icon" src="./public/images/btn.png">
</div>
</div>
<div style="display: none" class="win">
<h2>YOU WIN!</h2>
<div id="play-again" class="button-item play-again">
<span class="ball"></span>
<span class="text">Play Again</span>
<img class="icon" src="./public/images/btn.png">
</div>
</div>
<div style="display: none" class="about">
<h2>About</h2>
<p>Version: v0.0.1</p>
<p>Demo Source Code: </p>
<p><a href="https://github.com/tlbai/ballanceonline-demo">https://github.com/tlbai/ballanceonline-demo</a></p>
<p>Contact: [email protected]</p>
<div id="about-back" class="button-item back">
<span class="ball"></span>
<span class="text">BACK</span>
<img class="icon" src="./public/images/btn.png">
</div>
</div>
<div style="display: none" class="help">
<h2>Help</h2>
<p>[WASD] or [Arrow Keys] can control the ball moving.</p>
<p>[Space] Key can make the ball jump.</p>
<p>Hold the [Space] key can make the ball fly in the sky</p>
<p>to avoid some unexpected bug in the scene.</p>
<div id="help-back" class="button-item back">
<span class="ball"></span>
<span class="text">BACK</span>
<img class="icon" src="./public/images/btn.png">
</div>
</div>
<div class="version">v0.0.1</div>
</div>
</div>
<div id="container">
</div>
<!-- It seems Parcel doesn't support bundle external resource/library -->
<!-- https://github.com/parcel-bundler/parcel/issues/144 -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-136841761-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-136841761-1');
</script>
<script src="http://ballanceonline.com/ammo.js"></script>
<script src="http://ballanceonline.com/three.min.js"></script>
<script src="./index.js"></script>
</body>
</html>