-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
353 lines (348 loc) · 12.8 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
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./css/style.css" />
<title>Space Siege</title>
<link rel="icon" type="image/x-icon" href="/assets/favicon.ico" />
</head>
<body>
<navbar class="navbar">
<div class="navbar-central-content">
<div class="left-navbar">
<div class="logo">
<img src="./assets/UI/Diamond Fill.png" alt="logo" height="50px" />
</div>
<div class="nav-items">Home</div>
<div class="nav-items">Heros</div>
<div class="nav-items">Bullets</div>
<div class="nav-items">Enemies</div>
<div class="nav-items">Levels</div>
<div class="nav-items">How To Play</div>
<div style="height: 70px"></div>
</div>
<div class="right-navbar">
<img src="./assets/UI/Shop.png" alt="shop" />
<img src="./assets/UI/Notifications.png" alt="Notifications" />
<img src="./assets/UI/Settings.png" alt="setting" />
<img
src="./assets/UI/Hero card.png"
alt="hero"
height="50px"
style="margin-right: -0.4rem; margin-left: 2rem"
/>
<div class="hero-info">
<span>Mr. Robo Master</span>
<span class="online"> • Online</span>
</div>
<img src="./assets/UI/Settingsleft.png" alt="setting" />
</div>
</div>
</navbar>
<!-- -------------------------MAIN CANVAS SECTION------------------------- -->
<section class="middle">
<div class="dashboard">
<img
src="./assets/UI/score-container.png"
alt="score-container"
class="score-container"
/>
<div class="score-main" id="score-Up">0</div>
<div class="choose-bullet-container">
<div>Choose Bullets</div>
<div class="line"></div>
<div class="weapon-circles">
<img
src="./assets/UI/choose-1-hover.png"
alt="bullet1"
class="chooseBullet"
/>
<img
src="./assets/UI/choose-2.png"
alt="bullet2"
class="chooseBullet"
/>
<img
src="./assets/UI/choose-3.png"
alt="bullet3"
class="chooseBullet"
/>
<img
src="./assets/UI/choose-4.png"
alt="bullet4"
class="chooseBullet"
/>
<img
src="./assets/UI/choose-5.png"
alt="bullet5"
class="chooseBullet"
/>
</div>
</div>
<div class="white-title">
Stats <span> (Tap to increase Stats)</span>
</div>
<div class="line"></div>
<div class="stat-container-parent">
<div class="one" id="health-increase">
<div class="status-container">
<div class="stat-img">
<img src="./assets/UI/stat-health.png" alt="health-stat" />
</div>
<div class="stat-status">
<div>Health</div>
<div class="green" id="health-stat">• 42</div>
</div>
</div>
</div>
<div class="two">
<div class="stat-bar health-bar"></div>
</div>
</div>
<div class="stat-container-parent">
<div class="one" id="bullet-increase">
<div class="status-container">
<div class="stat-img">
<img src="./assets/UI/stat-bullet.png" alt="bullet-stat" />
</div>
<div class="stat-status">
<div>Bullets</div>
<div class="green" id="bullet-stat">•180</div>
</div>
</div>
</div>
<div class="two">
<div class="stat-bar bullet-bar"></div>
</div>
</div>
<div class="stat-container-parent">
<div class="one" id="coin-increase">
<div class="status-container">
<div class="stat-img">
<img src="./assets/UI/stat-coin.png" alt="coin-stat" />
</div>
<div class="stat-status">
<div>Coins</div>
<div class="green" id="coin-stat">•0</div>
</div>
</div>
</div>
<div class="two">
<div class="stat-bar coin-bar"></div>
</div>
</div>
<div class="stat-container-parent last-container">
<div class="one">
<div class="status-container">
<div class="stat-img">
<img src="./assets/UI/stat-score.png" alt="health" />
</div>
<div class="stat-status">
<div>Score</div>
<div class="green" id="score-main">•0</div>
</div>
</div>
</div>
<div class="two"></div>
</div>
</div>
<!-- ------MAIN CANVAS SECTION------- -->
<div>
<div class="gameCanvas-container">
<canvas id="gameCanvas"></canvas>
<div class="pause"></div>
<div class="start"></div>
<div id="dialogue-box">
<div class="flex">
<img
src="./assets/images/gundam shoot-3.png"
alt="middle-dialogue"
/>
<div style="margin-top: 20px">
<button id="restart">Restart</button>
<button id="resume">Resume</button>
<button class="travelMainMenu">Main Menu</button>
</div>
</div>
</div>
<div id="game-over">
<div class="game-over-dialogue">
<div class="flex">
<h1 id="won-or-lost">GAME OVER</h1>
<button class="travelMainMenu">Main Menu</button>
</div>
</div>
</div>
<div class="main-menu" id="main-menu">
<div class="main-flex">
<div class="main-title">Space Siege</div>
<div class="main-description">
Protect your Planet from Alien Attacks. Destroy Enemy space
Crafts. Use different bullets to attack the enemy. Fly anywhere
to attack. Be aware of Missiles and Slime attack. Make sure to
increase your Health.
</div>
<div class="descriptions">
<div><span style="color: aliceblue">•</span> Coins</div>
<div><span style="color: #00e8e8">•</span> Score</div>
<div><span style="color: #a22dff">•</span> Bullet</div>
<div><span style="color: #ead40c">•</span> Health</div>
</div>
<div class="level-buttons">
<button class="btn-level btn-level-active">
Level 1
<div class="mask"></div>
</button>
<button class="btn-level">
Level 2
<div class="mask"></div>
</button>
<button class="btn-level">
Level 3
<div class="mask"></div>
</button>
</div>
</div>
</div>
<div id="heros-section">
<div class="hero-grid">
<div class="hero-grid-3">
<div class="hero-circle-box hero-box-active">
<img src="./assets/select players/0.png" alt="0" />
</div>
<div class="hero-circle-box">
<img src="./assets/select players/1-1.png" alt="1" />
</div>
<div class="hero-circle-box">
<img src="./assets/select players/2-1.png" alt="2" />
</div>
<div class="hero-circle-box">
<img src="./assets/select players/3-1.png" alt="3" />
</div>
<div class="hero-circle-box">
<img src="./assets/select players/4-1.png" alt="4" />
</div>
<div class="hero-circle-box">
<img src="./assets/select players/5-1.png" alt="5" />
</div>
<div class="hero-circle-box">
<img src="./assets/select players/6-1.png" alt="6" />
</div>
<div class="hero-circle-box">
<img src="./assets/select players/7-1.png" alt="7" />
</div>
<div class="hero-circle-box">
<img src="./assets/select players/1-1.png" alt="8" />
</div>
<div class="hero-circle-box">
<img src="./assets/select players/4-1.png" alt="9" />
</div>
<div class="hero-circle-box">
<img src="./assets/select players/3-1.png" alt="10" />
</div>
<div class="hero-circle-box">
<img src="./assets/select players/2-1.png" alt="11" />
</div>
</div>
<div>
<div class="d-fle">
<img
src="./assets/select players/3.png"
alt="top"
id="big-image"
/>
</div>
</div>
</div>
</div>
<div id="bullets-section"></div>
<div id="enemies-section"></div>
<div id="levels-section"></div>
<div id="how-to-play-section"></div>
</div>
</div>
</section>
<!-- -------------------------MAIN CANVAS SECTION END------------------------- -->
<!-- -------------------------BOTTOM Hero Section------------------------- -->
<section class="bottom-hero">
<div class="bottom-flex">
<div class="bottom-container first-bottom-container">
<div class="top-section">
<div style="width: 100px">
<img src="./assets/UI/user.png" alt="user" />
Hero
</div>
<div class="date">14/01/2021</div>
</div>
<div class="line"></div>
<div class="mid-section">
<div>
<img src="./assets/UI/robot.png" alt="robot1" width="56px" />
</div>
<div class="writing">
<span>Robot 1</span>
Dashes around beating Enemies with Fast Attacks
</div>
<div style="width: 50px">
<img src="./assets/UI/strength.png" alt="strength" width="48px" />
</div>
</div>
</div>
<div class="bottom-container">
<div class="top-section">
<div style="width: 100px">
<img src="./assets/UI/suitcase.png" alt="suitcase" />
Treasures
</div>
<div class="date">14/01/2021</div>
</div>
<div class="line"></div>
<div class="mid-section">
<div>
<img src="./assets/UI/noti.png" alt="noti" width="56px" />
</div>
<div class="writing grey">
<span>Increases the Stats</span>
<span style="color: aliceblue">•</span> Coins
<span style="color: #00e8e8">•</span> Score
<span style="color: #a22dff">•</span> Bullet
<span style="color: #ead40c">•</span> Health
</div>
<div style="width: 50px"></div>
</div>
</div>
<div class="bottom-container">
<div class="top-section">
<div style="width: 150px">
<img src="./assets/UI/swing.png" alt="swing" />
Swinging Enemy
</div>
<div class="date">14/01/2021</div>
</div>
<div class="line"></div>
<div class="mid-section">
<div>
<img
src="./assets/UI/main enemy.png"
alt="main-enemy"
width="56px"
/>
</div>
<div class="writing grey">
<span>Destroy the Main Enemy</span>
Super Powerful Enemy That Swings
</div>
<div style="width: 50px"></div>
</div>
</div>
</div>
<img src="./assets/UI/Play button.png" alt="play" id="play-button" />
</section>
<audio src="./assets/sounds/2 hover.mp3" id="hoverSound"></audio>
<!-- -------------------------BOTTOM Hero Section END------------------------- -->
<script src="./javascript/main.js" type="module"></script>
<script src="./javascript/utility.js"></script>
</body>
</html>