-
Notifications
You must be signed in to change notification settings - Fork 1
/
mmo.html
134 lines (115 loc) · 2.32 KB
/
mmo.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<html>
<head>
<title>Bad Monkeys</title>
<style>
#debugCanvas{display:none}
@font-face {
font-family: 'Lemon';
font-style: normal;
font-weight: 400;
src: local('Lemon Regular'), local('Lemon-Regular'), url('css/XGWCPn4vpJIX2zAFeIvA_Q.woff') format('woff');
}
.container{
position:relative;
width:800px;
margin:0 auto;
text-align:center;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.gameui{
font-family: 'Lemon', cursive;
font-size: 25px;
font-weight: 700;
display:none;
color: #F5CC02;
text-shadow: -2px 0 black, 0 -1px black, 4px 0 black, 0 4px black;
}
.score {
position: absolute;
right: 5px;
top: 0;
padding: 10px;
width: 100px;
}
.highscore {
position: absolute;
right: 135px;
top: 0.9px;
padding: 10px;
width: 100px;
}
.highscore span, .score span{
display: block;
}
.fruitcount {
top: 0;
left: 320px;
position: absolute;
padding: 10px;
}
.fruitcount img {
vertical-align: middle;
}
.dbug {
position: absolute;
top: 0;
left: -200px;
background: #DDD;
width: 200px;
height: 400px;
text-align: left;
font-size: 12px;
}
.dbug_delete {
position: absolute;
font-family: 'Lemon', cursive;
top: 400px;
left: -200px;
width: 200px;
height: 200px;
background: #EEE;
font-size: 20px;
}
.dbug_delete span{
font-family: sans-serif;
font-size: 10px;
display:block;
text-align:left;
}
.pause {
background: url(img/pause.png) no-repeat;
position: absolute;
top: 8px;
left: 10px;
height: 56px;
width: 55px;
}
.pause.clicked {
background: url(img/pause.png) no-repeat right 0;
}
</style>
</head>
<body>
<div class="container">
<canvas id="easelCanvas" width="800" height="600"></canvas>
<canvas id="debugCanvas" width="1600" height="600"></canvas>
<div class="loader">0</div>
<!-- <div class="dbug"></div> -->
<div class="dbug_delete"></div>
<div class="but">Inllalsd</div>
</div>
</body>
<script src="js/lib/jquery-1.7.1.min.js"></script>
<script src="js/lib/easel.js"></script>
<script src="js/lib/Box2dWeb-2.1.a.3.min.js"></script>
<script src="js/lib/easelBox.js"></script>
<script src="js/lib/PxLoader.js"></script>
<script src="js/lib/PxLoaderImage.js"></script>
<script src="js/lib/PxLoaderSound.js"></script>
<script src="js/lib/gain.js"></script>
</html>