forked from APCSLowell/AsteroidsGame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
21 lines (21 loc) · 821 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>Asteroid Game</title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="styles.css">
<script src="processing.js"></script>
</head>
<body>
<header>
<h1>Asteroid Game</h1>
</header>
<section id="content">
<canvas id="AsteroidsGame" data-processing-sources="AsteroidsGame.pde Asteroid.pde Bullet.pde Floater.pde Spaceship.pde Stars.pde UFO.pde UFObullet.pde">
</canvas>
</section>
<footer>
Use ASWD keys to control the spaceship <br> W for forward acceleration <br> S for backward acceleration <br> A for rotating counter clockwise <br> D for rotating clockwise <br> Space to shoot bullets <br> Shift for hyperspace
</footer>
</body>
</html>