-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
88 lines (71 loc) · 1.92 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Joe, the bad jack!</title>
<meta name="description" content="Cut the woods, against all humanity!">
<meta name="author" content="João Pimentel">
<style type="text/css">
@font-face {
font-family: 'Press Start 2P';
font-style: normal;
font-weight: 400;
src: local('Press Start 2P'), local('PressStart2P-Regular'), url(assets/fonts/pressStart2P.woff) format('woff');
}
body, html
{
margin:0;
padding: 0;
overflow:hidden;
font-family: 'Press Start 2P', cursive;
font-size:12px;
background-color:black;
color:white;
}
#cr-stage
{
//border:2px solid black;
//margin:5px auto;
color:white;
}
#credits a
{
color:rgb(100, 100, 100);
text-decoration:none;
}
#credits a:hover
{
color:rgb(230, 230, 230);
}
#pointsHUD
{
font-size:26px;
color:yellow;
margin-left:-500px;
margin-top:25px;
padding-bottom:10px;
}
#credits
{
font-size:8px;
color:rgb(100, 100, 100);
}
</style>
</head>
<body>
<center>
<div id="pointsHUD"><img src="assets/images/heart.png" /><span id="life">5</span> <img src="assets/images/smallTree 2x.png" /><span id="points">0</span></div>
<div id="cr-stage"></div>
<span id="credits">A game by <a href="http://www.cin.ufpe.br/~jhcp">João Pimentel</a>, for
<a href="http://www.ludumdare.com/compo/ludum-dare-25/?action=preview"> Ludum Dare 25</a>.
Play with the arrow keys, press SPACE to attack</span>
</center>
<!-- <script src="assets/crafty-0.5.3-min.js"></script>-->
<script src="assets/crafty-release-uncompressed.js"></script>
<script src="images.js"></script>
<script src="gameComponents.js"></script>
<script src="enemies.js"></script>
<script src="main.js"></script>
<script src="maps.js"></script>
</body>
</html>