-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
47 lines (47 loc) · 1.9 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
<!DOCTYPE html>
<html>
<head>
<title>Generic Space Shooter</title>
<link rel="stylesheet" href="style.css">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
<script type="text/javascript" src="compiled/app.js"></script>
</head>
<body>
<a href="http://github.com/shipstar/space-shooter"><img style="position: absolute; top: 0; left: 0; border: 0;" src="https://a248.e.akamai.net/assets.github.com/img/bec6c51521dcc8148146135149fe06a9cc737577/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f6c6566745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub"></a>
<h1>
Generic Space Shooter
</h1>
<div id="scoreboard">
<label for="score">Score: </label><span id="score">0</span>
—
<label for="lives">Lives: </label><span id="lives">3</span>
—
<label for="level">Level: </label><span id="level">1</span>
<br/>
<label for="superbombs">Superbombs: </label><span id="superbombs">1</span>
</div>
<div id="canvases">
<canvas id="game" width="500" height="300">
Canvas not supported.
</canvas>
<div id="overlay"></div>
<div id="paused">Paused</div>
<div id="gameover">GAME OVER</div>
</div>
<div id="controls">
Move: left/right arrows<br/>
Shoot: space bar<br/>
Superbomb: z<br/>
Pause: p<br/>
</div>
<div id="stats">
<label for="bullet-count"># of Bullets: </label><span id="bullet-count">0</span>
<br/>
<label for="fps">FPS: </label><span id="fps">60</span>
</div>
<audio id="bgm" src="assets/fear.ogg" preload autoplay>
Your browser does not support the audio element.
</audio>
</body>
</html>