-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
73 lines (73 loc) · 1.59 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<style>
body, html {
background-color: black;
overflow: hidden;
text-align: center;
margin: 0;
}
canvas {
border: 8px solid white;
}
#title {
font-size: 64px;
font-family: sans-serif;
color: white;
height: 96px;
padding-top: 32px;
}
#shoot {
font-size: 32px;
height: 48px;
}
div {
margin: 0px;
padding: 0px;
}
#container {
width: 800px;
float: none;
margin: auto;
}
#envcount {
width: 148px;
font-size: 24px;
margin-top: 16px;
float: right;
text-align: left;
}
#deathcount {
width: 148px;
font-size: 16px;
margin-top: 16px;
float: left;
text-align: right;
}
#credits {
font: small-caps 12px sans-serif;
color: darkslategrey;
}
#timer {
font: small-caps 24px sans-serif;
color: white;
margin-bottom: 16px;
height: 32px;
}
</style>
<title>📦📦📦📦📦</title>
<div id="title"></div>
<div id="timer"></div>
<div id="container">
<div id="deathcount">
</div>
<canvas width="416" height="320" style="background-color: darkslategrey;"></canvas>
<div id="envcount">
</div>
</div>
<div id="shoot"></div>
<p id="credits">
Design and Programming by Igor Moreno<br />
with assets by Sharm, surt and vk
</p>
<script src="levels.js"></script>
<script src="kontra.min.js"></script>
<script src="game.js"></script>