-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (49 loc) · 1.78 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
<title>ClickerMath</title>
<script type="text/javascript" src="js/phaser.min.js"></script>
<style>
body {
padding: 0px;
margin: 0px;
background-color: white;
}
@font-face {
font-family: 'Bungee';
src: url('assets/fonts/bungee-regular-webfont.woff2') format('woff2'),
url('assets/fonts/bungee-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'alegreyaregular';
src: url('assets/fonts/alegreya-regular-webfont.woff2') format('woff2'),
url('assets/fonts/alegreya-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'aldrichregular';
src: url('assets/fonts/aldrich-regular-webfont.woff2') format('woff2'),
url('assets/fonts/aldrich-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
</style>
</head>
<body>
<div style="font-family:Bungee; position:absolute; left:-10000px">Font Loaded</div>
<div style="font-family:alegreyaregular; position:absolute; left:-10000px">Font Loaded</div>
<div style="font-family:aldrichregular; position:absolute; left:-10000px">Font Loaded</div>
<!-- include the main game file -->
<script src="js/states/GameState.js"></script>
<script src="js/states/BootState.js"></script>
<script src="js/states/PreloadState.js"></script>
<script src="js/states/HomeState.js"></script>
<script src="js/Prefabs/Upgrade.js"></script>
<script src="js/main.js"></script>
</body>
</html>