-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (60 loc) · 2.15 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Tyler Peterson's HTML5 game</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" type="text/css" href="styles.css">
<!-- font awesome -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Megrim|Roboto+Slab" rel="stylesheet">
</head>
<body>
<header>
<!-- Nav Menu -->
<div class="fixed-nav-bar">
<div class="stars"></div>
<div class="stars2"></div>
<div class="stars3"></div>
<span id="hamburger" class="fa fa-bars fa-3x" onclick="openNav()"></span>
<nav id="nav" class="overlay">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<div class="overlay-content">
<a href="https://thenewstyles.github.io/portfolio/index.html">Home</a>
<a href="https://thenewstyles.github.io/portfolio/index.html#contact">Contact</a>
<a href="https://thenewstyles.github.io/portfolio/index.html#portfolio">Portfolio</a>
</div>
</nav>
</div>
</header>
<div class="title-info">
<div class="inner-title">
<h1>Space Shooter Game</h1>
<p>Space shooter game created with Phaser game engine. Kill the aliens and their ships before the time is up to win!
<br>
<br>
Use the ← , ↑ , →, and, ↓ buttons to navigate.
<br>
Use SPACEBAR to shoot.
<br>
UFOs take multiple hits to destory.
</div>
</div>
</p>
<div class="canvas">
<div class="inner-canvas">
<div id="spaceShooter"></div>
</div>
</div>
<div class="bottom-bar">
<div class="stars"></div>
<div class="stars2"></div>
<div class="stars3"></div>
</div>
<!-- phaser engine -->
<script src="js/phaser.min.js" ></script>
<!-- custom javascript -->
<script src="js/spaceShooter.js" ></script>
</body>
</html>