-
Notifications
You must be signed in to change notification settings - Fork 27
/
index.html
52 lines (46 loc) · 2.03 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>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=4, maximum-scale=4, user-scalable=0"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="viewport" content="minimal-ui">
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>Executive Man</title>
<style>
* { margin:0; padding:0; } /* to remove the top and left whitespace */
html, body { width:100%; height:100%; } /* just to be sure these are full screen*/
canvas { display:block; }
canvas {
image-rendering: optimizeSpeed;
image-rendering: -moz-crisp-edges;
image-rendering: -webkit-optimize-contrast;
image-rendering: pixelated;
image-rendering: -o-crisp-edges;
image-rendering: optimize-contrast;
-ms-interpolation-mode: nearest-neighbor;
}
@font-face {
font-family: '8-Bit Madness';
src: local('8-Bit Madness'), url(8bm.ttf) format('truetype');
}
</style>
</head>
<body style="padding: 0px; margin: 0px; width: 100%; height: 100%; background-color: #000;">
<center>
<canvas id="controlcanvas" style="zoom: 200%;-moz-transform: scale(2); -moz-transform-origin: 0 0; z-index: 0; position: absolute; top: 0px; left: 0px; -ms-touch-action: none; touch-action: none;"></canvas>
<canvas id="gamecanvas" style="zoom: 200%;-moz-transform: scale(2); -moz-transform-origin: 0 0; z-index: 1; position: absolute; top: 0px; left: 0px; -ms-touch-action: none; touch-action: none;"></canvas>
</center>
<script src="libs/polyfill.js" type="text/javascript"></script>
<script src="game.min.js" type="text/javascript"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-58357863-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>