-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·96 lines (84 loc) · 3.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
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
92
93
94
95
96
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>IsoDrift</title>
<meta name="description" content="">
<meta charset="UTF-8">
<meta name="author" content="James Baber">
<meta name="keywords" content="JavaScript, CSS, HTML, HTML5">
<link rel="stylesheet" type="text/css" href="style.css">
<!-- Google Analytics Code -->
<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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55895926-4', 'auto');
ga('send', 'pageview');
</script>
<link rel="icon" sizes="192x192" href="resources/icon.png">
<link rel="apple-touch-icon-precomposed" sizes="128x128" href="resources/appletouchicon.png">
<link rel="apple-touch-startup-image" href="resources/splash.png">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="manifest" href="manifest.json">
<meta name="mobile-web-app-capable" content="yes">
</head>
<body>
<!-- HTML5 Canvas for JavaScript game rendering -->
<center>
<!--<script>
function setupGame() {
var elem = document.getElementById("menu");
elem.parentNode.removeChild(elem);
launchIntoFullscreen(document.getElementById("canvas"));
document.getElementById("game").style.visibility = "visible";
}
</script>
<div id="menu">
<!-- Launch game button, disappears when pressed -->
<!--
<button onclick="setupGame()">Launch Game</button>
</div>-->
<div id="game"><!-- style="visibility: hidden">-->
<canvas id="canvas" width=1280 height=720>
Your browser doesn't seem to support HTML5 canvases.
<br />
<a href="https://www.google.com/chrome/browser/desktop/index.html">
Get Chrome!
</a>
</canvas>
<!-- Load JavaScript scripts -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="scripts/1-load.js"></script>
<script src="scripts/2-setup.js"></script>
<script src="scripts/3-tick.js"></script>
<script src="scripts/4-render.js"></script>
<script src="scripts/5-loop.js"></script>
</div>
<!-- GitHub follow button -->
<!--
<a class="github-button" href="https://github.com/jamesbaber" data-style="mega" data-count-href="/jamesbaber/followers" data-count-api="/users/jamesbaber#followers">Follow @jamesbaber</a>
-->
<!-- Twitter follow button -->
<!--
<a href="https://twitter.com/stopmotionheavn" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @stopmotionheavn</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
-->
<!-- GitHub button script. Place after all buttons -->
<!--
<script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
-->
</center>
<div id="ad" style="position:absolute; bottom:0;right:0">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- IsoDrift.JamesBaber.co.uk - Bottom Float -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-9874894403545007"
data-ad-slot="7908023971"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</body>
</html>