-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·51 lines (40 loc) · 1.96 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
<html>
<head>
<link rel="stylesheet" href="./shooter.css">
</head>
<body>
<div id="main-container" >
<div id="dark-layer" style="width: 100%;
height: 100%; background-color: black;opacity: 0%; position: absolute;z-index: 3;"></div>
<img id="start" src="./images/start.png" style="display: none; width: 100%; max-height: 100%; margin: 0;object-fit: contain;">
<div id="story">
<div id="story-background"></div>
<div id="story-container">
<p id="story-text">Earth is on the brink of extintion once more.
it's all up to you now...
defeat this dangrous kind of enemy...
just kidding, take it easy...</p>
</div>
</div>
<div id="gameplay">
<div id="band">
<img id="life" src="./images/life3.png" class="band">
<p id="score"> score: 0 </p>
</div>
<div id="weapons" ></div>
<div id="playground-container">
<img id="fighter" src="./images/fighter.png">
<!-- <div id="test">.</div> -->
<img id="muzzle-flash" src="./images/muzzle-flash.png">
<p id="tutorial">It's simple<br>You have 3 life <br> If you miss 10 bullets or 1 enemy you'll lose a life <br> GOOD LUCK</p>
<img id="pause" style="display: none;" src="./images/pause.png">
<img id="playagain" style="display: none;" src="./images/playagain.png">
<p id="score2" style="display: none;"></p>
</div>
</div>
<div id="gameover" style="display: none;" >GAME OVER</div>
</div>
<script src="./shooter.js">
</script>
</body>
</html>