-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
28 lines (26 loc) · 1.06 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
<!DOCTYPE html>
<html>
<head>
<title>Canvas Invaders</title>
<script src="/usr/palm/frameworks/mojo/mojo.js" type="text/javascript" x-mojo-version="1" />
<script src="scripts/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="scripts/canvas_invaders.js" type="text/javascript"></script>
<script src="scripts/Renderer.js" type="text/javascript"></script>
<script src="scripts/player.js" type="text/javascript"></script>
<script src="scripts/enemies.js" type="text/javascript"></script>
<script src="scripts/projectile.js" type="text/javascript"></script>
<!-- application stylesheet should come in after the one loaded by the framework -->
<link href="stylesheets/canvas_invaders.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="game_container">
<canvas id="background-canvas"></canvas>
<div id="hud">
<span class="lives">Lives</span>
<span class="score">Score <span id="player_score"></span></span>
<div id="gameover">Game Over</div>
</div>
<canvas id="invaders-canvas"></canvas>
</div>
</body>
</html>