-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.html
54 lines (45 loc) · 2.12 KB
/
main.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
<!DOCTYPE html>
<html>
<head>
<title>TOWER_DEFENCE</title>
<link rel="stylesheet" src="main.css">
</head>
<body>
<div id="tutorial">
<p>Move with W,A,S,D. right Click to SHOOT, press 1~4 to change weapon type</p>
<p>Weapon Information:</p>
<p> 1: explodes ON location. slow. Infinite ammo</p>
<p> 2: explodes ON location. fast. limited ammo</p>
<p> 3: shoots linearly. fast. limited ammo</p>
<p> 4: shoots linearly all the way. slow. limited ammo</p>
<p> Pick up items for extra ammo. Check out the credits at the bottom of the page </p>
<button onclick="start()">Start</button>
</div>
<div id="restart" style="display:none">
<button onclick="start()">Try again</button>
<button onclick="startLogin()">Post score on FB</button>
</div>
<canvas id="gameCanvas" width="1100" height="550"
style="border:3px solid black display: none" >
Your Explorer doesn't support canvas, you don't have html5.
</canvas>
<script type="text/javascript" src="resources/js/facebookAPI.js"></script>
<script type="text/javascript" src="resources/js/initialLoad.js"></script>
<script type="text/javascript" src="resources/js/sprites.js"></script>
<script type="text/javascript" src="resources/js/userInput.js"></script>
<script type="text/javascript" src="resources/js/main.js"></script>
<p></p>
<p>CREDITS:</p>
<p>Game by:
<a href="http://github.com/johnjang/tankraid" target="_blank">pbj</a></p>
<p>Graphics by:
<a href="http://hasgraphics.com/hard-vacuum-tileset-and-sprites"
target="_blank">Daniel Cook</a></p>
<p>All Sound Effects by:
<a href="http://soundimage.org"
target="_blank">Eric Matyas</a></p>
<p>Started the project on 2016 August 24th with no knowledge of javascript and
finished on 2016 August 30th.</p>
<p>Last update: August 30th</p>
</body>
</html>