-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (41 loc) · 1.36 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>very small adventure</title>
<link rel=”preload” href='./sprites/gbfont.ttf' as=”font” type=”font/ttf" crossorigin="anonymous">
<link rel=”preload” href='../fontjs/Font.js' as=”script”>
<link rel="preload" href="./pixi-sound.js" as="script">
<link rel="preload" href="./input.js" as="script">
<link rel="preload" href="./globalVars.js" as="script">
<link rel="preload" href="./reset.js" as="script">
<link rel="preload" href="./toolset.js" as="script">
<link rel="preload" href="./play.js" as="script">
<link rel="preload" href="./main.js" as="script">
<link rel="preload" href="./pixi/pixi.min.js" as="script">
<style>
@font-face {
font-family: "gbfont";
src: url('./sprites/gbfont.ttf') format("truetype")
}
</style>
</head>
<body>
<script src="./pixi/pixi.min.js"></script>
<script type="text/javascript">
let type = "WebGL"
if(!PIXI.utils.isWebGLSupported()){
type = "canvas"
}
PIXI.utils.sayHello(type)
</script>
<script src="./fontjs/Font.js"></script>
<script src="./pixi-sound.js"></script>
<script src="./input.js"></script>
<script src="./globalVars.js"></script>
<script src="./reset.js"></script>
<script src="./toolset.js"></script>
<script src="./play.js"></script>
<script src="./main.js"></script>
</body>
</html>