-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
99 lines (96 loc) · 6.03 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="Raging Gardens is an HTML5 game by Dvubuz Games.">
<meta name="keywords" content="raging gardens, rabbits game, html5, javascript, indie, browser based, 2D game">
<title data-localize="title">Raging Gardens</title>
<script type="text/javascript" src="lib/modernizr.custom.js"></script>
<link rel="shortcut icon" href="favicon.ico" />
<link type="text/css" href="css/style.css" rel="stylesheet" />
<link type="text/css" href="css/le-frog/jquery-ui-1.9.2.custom.css" rel="stylesheet">
<script type="text/javascript" src="lib/jquery.191.min.js"></script>
<script type="text/javascript" src="lib/jquery-ui.192.min.js"></script>
<script type="text/javascript" src="lib/gj-js-api-min.js"></script>
<script type="text/javascript" src="lib/crafty-063-min.js"></script>
<script type="text/javascript" src="lib/underscore-min.js"></script>
<script type="text/javascript" src="lib/backbone-min.js"></script>
<script type="text/javascript" src="lib/graph.js"></script>
<script type="text/javascript" src="lib/astar.js"></script>
<script type="text/javascript" src="src/jq.localize.js"></script>
</head>
<body>
<!--[if lt IE 8]><p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]-->
<div id="dialog-save-score" style="display: none;"></div>
<div id="dialog-score" style="display: none;"></div>
<div id="dialog-howto" style="display: none;">
<h1 data-localize="story-title">Story</h1>
<p data-localize="story">
It's a lovely day at farmers field. A great time for a hungry (ninja) rabbit to sneak in and <span class="keys">pull</span>
some carrots to eat. Too bad you weren't the only one with that idea. A horde of hungry opponents approaches fast!
Pull as many carrots as you can in <span class="keys">3 minutes</span>. To fight your opponents, you must use ancient rabbitjutsu tactics.
These are slightly unorthodox. Simply uhm ... fart to <span class="keys">push</span> your opponents away or use a
<span class="keys">Carrot-on-a-Fork</span> totem decoy to deceive them. The totem is spawned on your current position.
</p>
<h1 data-localize="goal-control-title">Goal & Controls</h1>
<p data-localize="goal">Collect as many carrots as possible in 3 minutes. Use the controls to move and repel opponents.</p>
<ul>
<li data-localize="direction-control"><span data-localize="arrows" class="keys">Arrow keys</span> - Move your ninja rabbit on the map.</li>
<li data-localize="pull-carrot-control"><span class="keys">Z (or Y)</span> - Hold down to pull a carrot from the ground. You need to be close to a carrot.</li>
<li data-localize="eat-carrot-control"><span class="keys">Q</span> - Eat <span class="keys">1 carrot</span> and fart to push opponents away from you.</li>
<li data-localize="totem-control"><span class="keys">W</span> - Eat <span class="keys">2 carrots</span> and spawn a "Carrot-on-a-Fork" totem that attracts
opponents and gives you time to pull more carrots elsewhere on the map.</li>
</ul>
</div>
<div id="dialog-credits" style="display: none;">
<p data-localize="developer">Game design and programming - <a href="http://petarov.vexelon.net">Petar Petrov</a></p>
<br />
<p data-localize="designer">Art and graphics - <a href="http://stremena.com/">Stremena Tuzsuzova</a></p>
<br />
<p data-localize="musician">Sound and Music - <a href="https://github.com/petarov/game-off-2012#sound-and-music">See here</a></p>
</div>
<div id="dialog-restart" data-localize="dialog-restart" style="display: none;">Would you like to restart the game?</div>
<div id="fps" style="display: none;"></div>
<div id="wrapper">
<div id="left-frame" style="display: none;"></div>
<div id="right-frame" style="display: none;"></div>
<div id="bottom-frame" style="display: none;"></div>
<div id="stage">
<div id="msgs" class="text center"></div>
<div id="loading" class="text left" style="display: none;"></div>
<div id="stats" style="display: none;">
<div id="timer" class="text timer"></div>
<div id="carrots" class="text carrots"></div>
</div>
<div id="in-menu" style="display: none;">
<div id="toggle-music"></div>
<div id="toggle-sfx"></div>
</div>
<div id="menu" style="display: none;">
<div id="menu-start" data-localize="start" class="button" style="left: 76px">Play Game</div>
<div id="menu-howto" data-localize="instructions" class="button" style="left: 248px">How to Play</div>
<div id="menu-hiscore" data-localize="menu-hiscores" class="button" style="left: 438px">Hiscores</div>
<div id="menu-credits" data-localize="credits" class="button" style="left: 618px">Credits</div>
</div>
</div>
</div>
<p class="safari">Music and sounds are currently not supported on Safari. :(</p>
<div id="logo">
<div id="version" style="display: none;"></div>
</div>
<!--URCHIN-->
<script type="text/javascript">
var ver = new Date().getTime();
window._Globals = {env:'dev', version:ver, scene:'splash'};
var require = {waitSeconds:15, urlArgs:"bust="+ver};
let detectedLan = navigator.language.slice(0, 2);
detectedLan = detectedLan === "en" ? "ko" : detectedLan;
var opts = { language: detectedLan, pathPrefix: "./locales", skipLanguage: "en-US" };
$("[data-localize]").localize("translations", opts);
</script>
<script data-main="src/bootstrap" src="lib/require.js">
</script>
</body>
</html>