-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (49 loc) · 1.66 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
<!doctype html>
<html>
<head>
<title>Flappykshi</title>
<meta name="viewport" content="width=device-width, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="apple-touch-icon" href="assets/icon.png">
<link rel="apple-touch-icon" sizes="120x120" href="assets/icon-120.png">
<style>
body {
background: rgb(22, 22, 22);
background-image: url('assets/fond.png');
background-repeat: no-repeat;
background-size: cover;
margin: 0;
padding: 0;
text-align: center;
overflow: hidden;
}
#screen {
display: inline-block;
}
</style>
</style>
</head>
<body>
<div id="screen"></div>
<script src="phaser.min.js"></script>
<script src="main.js"></script>
<script>
function start() {
init(document.querySelector('#screen'));
}
WebFontConfig = {
google: { families: [ 'Press+Start+2P::latin' ] },
active: start
};
(function() {
var wf = document.createElement('script');
wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
'://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
wf.type = 'text/javascript';
wf.async = 'true';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(wf, s);
})();
</script>
</body>
</html>