-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
76 lines (61 loc) · 1.61 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
<!DOCTYPE html>
<html>
<head>
<script src="lib/require.js"></script>
<script src="lib/gladius.js"></script>
<script src="src/nocomply.js"></script>
<style>
body {
/* remove white border */
margin-top: 0px;
margin-left: 0px;
margin-bottom: 0px;
/* hide scrollbars */
overflow-y:hidden;
overflow-x:hidden;
background: #000;
}
span{
color: #FFF;
position: absolute;
left: 50px;
top: 200 px;
}
#player{
/* bk color set in js */
border-radius: 15px;
border-style: solid;
border-width: 4px;
/* start hidden since health is zero */
opacity: 0.7;
height: 40px;
width: 0px;
position:absolute;
left: 20px;
top: 20px;
}
#boss{
/* bk color set in js */
border-radius: 15px;
border-style: solid;
border-width: 4px;
/* start hidden since health is zero */
opacity: 0.7;
width: 0px;
height: 40px;
float: right;
position:absolute;
right: 20px;
top: 20px;
}
canvas{
}
</style>
</head>
<body>
<div id="player"></div>
<div id="boss"></div>
<span id="debug"></span>
<canvas id="test-canvas"></canvas>
</body>
</html>