-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (43 loc) · 1.68 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
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>Conch Them Up</title>
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<div id="game-area">
<canvas id="conch-them-up" width="800" height="600"></canvas>
<canvas id="ui" width="800" height="600"></canvas>
</div>
<div id="instructions">
<h1>What is this shit?</h1>
<p>Conch Them Up is like a shmup, but less hard-core. Made with HTML5 Canvas and JavaScript.</p>
<h2>But how do I play it?</h2>
<ul>
<li>W/A/S/D: Move</li>
<li>SPACE: Shoot</li>
<li>ESC: Pause</li>
</ul>
<p>Survive as many enemy waves as you can to beat the highest score.</p>
<p>If a monster reaches the leftmost end of the screen, you loose points.</p>
<p>If you kill an enemy, you earn points.</p>
<p>The wave is completed when the progress bar is full (all green).</p>
<p>You die when you run out of points and the progress bar is empty (if you take damage and your score is 0, all orange).</p>
</div>
<script type="text/javascript" src="js/gameCanvas.js"></script>
<script type="text/javascript" src="js/character.js"></script>
<script type="text/javascript" src="js/enemyCompany.js"></script>
<script type="text/javascript" src="js/keyboardManager.js"></script>
<script type="text/javascript" src="js/machinegun.js"></script>
<script type="text/javascript" src="js/scoreManager.js"></script>
<script type="text/javascript" src="js/gameMaster.js"></script>
<script type="text/javascript" src="js/gameEvents.js"></script>
<script type="text/javascript">
const CANVAS = new GameCanvas();
const KEYBOARD = new KeyboardManager();
const GAMEMASTER = new GameMaster();
BindGameEvents();
</script>
</body>
</html>