-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
36 lines (33 loc) · 1.38 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Space Invaders</title>
<link rel="shortcut icon" href="img/space-icon.png" type="image/x-icon" />
<link href="styles/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container">
<div id="background">
<div id="start">
<img src="img/space-logo.png" id="logo" />
<p>
Salve o Satélite utilizando a tecla W para movimentar a nave para
cima, a tecla S para movimentar a nave para baixo e a tecla D para
atirar.
</p>
<button id="button" onclick="start()">Iniciar</button>
</div>
</div>
<a href="https://github.com/danielafarias/Space-Invaders" target="_blank"><span>© danielafarias, 2021</span></a>
</div>
<audio src="sfx/som.mp3" preload="auto" id="sfxShot"></audio>
<audio src="sfx/explosao.mp3" preload="auto" id="sfxExplosion"></audio>
<audio src="sfx/musica_fundo.mp3" preload="auto" id="sfx"></audio>
<audio src="sfx/gameover.mp3" preload="auto" id="sfxGameover"></audio>
<audio src="sfx/resgate.mp3" preload="auto" id="sfxSaved"></audio>
<script type="text/javascript" src="js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="js/js.js"></script>
<script type="text/javascript" src="js/jquery-collision.min.js"></script>
</body>
</html>