-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
96 lines (86 loc) · 2.58 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="__BUILD_TIME" content="" />
<meta name="__BUILD_VERSION" content="" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<title>Battle City</title>
</head>
<body>
<div id="container">
<div id="video-container">
<canvas id="game" width="416" height="416"></canvas>
</div>
<div id="tips-container" class="hide">
<div id="operate-tips">
<h2>游戏操作</h2>
<div class="operate-group">
<h3>玩家一</h3>
<div>
<div class="opt-btn">左<div>A</div>
</div>
<div class="opt-btn">上<div>W</div>
</div>
<div class="opt-btn">下<div>S</div>
</div>
<div class="opt-btn">右<div>D</div>
</div>
<div class="opt-btn">单发<div>G</div>
</div>
<div class="opt-btn">连发<div>H</div>
</div>
<div class="opt-btn">选择<div>V</div>
</div>
<div class="opt-btn">开始<div>B</div>
</div>
</div>
</div>
<div class="operate-group">
<h3>玩家二</h3>
<div>
<div class="opt-btn">左<div>←</div>
</div>
<div class="opt-btn">上<div>↑</div>
</div>
<div class="opt-btn">下<div>↓</div>
</div>
<div class="opt-btn">右<div>→</div>
</div>
<div class="opt-btn">单发<div>k</div>
</div>
<div class="opt-btn">连发<div>l</div>
</div>
</div>
</div>
</div>
<div id="copy-right">
DISIN BY HEC9527
</div>
</div>
<div id="controller-container">
<div id="layout">
<div>布局</div>
</div>
<div id="control-wrap">
<div class="control" id="control">
<div id="rocker"></div>
</div>
</div>
<div class="menu" id="menu">
<div id="select" class="btn">SELECT</div>
<div id="start" class="btn">START</div>
</div>
<div class="action" id="action">
<div id="A" class="btn">A</div>
<div id="C" class="btn">C</div>
<div id="B" class="btn">B</div>
<div id="D" class="btn">D</div>
</div>
</div>
</div>
<script src="/src/index.ts" type="module"></script>
</body>
</html>