-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·105 lines (89 loc) · 2.35 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Axolotl Bass</title>
<style>
body {
font-family: Oldtown, fantasy;
}
body:hover {
cursor: crosshair;
}
canvas {
background-color: black;
display: block;
margin: 0 auto;
padding: 0;
}
canvas:hover {
cursor: crosshair;
}
.hud1 {
position: absolute;
color: red;
top: 30px;
}
#canvas-wrap { position:relative } /* Make this a positioned parent */
#overlay {
position:absolute;
top: 6px;
left: 10px;
color: red;
font-size: 20px;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#xpowerup {
color: yellow;
}
#pausediv {
position: absolute;
top: 50%;
left: 50%;
margin-top: -50px;
margin-left: -80px;
width: 160px;
height: 100px;
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;
}
#controlz {
position: absolute;
top: -10px;
right: 10px;
color: white;
font-size: 20px;
}
#controlz p {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#pausetext {
color: yellow;
font-size: 24px;
}
</style>
</head>
<body>
<script src="http://cwilso.github.io/AudioContext-MonkeyPatch/AudioContextMonkeyPatch.js"></script>
<script src="utils/bufferloader.js"></script>
<script src="utils/resources.js"></script>
<script src="js/mixer.js"></script>
<script src="js/entities.js"></script>
<script src="js/app.js"></script>
</body>
</html>