-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
67 lines (61 loc) · 2.14 KB
/
index.html
File metadata and controls
67 lines (61 loc) · 2.14 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="src/pixelPlayer.png" type="image/x-icon">
<title>Christmas RUN</title>
<style>
/* Google fonts */
/* latin-ext */
@font-face {
font-family: 'Jersey 10';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('src/jersey10_2.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Jersey 10';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('src/jersey10_1.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
</style>
<style>
html,
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
cursor: none;
}
canvas {
display: block;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<canvas id="gameCanvas">
Sorry, your browser does not support canvas. Thus you can't play this game :(
</canvas>
<!-- We don't use modules here, as they aren't supported via the file:// protocol -->
<!-- If this were to require a server, that would require less portability -->
<script src="common.js"></script>
<script src="scene.js"></script>
<script src="menu_scene.js"></script>
<script src="game_scene.js"></script>
<script src="input.js"></script>
<script src="ui.js"></script>
<script src="entities.js"></script>
<script src="game_engine.js"></script>
</body>
</html>