-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (57 loc) · 2.16 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
<html>
<head>
<title>Pico Planets</title>
<style>
@font-face {
font-family: 'AudiowideRegular';
src: url('fonts/audiowide-regular-webfont.eot');
src: url('fonts/audiowide-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/audiowide-regular-webfont.woff') format('woff'),
url('fonts/audiowide-regular-webfont.ttf') format('truetype'),
url('fonts/audiowide-regular-webfont.svg#') format('svg');
font-weight: normal;
font-style: normal;
}
body {
background-color: #111;
color: #BBB;
font: 16px AudiowideRegular,sans-serif;
}
a {
color: #FFF;
text-decoration: none
}
</style>
<script type="text/javascript" src="processing/processing.js"></script>
<script type="text/javascript" src="radio/radio.js"></script>
<script type="text/javascript">
/* @pjs font="fonts/Audiowide-Regular.ttf"; */
var sketch = function (func) {
var canvas = document.getElementById('canvas');
canvas.style.display = 'block';
new Processing(canvas, function (processing) { func.call(processing); });
}
</script>
</head>
<body>
<div>
<a href="http://picoplanets.com/"><strong>Pico Planets:</strong></a> <a href="http://twitter.com/#!/search/%23ld48">#LD48</a> entry for <a href="http://www.ludumdare.com/compo/">Ludum Dare #23</a>, by <a href="http://www.ludumdare.com/compo/author/brianshaler/">Brian Shaler</a>. <a href="https://github.com/brianshaler/picoplanets">Source code</a>
</div>
<div id="canvas_div"><canvas id="canvas" /></div>
<p>
LEFT/RIGHT: Walk around on a planet<br />
SPACE: Tap for a short jump, hold to power up for a higher jump.
</p>
<script type="text/javascript" src="lib/game.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-1514743-21']);
_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>
</body>
</html>