-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame.html
49 lines (43 loc) · 1.1 KB
/
game.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>F1 Paper!</title>
<style>
body {
margin: 0;
padding: 0;
overflow: hidden;
}
#world {
position: absolute;
background: #eee;
transition: transform 500ms ease;
color: #ffff00;
}
canvas {
position: absolute;
}
img {
position: absolute;
opacity: 0;
}
</style>
<script src="src/bezier.js" ></script>
<!-- Main file -->
<script src="src/main.js" ></script>
<!-- Classes -->
<script src="src/Camera.js" ></script>
<script src="src/Canvas.js" ></script>
<script src="src/Game.js" ></script>
<script src="src/GameLayerController.js" ></script>
<script src="src/Input.js" ></script>
<script src="src/Map.js" ></script>
<script src="src/Player.js" ></script>
<script src="src/Point.js" ></script>
</head>
<body>
<div id="world" ></div>
<img id="F1" src="img/F1.png" width="50" height="19" />
</body>
</html>