-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
44 lines (41 loc) · 1.63 KB
/
index.html
File metadata and controls
44 lines (41 loc) · 1.63 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="alien_invasion.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<title>Alien Invasion</title>
</head>
<body onload="startGame()">
<div id="container" class="container-class">
<div id="title" class="title-class">
<h1 id="headline">Alien Invasion!</h1>
</div>
<div id="bodyContainer">
<div id="bodyContainer1">
<img id="playMarker" src="images/player.png">
</div>
<div id="canvas-container" class="canvas-container-class">
</div>
<div id="bodyContainer2">
<img id="alien" src="images/monsterBig.png">
</div>
</div>
<div id="instructsTitle">Controls</div>
<div id="instructsBody">
<div id = "upIcon"><span class="material-icons">arrow_drop_up</span></div>
<div id = "upInstructs">Moves Ship Up</div>
<div id = "downIcon"><span class="material-icons">arrow_drop_down</span></div>
<div id = "downInstructs">Moves Ship Down</div>
<div id = "rightIcon"><span class="material-icons">arrow_right</span></div>
<div id = "rightInstructs">Engages Warp Speed</div>
<div id = "leftIcon"><span class="material-icons">arrow_left</span></div>
<div id = "leftInstructs">Disengages Warp Speed</div>
<div id = "spacebarIcon"><span class="material-icons">space_bar</span></div>
<div id = "spacebarInstructs">Shoots Laser</div>
</div>
</div>
<script trype="text/javascript" src="alien_invasion.js"></script>
</body>
</html>