-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
86 lines (64 loc) · 3.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-159654837-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-159654837-1');
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Space Force - Pew Pew Pew</title>
<link href="src/helicopter.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<link rel="icon"
type="image/png"
href="assets/jetICON.png">
</head>
<body>
<!-- <h1 id="gameHeader">HELI BANG BANG</h1> -->
<div id="gameView">
<canvas id="gameScreen" width="1300" height="700" style="position: absolute; left: 0; top: 0; z-index: 1" ;>
Browser does not support canvas.
</canvas>
<canvas id="scoreScreen" width="1300" height="700" style="position: absolute; left: 0; top: 0; z-index: 2" ;>
Browser does not support canvas
</canvas>
<canvas id="weather" width="1300" height="700" style="position: absolute; left: 0; top: 0; z-index: 3"></canvas>
<div id="gameStartModal">
<h3 id="close">PLAY</h3>
<div id="gamePlay" style="text-align: left;">
<h2>How to Play</h2>
<ul style="font-size: 1.2rem;">
<li>Fly your cruiser through space while avoiding fireballs & satellites.</li>
<li>Earn 1 point for each fireball successfully dodged.</li>
<li>Earn 10 points for each satellite avoided</li>
<li>Fight back!</li>
<li>Earn 5 points for each fireball shot out of the sky with your laser.</li>
<li>Earn 10 points for each missile strike!!!</li>
<li>Don't shoot the satellites!!!</li>
<li>Lose 10 points for each satellite shot down with your laser.</li>
<li>Lose 20 points for each satellite shot down with your missile.</li>
</ul>
</div>
<div id="gameControls">
<h2>Game Controls</h2>
<ul style="text-align: left; font-size: 1.2rem;">
<li><i class="fas fa-arrow-up"> Move Up</i></li>
<li><i class="fas fa-arrow-down"> Move Down</i></li>
<li><i class="fas fa-arrow-right"> Move Forward</i></li>
<li><i class="fas fa-arrow-left"></i> Move Back</li>
<li> F - fire missile<img src="assets/Missile-512.png" style="height: 2rem;"> </li>
<li> S - shoot laser<img src="assets/basic3-151_laser-512.png" style="height: 2rem;"> </li>
<li><span class="Circle">P</span> - Pause</li>
</ul>
</div>
</div>
</div>
<script src="src/helicopter2.js"></script>
</body>
</html>