-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
47 lines (43 loc) · 1.42 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
<!DOCTYPE html>
<head>
<meta charset = utf-8>
<meta name = viewport content = 'width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no'>
<link rel = icon type = image/x-icon href = logo.ico>
<title>Squirtcopter</title>
<style>
@font-face {
font-family: font;
src: url(src/font.woff2)
}
@font-face {
font-family: startFont;
src: url(src/joystixMonospace.woff2)
}
body {
background: #fff;
margin: 0;
overflow: hidden;
user-select: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
touch-action: none;
}
canvas {
width: 100%;
height: 100%
}
</style>
</head>
<body>
<canvas id = cvs></canvas>
<script src = src/constants.js></script>
<script src = src/functions.js></script>
<script src = src/bot.js></script>
<script src = src/hero.js></script>
<script src = src/cam.js></script>
<script src = src/game.js></script>
<script src = src/main.js></script>
</body>
</html>