-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
123 lines (99 loc) · 3.63 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!DOCTYPE html>
<!--
_ __ _ _ _ _ _ _
| | / / (_) | | | | | | | | | |
| |/ / __ _ _ __ _| | _| | _| |_ _| |__ | |__ ___ _ __
| \ / _` | |/ _` | |/ / |/ / | | | | '_ \| '_ \ / _ \ '_ \
| |\ \ (_| | | (_| | <| <| | |_| | |_) | |_) | __/ | | |
\_| \_/\__,_| |\__,_|_|\_\_|\_\_|\__,_|_.__/|_.__/ \___|_| |_|
_/ |
|__/
Thanks to XKCD and the people who wrote the original javascript.
Original comic strip by Randall Munroe: http://xkcd.com/1110/
-->
<html version="-//W3C//DTD XHTML 1.1//EN" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Press and Move | Kajakklubben</title>
<link href='http://fonts.googleapis.com/css?family=Archivo+Narrow:400,700' rel='stylesheet' type='text/css'>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-35164847-1']);
_gaq.push(['_setDomainName', 'kajakklubben.org']);
_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>
<style type="text/css">
.flip {
-moz-transform: scaleX(-1);
-webkit-transform: scaleX(-1);
-o-transform: scaleX(-1);
transform: scaleX(-1);
-ms-filter: fliph; /*IE*/
filter: fliph; /*IE*/
}
.r5 {
-ms-transform:rotate(5deg);
-o-transform:rotate(5deg);
-webkit-transform:rotate(5deg);
-moz-transform:rotate(5deg);
}
.r10 {
-ms-transform:rotate(10deg);
-o-transform:rotate(10deg);
-webkit-transform:rotate(10deg);
-moz-transform:rotate(10deg);
}
.flip-r5 {
-ms-transform:rotate(5deg);
-o-transform:rotate(5deg);
-webkit-transform:scaleX(-1) rotate(5deg);
-moz-transform:rotate(5deg);
}
.flip-r10 {
-ms-transform:rotate(10deg);
-o-transform:rotate(10deg);
-webkit-transform:scaleX(-1) rotate(10deg);
-moz-transform:rotate(10deg);
}
a {
color: #333;
}
#header {
font-family: 'Archivo Narrow', sans-serif;
text-align:center;
color:#333;
font-size:25px;
margin-bottom:20px;
margin-top:27px;
}
#footer {
font-family: 'Archivo Narrow', sans-serif;
text-align:center;
margin-top:10px;
color:#333;
}
</style>
<body>
<div id="header">Press and Move</div>
<div id="comic" >
<img src="http://imgs.xkcd.com/comics/click_and_drag.png" title="Arrow keys to move and space to fly." alt="Click and Drag" />
<div class="map"><div class="ground"></div></div>
<script type="text/javascript" src="http://imgs.xkcd.com/static/jquery-1.8.1.min.js"></script>
<script type="text/javascript" src="1110.js?2"></script>
<script type="text/javascript" src="game.js?2"></script>
</div>
<div id="canvascontainer">
<canvas id='canvas' width='1024' height='1024'></canvas>
</div>
<div id="footer">
<div style="position:absolute; width:100%;"><img style="position:relative; right:320px; top:15px" src="prize.jpg" width="120px"></div>
<span id="loadingwarning" style="position: relative; left: -150px; top: -200px; z-index: 999; display: none;">Game is still loading. Press again in a second...</span>
<br>Make sure to set browser zoom to default if you encounter problems.<br><br>
Homage to <a href="http://xkcd.com/1110/">XKCD 1110</a> by <a href="http://kajakklubben.org">Kajakklubben</a>.<br><a href="http://xkcd.kajakklubben.org/statistics.php">Game statistics</a> | <a href="http://github.com/Kajakklubben/PressAndMove/">Source code</a>.
</div>
</html>