-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (84 loc) · 2.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="Rhythm game" content="width=device-width, initial-scale=1.0" />
<meta name="color-scheme" content="light">
<title>Rhythm game</title>
<link rel="stylesheet" href="./styles/style.css" />
<script src="./scripts/chart.js"></script>
<script src="./scripts/game.js"></script>
<script src="./scripts/line.js"></script>
<script src="./scripts/note.js"></script>
</head>
<body>
<div id="bg_layer">
<div id="game">
<div id="bar"></div>
<div id="line0">
<img id="hitbox0" class="hitbox" />
</div>
<div id="line1">
<img id="hitbox1" class="hitbox" />
</div>
<div id="line2">
<img id="hitbox2" class="hitbox" />
</div>
<div id="line3">
<img id="hitbox3" class="hitbox" />
</div>
<div id="output-combo"></div>
<div id="output-acc"></div>
<div id="output-judge"></div>
</div>
<div id="menu">
<div id="content-menu">
<h1>Game</h1>
<h3>subtitle!!!</h3>
<p>DescriptionDescriptionDescriptionDescriptionDescription</p>
<a href="https://github.com/Eternity0xd3/RhythmGame" target="_blank">
github repository
</a>
<br /><br />
<b>Play it with full screen</b>
<br /><br />
<div id="btn-group" style="display: block">
<button id="start-btn">点击开始</button>
<button id="settings-btn">游戏设置</button>
<br /><br />
</div>
</div>
</div>
<div id="settings">
<div id="content-settings">
<h2>Settings</h2>
<div class="input-group">
<h3 style="font-size: 1em; line-height: 1.3em">speed</h3>
<input class="input" id="speed" maxlength="3" />
</div>
<div class="input-group">
<h3 style="font-size: 1em; line-height: 1.3em">bpm</h3>
<input class="input" id="bpm" maxlength="5" />
</div>
<div class="input-group">
<h3 style="font-size: 1em; line-height: 1.3em">beat</h3>
<input class="input" id="beat" maxlength="3" />
</div>
<br />
<button id="save-btn">保存设置</button>
</div>
</div>
<div id="pause">
<h1>PAUSE</h1>
<br /><br />
<button id="continue-btn">继续</button>
<button id="restart-btn">重来</button>
<button id="quit-btn">退出</button>
</div>
</div>
<script>
//main script
let g = new Game("line0", "line1", "line2", "line3");
</script>
</body>
</html>