-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (50 loc) · 1.55 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Drunk Train Driver</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/4.7.1/pixi.min.js"></script>
<script src="./js/Bullet.js" type="text/javascript"></script>
<script src="./js/Background.js" type="text/javascript"></script>
<script src="./js/EndText.js" type="text/javascript"></script>
<script src="./js/Enemy.js" type="text/javascript"></script>
<script src="./js/Explosion.js" type="text/javascript"></script>
<script src="./js/Main.js" type="text/javascript"></script>
<script src="./js/Player.js" type="text/javascript"></script>
<script src="./js/ProgressBar.js" type="text/javascript"></script>
<script src="./js/StateMap.js" type="text/javascript"></script>
<script src="./js/StateSelect.js" type="text/javascript"></script>
<script src="./js/TextStyle.js" type="text/javascript"></script>
<style>
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
body {
background-color: #ffdb7e;
display: flex;
justify-content: center;
align-items: center;
}
h1 {
display: flex;
align-items: center;
justify-content: center;
}
img {
margin-left: 10px;
}
canvas {
border: 5px solid #f0ab00;
}
</style>
<link rel="icon" type="image/ico" href="favicon.ico" />
</head>
<body>
<script type="text/javascript">
const main = new Main();
</script>
</body>
</html>