-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
91 lines (82 loc) · 2.75 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<head>
<title>TiltOut</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link rel="apple-touch-startup-image" href="img/iphonestartup.png" />
<link rel="apple-touch-icon" href="img/appleicon.png" />
<style type="text/css">
@font-face {
font-family: 'VT323';
font-style: normal;
font-weight: 400;
src: local('VT323'), local('VT323-Regular'), url(font/VT323.woff2) format('woff2'), url(font/VT323.woff) format('woff');
}
body {
background: #000000;
margin:0;
padding:0;
width:100%;
height:100%;
font-family: 'VT323';
}
.canvas {
width:100%;
height:100%;
position:relative;
}
#gameDiv {
position:absolute;
top: 0px;
left: 0px;
width:100%;
height:100%;
background: #000000;
}
#rotateDiv {
position: absolute;
display:none;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
background-color: #000000;
}
#rotateDiv img {
top: 0px;
left:0px;
max-width: 100%;
max-height: 100%;
width:100%;
height:100%;
}
</style>
<script type="text/javascript">
var _gaq = _gaq || [];
// _gaq.push(['_setAccount', 'UA-33051986-4']);
// _gaq.push(['_trackPageview']);
// (function() {
// var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
// ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
// var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
// })();
</script>
</head>
<body>
<div id="gameDiv">
<canvas id="c" width="480" height="320"></canvas>
</div>
<div id="rotateDiv">
<img src="img/rotate.png">
</div>
<!-- <script type="text/javascript" src="src/game.min.js"></script> -->
<script type="text/javascript" src="src/loader.js"></script>
<script type="text/javascript" src="src/assets.js"></script>
<script type="text/javascript" src="src/button.js"></script>
<script type="text/javascript" src="src/storage.js"></script>
<script type="text/javascript" src="src/game.js"></script>
<script type="text/javascript" src="src/main.js"></script>
</body>
</html>