-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
74 lines (72 loc) · 2.75 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Cosmic Rush</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
</head>
<body>
<audio id="audio" src="CosmicRush.ogg" loop="true"></audio>
<main class="main main-normal group">
<div class="screen-cover"></div>
<canvas id="canvas" class="canvas-normal" width="1000" height="625">
</canvas>
<div class="background background-normal"></div>
<i id="sound-button" class="fa fa-3x fa-volume-off paused" ></i>
<i id="play-button" class="fa fa-2x fa-pause"></i>
<i id="fullscreen-button" class="fa fa-2x fa-arrows-alt" ></i>
<a id="github-button"
class="fa fa-2x fa-github"
href="http://github.com/fdsimms/cosmic-rush"
target="_blank">
</a>
<div class="start-modal">
<h1>Cosmic Rush</h1>
<h2>
A game by Frankie Simms
</h2>
<p>Press <div class="enter-text">enter</div></p>
</div>
<ul class="instructions-modal hidden-instructions">
<li>
Shoot. Dodge. But why?
</li>
<li>
Arrow keys to move. Space to shoot.
</li>
<li>
<i class="fa fa-pause"></i> or P for pause and controls.
</li>
<li>
<i class="fa fa-lg fa-volume-off"></i> for music, then
<i class="fa fa-lg fa-volume-up"></i> for perfect silence.
</li>
<li>
<i class="fa fa-arrows-alt"></i> for fullscreen.
</li>
<li>
<i class="fa fa-lg fa-github"></i> for the Github repo.
</li>
<li>
Press <div class="enter-text">enter</div> when you understand.
</li>
</ul>
<div class="game-over-modal hidden">
<h1>Game over</h1>
<h2>But look how well you did</h2>
<h2>Press <div class="enter-text">enter</div> to start anew</h2>
</div>
</main>
<script type="application/javascript" src="vendor/keymaster.js"></script>
<script type="application/javascript" src="lib/util.js"></script>
<script type="application/javascript" src="lib/movingObject.js"></script>
<script type="application/javascript" src="lib/alien.js"></script>
<script type="application/javascript" src="lib/game.js"></script>
<script type="application/javascript" src="lib/gameView.js"></script>
<script type="application/javascript" src="lib/ship.js"></script>
<script type="application/javascript" src="lib/bullet.js"></script>
<script type="application/javascript" src="lib/setup.js" ></script>
</body>
</html>