-
Notifications
You must be signed in to change notification settings - Fork 13
/
index.html
78 lines (66 loc) · 2.64 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
<!DOCTYPE html>
<head>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<!--Libs-->
<script src="js/libs/babylon/babylon.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="msapplication-tap-highlight" content="no" />
<!--Game-->
<script src="js/Game.js"></script>
<script src="js/GameObject.js"></script>
<script src="js/Player.js"></script>
<script src="js/Lanes.js"></script>
<script src="js/SapinouManager.js"></script>
<script src="js/ObstacleManager.js"></script>
<script src="js/Gift.js"></script>
</head>
<body>
<div class="wrapper">
<div class="orientationWrapper">
Please turn your device in landscape mode
</div>
<div class="contentWrapper">
<div class="title">Christmas runner</div>
<div class="subtitle top">Collect as many gifts as you can !</div>
<div class="play">play</div>
<div class="play playRipple"></div>
<div class="subtitle bottom">
Play with arrow keys to move left or right
<br/>Space to jump
</div>
<div class="author">
Made with <i class="fa fa-heart"></i> by <a href="http://twitter.com/Temechon">Julian</a>, (3D assets by <a href="http://twitter.com/jbledowski">JB</a> and Sarah)<br/>
Powered by <a class="red" href="http://www.babylonjs.com">Babylon.js</a>
</div>
</div>
</div>
<div class="ready">
Space to start!
</div>
<div class="score">
0
</div>
<canvas id="renderCanvas"></canvas>
<div class="lost">
</div>
</body>
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//pixelcodr.com/analytics/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 1]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//pixelcodr.com/analytics/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/hammer.js/2.0.4/hammer.min.js"></script>
<script src="js/scripts/home.js"></script>
</html>