-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
31 lines (28 loc) · 1.16 KB
/
index.html
File metadata and controls
31 lines (28 loc) · 1.16 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
<!DOCTYPE HTML>
<html lang="pt-br">
<head>
<meta charset="UTF-8"/>
<title>Alien Invasion</title>
<!-- Importando o arquivo CSS -->
<link rel="stylesheet" href="base.css" type="text/css" />
<!-- Importando a fonte do Google Fonts -->
<link href='http://fonts.googleapis.com/css?family=Bangers' rel='stylesheet' type='text/css'>
<!-- Configurações de visualização -->
<meta name="viewport" content="width=device-width, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
</head>
<body style="background-color:black;">
<!-- Elemento de áudio para efeitos sonoros -->
<audio class='somComer' src="./images/pistol-shot.mp3"></audio>
<div id='container'>
<!-- Título do jogo -->
<h1 style="color:#fff; font-size:30px;" id="lvl">Senai InvasionㅤLvL:</h1>
<!-- Canvas onde o jogo será renderizado -->
<canvas id='game' width='283' height='480' style="border:2px solid #fff;"></canvas>
</div>
<!-- Scripts do jogo -->
<script src='engine.js'></script>
<script src='game.js'></script>
</body>
</html>