forked from jeanlambert17/horizon-invaders
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
43 lines (40 loc) · 1.8 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Horizon Invaders</title>
<style type="text/css">
canvas {
border: 1px solid black;
background-image: url("images/landscape-1920x1080.png");
}
body {
margin: 0;
}
</style>
</head>
<body>
<canvas>
</canvas>
<audio src="sounds/bgm1.mp3" id='bgm1'></audio>
<audio src="sounds/track1.ogg" id='you_lose_a_life'></audio>
<audio src="sounds/hit1.ogg" id='enemy-f1'></audio>
<audio src="sounds/hit2.ogg" id='enemy-f2'></audio>
<img src="images/tanks_newGreytankBase.png" id='tank-model' style='display: none'>
<img src="images/tanks_turret2.png" id="tankturret-model" style="display: none">
<img src="images/tank_explosion2.png" id='explode1' style="display: none">
<img src="images/tank_explosion3.png" id='explode2' style="display: none">
<img src="images/tank_explosion3.png" id='explode3' style="display: none">
<img src="images/tank_bullet1.png" id='bullet-model' style="display: none">
<img src="images/shipBeige_manned.png" id='enemy-model' style="display: none">
<img src="images/shipGreen_manned.png" id='enemy-model2' style="display: none">
<img src="images/Mine.png" id='mine-model' style="display: none">
<img src="images/paracaidista.png" id='paratrooper-model' style="display: none">
<img src="images/paracaidista2.png" id='paratrooper2-model' style="display: none">
<script src="scripts/extra.js"></script>
<script src='scripts/tank.js'></script>
<script src='scripts/enemy.js'></script>
<script src='scripts/shoot.js'></script>
<script src="scripts/main.js"></script>
</body>
</html>