-
Notifications
You must be signed in to change notification settings - Fork 4
/
m.php
79 lines (79 loc) · 2.44 KB
/
m.php
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?php
require("score.php");
require_once("assets/detect.php");
$detect = new Mobile_Detect;
if(!$detect->isMobile())
header('Location: http://zach.ie/flappy/');
?>
<html>
<head>
<title>Mobile Flappy Bird</title>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, 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.png">
<link rel="shortcut icon" href="assets/birdie.ico" type="image/x-icon" />
<meta property="fb:admins" content="1434685963"/>
<meta property="og:site_name" content="Mobile Flappy Bird"/>
<meta property="og:title" content="Mobile Flappy Bird"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="http://zach.ie/flappy/m.php"/>
<meta property="og:image" content="http://zach.ie/flappy/assets/icon.png" />
<meta property="og:description" content="A better version of Ural Özden's HTML5 Flappy Bird game which adds high score saving, custom game messages and a larger screen size." />
<style>
body {
background: #abc;
margin: 0;
padding: 0;
}
#container {
width: 100%;
}
#link {
top: 0;
left: 0;
margin: 3%;
line-height: 150%;
position: absolute;
font-family: "Press Start 2P";
font-size: 16px;
}
#screen {
margin: 0 auto;
max-width: 800px;
max-height: 800px;
overflow: hidden;
}
#scores {
position: relative;
padding-top:20px;
font-family: "Press Start 2P";
font-size: 12px;
}
.scoretext {
font-size: 10px;
}
#scorevalues {
padding-top: 10px;
line-height: 130%;
}
#footer {
text-align:center;
text-transform: uppercase;
margin-top:10px;
font-size: 9px;
}
.footerlink {
text-decoration: none;
color: black;
}
</style>
</head>
<body>
<div id="container">
<div id="screen"></div>
<script src="js/phaser.min.js"></script>
<script src="js/mobile.js"></script>
</div>
</body>
</html>