forked from digitaltom/jump-run
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
85 lines (64 loc) · 2.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
<title>Geeko Run</title>
<link href="css/game.css" rel="stylesheet" type="text/css">
<link href="css/pad-controls.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="game-container">
<canvas id="game">
Guru meditation: No <canvas> element supported!
</canvas>
<div id="game-menu" class="game-info">
<div class="menu-item menu-text" id="intro">
<p>Welcome to the Geeko run!</p>
</div>
<div class="menu-item menu-link" id="button-play3">
Start
</div>
<div class="menu-item menu-text" id="help">
<p>Please use your arrow keys or pad controls to play.</p>
</div>
</div>
<div id="game-over" class="game-info">
<div class="menu-item menu-link" id="button-restart">
Play again
</div>
<div class="menu-item menu-link" id="button-menu">
Back to main menu
</div>
</div>
<div id="pad-controls">
<div class="controls-wrapper controls-left">
<ul>
<li class="cross" id="control-up"></li>
</ul>
</div>
<div class="controls-wrapper controls-right">
<ul>
<li id="control-left"></li>
<li id="control-right"></li>
</ul>
</div>
</div>
</div>
<!-- don't forget the charset here, else the levels will be parsed incorrectly -->
<script type="text/javascript" src="js/menu.js" charset="utf-8"></script>
<script type="text/javascript" src="js/levels.js" charset="utf-8"></script>
<script type="text/javascript" src="js/level_methods.js" charset="utf-8"></script>
<script type="text/javascript" src="js/game.js" charset="utf-8"></script>
<script type="text/javascript" src="js/controls.js" charset="utf-8"></script>
<script type="text/javascript" src="js/sounds.js" charset="utf-8"></script>
<a href="https://github.com/digitaltom/jump-run" id="github-fork-me">
<img style="position: absolute; top: 0; right: 0; border: 0;"
src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"
alt="Fork me on GitHub"></a>
<img src="themes/suse/images/game_tiles.png" width="0" height="0"/>
<img src="themes/suse/images/player_sprites.png" width="0" height="0"/>
</body>
</html>