-
Notifications
You must be signed in to change notification settings - Fork 2
/
howToPlay.html
162 lines (144 loc) · 5.88 KB
/
howToPlay.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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!DOCTYPE html>
<html>
<head>
<title>3D Pacman - How to Play</title>
<link rel="shortcut icon" href="favicon.png">
<!-- 글꼴 적용 -->
<meta charset="utf-8">
<link href="font/fontStyle.css" rel="stylesheet">
<!-- 배경색 적용 -->
<style>
body {
background-color: #000000;
}
</style>
<!-- 여러 가지 적용 -->
<style>
.buttonTitle {
width: 100%;
height: 30px;
margin-bottom: 16px;
}
.leftButton {
width: 50%;
float: left;
text-align: right;
background: #000000;
}
.rightButton {
width: 50%;
float: right;
background: #000000;
}
.button {
background-color: rgb(122, 241, 92);
border: none;
color: black;
font-family: "bing";
font-size: 30px;
padding: 0px 50px;
text-align: center;
text-decoration: none;
cursor: pointer;
margin-left: 10px;
margin-right: 10px;
}
.button:active {
background-color: #3e8e41;
box-shadow: 0 5px #666;
transform: translateY(4px);
}
.button:hover {background-color: tomato}
#title {
color: #000000;
font-size: 2.5em;
width: 100%;
text-align: "center";
}
table {
width: 100%;
height: 400px;
text-align: "center";
margin-top: 20px;
display: inline;
}
#th {
color: #ffd400;
font-size: 1.5em;
}
th {
border: 2px solid #000000;
background-color: #000000;
}
td {
text-align: "left";
padding: 10px 10px;
}
th, tr {
color: #ffffff;
}
</style>
</head>
<body>
<audio autoplay loop>
<source src="./audio/sound_intro.mp3" type="audio/mp3">
</audio>
<div id = "title" style = "text-align: center; background-color: white;"> <span>How to Play</span> </div>
<div style = "width: 100%; margin-top: 15px;">
<div style = "width: 50%; float:left; text-align: center; margin-bottom: 8px;">
<table width="50%">
<th colspan = "2">
<div id = "th"> <span>INTRODUCTION</span> </div>
</th>
<tr>
<td><img type = "itemImage" src = "image/pacman.png" width = "100" height = "100"></td>
<td align=left style = "font-family: bing">This is PACMAN.<br><br>You can control Pacman with W, A, S, D keyboard keys.</td>
</tr>
<tr>
<td><img id = "itemImage" src = "image/ghost.png" width = "100" height = "100"></td>
<td align=left style = "font-family: bing">This is Ghost.<br><br>If you touch the ghost, Pacman dies.</td>
</tr>
<tr>
<td><img id = "itemImage" src = "image/teleport.png" width = "100" height = "100"></td>
<td align=left style = "font-family: bing">This is Teleport.<br><br>If you arrive at the teleport, you can move to another teleport location.</td>
</tr>
</table>
</div>
<div style = "width: 50%; float:left; text-align: center; margin-bottom: 8px;">
<table>
<th colspan = "2">
<div id = "th"> <span>ITEM & EFFECT</span> </div>
</th>
<tr>
<td><img type = "itemImage" src = "image/item1.png" width = "50" height = "50"></td>
<td align=left width = "100%" style = "font-family: bing">Arrow key changes the other way around.</td>
</tr>
<tr>
<td><img id = "itemImage" src = "image/item2.png" width = "50" height = "50"></td>
<td align=left style = "font-family: bing">Pacman's speed changes randomly.</td>
</tr>
<tr>
<td><img id = "itemImage" src = "image/item3.png" width = "50" height = "50"></td>
<td align=left style = "font-family: bing">Pacman's size gets bigger.</td>
</tr>
<tr>
<td><img id = "itemImage" src = "image/item4.png" width = "50" height = "50"></td>
<td align=left style = "font-family: bing">Pacman can kill the ghosts.</td>
</tr>
<tr>
<td><img id = "itemImage" src = "image/item5.png" width = "50" height = "50"></td>
<td align=left style = "font-family: bing">The camera view changes 3D to 2D.</td>
</tr>
</table>
</div>
</div>
<div class = "buttonTitle">
<div class = "leftButton">
<input type = "button" value= "Back" class = "button" style = "font-size: 2em" onClick="location.href='index.html'"></button>
</div>
<div class = "rightButton">
<input type = "button" value = "Start" class = "button" style = "font-size: 2em" onClick="location.href='game.html'"></button>
</div>
</div>
</body>
</html>