-
Notifications
You must be signed in to change notification settings - Fork 34
/
game.html
146 lines (142 loc) · 5.93 KB
/
game.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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Rogalik!</title>
<!-- <script src='https://www.google.com/recaptcha/api.js'></script> -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-32173828-2', 'auto');
ga('send', 'pageview');
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter22856329 = new Ya.Metrika({id:22856329,
webvisor:true,
clickmap:true,
trackLinks:true,
accurateTrackBounce:true});
} catch(e) { }
});
var n = d.getElementsByTagName("script")[0],
s = d.createElement("script"),
f = function () { n.parentNode.insertBefore(s, n); };
s.type = "text/javascript";
s.async = true;
s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<link rel="icon" type="image/png" href="favicon.ico" />
<link rel="stylesheet" href="main.css"/>
<link rel="stylesheet" media="(max-height: 768px)" href="small.css" />
<link rel="stylesheet" media="(min-width: 1900px)" href="big.css" />
</head>
<body>
<div id="cursor"></div>
<div id="menu" class="panel"></div>
<div id="world">
<canvas class="map-canvas hidden"></canvas>
<canvas class="map-canvas hidden"></canvas>
<canvas id="canvas"></canvas>
<div id="minimap-container">
<canvas id="minimap"></canvas>
</div>
<div id="interface" class="button-panel">
<div class="button" id="stats-button"></div>
<div class="button" id="inventory-button"></div>
<div class="button" id="skills-button">Skills</div>
<div class="button" id="terra-bar-button">Terra</div>
<div class="button" id="craft-button">Craft</div>
<div class="button" id="build-button">Build</div>
<div class="button" id="chat-button">Chat</div>
<div class="button" id="map-button">Map</div>
<div class="button" id="system-button">System</div>
<div class="button" id="donate-button">Donate!</div>
<div id="strips">
<div id="hp"><div></div><div></div></div>
<div id="fullness"><div></div><div></div></div>
<div id="stamina"><div></div><div></div></div>
</div>
</div>
<div title="Game time" id="time">00:00</div>
<div id="effects"></div>
<div id="warning"></div>
<div id="anouncement"></div>
<div id="messages"></div>
<div id="hotbar" class="button-panel">
<div class="button" id="pick-up-button">Pick Up<i>X</i></div>
<div class="button" id="fight-button">Fight<i>F</i></div>
<div class="button" id="action-button"></div>
</div>
<div id="fight-panel" class="hidden">
<div id="fight-commands">
<div id="fight-action" class="button-panel">
<div class="button" id="punch-button">Punch<i>1</i></div>
<div class="button" id="kick-button">Kick<i>2</i></div>
<div class="button" id="slap-button">Slap<i>3</i></div>
<div class="button" id="shot-button">Shot<i>4</i></div>
<div class="button" id="defend-button">Defend<i>5</i></div>
</div>
</div>
<div id="fight-target">
<div class="badge">Target:</div>
<div class="button" id="head-button">Head<i>Shift-1</i></div>
<div class="button" id="body-button">Body<i>Shift-2</i></div>
<div class="button" id="legs-button">Legs<i>Shift-3</i></div>
</div>
<div class="button" id="fight-close-panel-button">Close</div>
</div>
</div>
<script src="//ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js"></script>
<script src="lib/rawinflate.js"></script>
<script src="lib/stats.min.js"></script>
<script src="lib/sprintf.js"></script>
<script src="lib/binary-search-tree.js"></script>
<script src="polyfill.js"></script>
<script src="hashtable.js"></script>
<script src="config.js"></script>
<script src="util.js"></script>
<script src="dict-ru.js"></script>
<script src="dict.js"></script>
<script src="talks.js"></script>
<script src="point.js"></script>
<script src="sprite.js"></script>
<script src="loader.js"></script>
<script src="sound.js"></script>
<script src="stage.js"></script>
<script src="camera.js"></script>
<script src="panel.js"></script>
<script src="chat.js"></script>
<script src="craft.js"></script>
<script src="build.js"></script>
<script src="minimap.js"></script>
<script src="users.js"></script>
<script src="stats.js"></script>
<script src="skills.js"></script>
<script src="settings.js"></script>
<script src="system.js"></script>
<script src="donate.js"></script>
<script src="news.js"></script>
<script src="fight.js"></script>
<script src="controller.js"></script>
<script src="network.js"></script>
<script src="container.js"></script>
<script src="entity.js"></script>
<script src="entities.js"></script>
<script src="info.js"></script>
<script src="character.js"></script>
<script src="characters.js"></script>
<script src="map.js"></script>
<script src="menu.js"></script>
<script src="game.js"></script>
<script src="vendor.js"></script>
<script src="help.js"></script>
<script src="main.js"></script>
</body>
</html>