-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
33 lines (31 loc) · 1.14 KB
/
index.html
File metadata and controls
33 lines (31 loc) · 1.14 KB
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
<!DOCTYPE html>
<html>
<head>
<title>JS example game</title>
<link rel="stylesheet" href="style/style.css">
</head>
<body>
<div id="main_box">
<div class="titlecard"><h1 class="center">JS example game</h1></div>
<table><tr>
<td><canvas id="healthbar" width="300" height="50"></canvas></td>
<td width="300"><p id="time_box" class="center">Time:</p></td>
<td width="300"><p id="score_box" class="center">Score:</p></td>
</tr></table>
<canvas id="ctx" width="1080" height="720" ondragstart="return false;" ondrop="return false;"></canvas>
</div>
<!--IMPORT SCRITPS-->
<script src="script/Interface.js"></script>
<script src="script/Entity.js"></script>
<script src="script/Bullet.js"></script>
<script src="script/RotatingBullet.js"></script>
<script src="script/Item.js"></script>
<script src="script/Actor.js"></script>
<script src="script/Enemy.js"></script>
<script src="script/Player.js"></script>
<script src="script/Game.js"></script>
<script>
Game.start();
</script>
</body>
</html>