-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (48 loc) · 975 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<title>NOM NOM NOM NOM IN SPAAAAAAAAAAACE!</title>
<script src="game/jquery.js"></script>
<script src="game/box2dweb.min.js"></script>
<script src="game/game.js"></script>
<style>
body {
position: relative;
font-family:Arial,sans-serif;
}
.wrapper{
margin-left:auto;
margin-right:auto;
width:800px;
height:480px;
}
.game {
position: relative;
/*overflow: hidden;*/
}
canvas {
width: inherit;
height: inherit;
position: absolute;
top: 0;
left: 0;
}
#game {
z-index: 1;
}
</style>
</head>
<body>
<div class="wrapper" >
<h1>NOM NOM NOM NOM IN SPAAAAAAAAAAACE!</h1>
<p>Use arrow Keys to move.</p>
<p>Avoide the red circles</p>
<p>Absorbe the blue circles</p>
<p>Hit F5 for new game</p>
<div class="game">
<!--<canvas id="background"></canvas>-->
<canvas id="game"></canvas>
</div>
</div>
</body>
</html>