-
Notifications
You must be signed in to change notification settings - Fork 17
/
index.html
540 lines (528 loc) · 32.8 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
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
<!DOCTYPE html>
<html>
<head>
<title>SkapNightly</title>
<meta name="google-site-verification" content="ZgF0wAatFlWYmWIIzk7rdx-3hhlo9XSvz1z6G_AQpT8" />
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Russo One" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Tahoma" />
<link rel="icon" href="nightly.svg" />
<meta charset="utf8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A Client for skap.io. Higher fps, HTML chat and more!">
<!-- Discord Embed -->
<meta content="SkapNightly" property="og:title">
<meta content="a SkapClient fork" property="og:description">
<meta content="https://www.youtube.com/watch?v=dQw4w9WgXcQ" property="og:url">
<meta content="https://nky5223.github.io/SkapClient/skap.ico" property="og:image">
<meta content="#2080FF" name="theme-color">
</head>
<body>
<h2 id="connecting">Connecting...</h2>
<div id="gamesDiv" class="hidden">
<button id="backtoLogin">Back</button>
<div id="gamesMenu">
<h2>Game list</h2>
<button id="refresh">Refresh</button>
<button id="createGameMenuBtn">Create game</button>
</div><br>
<div id="games"></div>
</div>
<!--this really needs to be organized, but this is the only way for a one pager without weird use of iframes (given this html/css/js only thing)-->
<div id="settingsDiv" class="hidden">
<h1>Settings</h1>
<hr>
<h3>Visual options</h3>
<label for="plrinterp">Player interpolation (makes players move smoother)</label><input type="checkbox" id="plrinterpbtn">
<br><br>
<label for="dkmode">In game dark mode</label><input type="checkbox" id="dkmodebtn">
<br><br>
<label for="customtheme">Use custom theme</label><input type="checkbox" id="customthemebtn">
<br><br>
<label for="themebg">Theme Background</label><input type="color" id="themebgclr">
<br><br>
<label for="themewall">Theme Wall</label><input type="color" id="themewallclr">
<br><br>
<label for="debug">Debug Mode (fps, pos, vel etc.):</label><input type="checkbox" id="debug">
<br><br>
<label for="overlay">Overlay:</label><input type="checkbox" id="overlaybtn">
<br><br><hr><br>
<h3>Control Options</h3>
<br>
Up: <input type="text" class="control" /><br>
Left: <input type="text" class="control" /><br>
Down: <input type="text" class="control" /><br>
Right: <input type="text" class="control" /><br>
Cancel velocity: <input type="text" class="control" /><br>
Sprint: <input type="text" class="control" /><br>
Power 1: <input type="text" class="control" /><br>
Power 2: <input type="text" class="control" /><br>
Combo: <input type="text" class="control" /><br>
Respawn: <input type="text" class="control" /><br>
Zoom out: <input type="text" class="othercontrol" /><br>
Zoom in: <input type="text" class="othercontrol" /><br>
Freecam: <input type="text" class="othercontrol" /><br>
Freecam Up: <input type="text" class="othercontrol" /><br>
Freecam Left: <input type="text" class="othercontrol" /><br>
Freecam Down: <input type="text" class="othercontrol" /><br>
Freecam Right: <input type="text" class="othercontrol" /><br>
Toggle Hitboxes: <input type="text" class="othercontrol" /><br>
<br>
<p>
Power Presets help you switch powers.
Power Presets are in the format of <code>power1,power2</code>, where <code>power1</code> and <code>power2</code> is the id of the power (can be found in <a href="../help">help</a>)
</p>
<label for="powerkeybind0">Keybind:</label><input type="text" id="powerkeybind0" class="powerkeybind"> <label for="powerpreset0">Power Preset 1:</label><input type="text" id="powerpreset0" class="powerpreset"><br>
<label for="powerkeybind1">Keybind:</label><input type="text" id="powerkeybind1" class="powerkeybind"> <label for="powerpreset1">Power Preset 2:</label><input type="text" id="powerpreset1" class="powerpreset"><br>
<label for="powerkeybind2">Keybind:</label><input type="text" id="powerkeybind2" class="powerkeybind"> <label for="powerpreset2">Power Preset 3:</label><input type="text" id="powerpreset2" class="powerpreset"><br>
<label for="powerkeybind3">Keybind:</label><input type="text" id="powerkeybind3" class="powerkeybind"> <label for="powerpreset3">Power Preset 4:</label><input type="text" id="powerpreset3" class="powerpreset"><br>
<label for="powerkeybind4">Keybind:</label><input type="text" id="powerkeybind4" class="powerkeybind"> <label for="powerpreset4">Power Preset 5:</label><input type="text" id="powerpreset4" class="powerpreset">
<br><br><hr><br>
<h3>Key ID finder</h3>
What text do i put in those textboxes?<br>
<code>This is actually <a href="https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/">e.key</a></code>
<input type="text" placeholder="Type in me..." id="keyInput" /><br>
Put this in! >>> <span id="keyP"></span>
<br><br><hr><br>
<h3>Emojis</h3>
<input type="radio" name="emoji" id="emoji0" /><label for="emoji0">No emoji conversion</label><br>
<input type="radio" name="emoji" id="emoji1" /><label for="emoji1">:smile: to 😊</label><br>
<input type="radio" name="emoji" id="emoji2" /><label for="emoji2">:) to 😊</label>
<br><br>
<label for="censor">Heavy Censoring (block f***?)</label><input type="checkbox" id="censor">
<br><br><hr><br>
<h3>Unban</h3>
<input type="text" placeholder="Unban Key" id="unbanInput" /> <button id="unbanBtn">Unban Me!</button>
<br><br><br><br>
</div>
<div id="gameDiv" class="hidden">
<div id="UI">
<div id="playerList" class="noselect"></div>
<div id="fuelBarWrap">
<div id="fuelBarInner"></div>
</div>
<div id="chat">
<div id="chatContent"></div>
<input id="chatInput" placeholder="Say something...">
</div>
<div id="pos" class="hidden">
<p>pos: <span id="posX"></span>, <span id="posY"></span></p>
<p>vel: <span id="velX"></span>, <span id="velY"></span> (<span id="vel"></span>)</p>
<p>aim: <span id="aimX"></span>, <span id="aimY"></span></p>
</div>
<div id="rate" class="hidden noselect">
<div id="graphs">
<canvas id="TPSGraph" width="75" height="50"></canvas>
<canvas id="FPSGraph" width="75" height="50"></canvas>
</div>
<div id="numbers">
<span style="color:#ff4040">TPS:</span> <span id="TPS" class="noselect">0</span><br>
<span style="color:#4040ff">FPS:</span> <span id="FPS" class="noselect">0</span>
</div>
</div>
<h3 id="deathText" class="hidden noselect">
You are dead. Wait for someone to rescue you or press R to respawn.<br>
If you have perms, you can type /res in chat to rescue yourself.
</h3>
<h3 id="freezeText" class="hidden noselect">You are frozen. Note that you can still use powers.</h3>
<div id="overlay" class="hidden noselect">
<div id="overlaySprint">Sprint</div>
<div class="overlaykeys" id="overlayShift">Shift</div>
<div class="overlaykeys" id="overlayUp">Up</div>
<div class="overlaykeys" id="overlayRespawn">Respawn</div>
<div class="overlaykeys" id="overlayLeft">Left</div>
<div class="overlaykeys" id="overlayDown">Down</div>
<div class="overlaykeys" id="overlayRight">Right</div>
<div class="overlaypowers" id="overlayPower0">Power 1</div>
<div class="overlaypowers" id="overlayPower1">Power 2</div>
<div class="overlaycombo" id="overlayCombo">Combo</div>
</div>
<!-- power rewards -->
<div class="reward powerreward hidden">
<h3>Shrinker</h3>
<img src="https://skap.io/textures/powers/shrinker.svg" alt="Shrinker" width="300" height="300" />
<p>
This is the shrinker power. It is usually the first power you get.<br>
Using this power changes your height from 6 units to 4.5 units.
</p>
<button class="exitreward exitpowerreward">×</button>
</div>
<div class="reward powerreward hidden">
<h3>Explosion</h3>
<img src="https://skap.io/textures/powers/explosion.svg" alt="Explosion" width="300" height="300" />
<p>
The explosion power destroys all enemies in a 100 unit radius.
</p>
<button class="exitreward exitpowerreward">×</button>
</div>
<div class="reward powerreward hidden">
<h3>Wall (Build)</h3>
<img src="https://skap.io/textures/powers/wall.svg" alt="Wall" width="300" height="300" />
<p>
This power places a 36 unit x 7 unit box beneath you.
</p>
<button class="exitreward exitpowerreward">×</button>
</div>
<div class="reward powerreward hidden">
<h3>Meteor (fireball)</h3>
<img src="https://skap.io/textures/powers/meteor.svg" alt="Meteor" width="300" height="300" />
<p>
When used, a meteor spawns in the direction of your cursor.
</p>
<button class="exitreward exitpowerreward">×</button>
</div>
<div class="reward powerreward hidden">
<h3>Refuel (fuel)</h3>
<img src="https://skap.io/textures/powers/refuel.svg" alt="Refuel" width="300" height="300" />
<p>
Fills up your fuel bar.
</p>
<button class="exitreward exitpowerreward">×</button>
</div>
<div class="reward powerreward hidden">
<h3>Feather (formerly Moon)</h3>
<img src="https://skap.io/textures/powers/feather.svg" alt="Feather" width="300" height="300" />
<p>
Cuts gravity in half.
</p>
<button class="exitreward exitpowerreward">×</button>
</div>
<div class="reward powerreward hidden">
<h3>Shield</h3>
<img src="https://skap.io/textures/powers/shield.svg" alt="Shield" width="300" height="300" />
<p>
Spawns a shield that moves with you and deflects enemies.<br>
Control with cursor.
</p>
<button class="exitreward exitpowerreward">×</button>
</div>
<div class="reward powerreward hidden">
<h3>Dash (Boost)</h3>
<img src="https://skap.io/textures/powers/dash.svg" alt="Dash" width="300" height="300" />
<p>
Moves you in a certain direction. Fast.<br>
Also makes you invinicble to enemies while dashing.
</p>
<button class="exitreward exitpowerreward">×</button>
</div>
<div class="reward powerreward hidden">
<h3>Lantern (Blue Fire)</h3>
<img src="https://skap.io/textures/powers/lantern.svg" alt="Lantern" width="300" height="300" />
<p>
Makes a path behind you that shrinks enemies.<br>
The path despawns after a while.
</p>
<button class="exitreward exitpowerreward">×</button>
</div>
<div class="reward powerreward hidden">
<h3>Ghost</h3>
<img src="https://skap.io/textures/powers/ghost.svg" alt="Lantern" width="300" height="300" />
<p>
Can rescue players. If used while dead, the slot becomes unusable.
</p>
<button class="exitreward exitpowerreward">×</button>
</div>
<div class="reward powerreward hidden">
<h3>Frost</h3>
<img src="https://skap.io/textures/powers/frost.svg" alt="Frost" width="300" height="300" />
<p>
Creates a circle that slows down enemies.
</p>
<button class="exitreward exitpowerreward">×</button>
</div>
<div class="reward powerreward hidden">
<h3>Shell (Tail)</h3>
<img src="https://skap.io/textures/powers/shell.svg" alt="Shell" width="300" height="300" />
<p>
Spawns a tail that follows you. Acts as a mini-meteor.
</p>
<button class="exitreward exitpowerreward">×</button>
</div>
<!-- reward hats -->
<div class="reward hidden" id="militaryHat">
<h3>Military Hat</h3>
<img src="https://skap.io/textures/hats/militaryHat.png" alt="militaryHat" width="300" height="300" />
<p>A token of surviving the Battlefield.</p>
<button class="exitreward exithatreward">×</button>
</div>
<div class="reward hidden" id="santa">
<h3>Santa Hat</h3>
<img src="https://skap.io/textures/hats/santa.png" alt="santa" width="300" height="300" />
<p>Ho, ho, ho... Merry Glacier Advanced!</p>
<button class="exitreward exithatreward">×</button>
</div>
<div class="reward hidden" id="crown">
<h3>Crown</h3>
<img src="https://skap.io/textures/hats/crown.png" alt="crown" width="300" height="300" />
<p>Hidden deep in the wells of Inferno 25.</p>
<button class="exitreward exithatreward">×</button>
</div>
<div class="reward hidden" id="party">
<h3>Party Hat</h3>
<img src="https://skap.io/textures/hats/party.png" alt="party" width="300" height="300" />
<p>Ugly...</p>
<button class="exitreward exithatreward">×</button>
</div>
<div class="reward hidden" id="cowboy">
<h3>Cowboy</h3>
<img src="https://skap.io/textures/hats/cowboy.png" alt="cowboy" width="300" height="300" />
<p>Congratulations. You have beaten... Exodus 100. THe road to 150 lies ahead.</p>
<button class="exitreward exithatreward">×</button>
</div>
<div class="reward hidden" id="kite">
<h3>Kite</h3>
<img src="https://skap.io/textures/hats/kite.png" alt="kite" width="300" height="300" />
<p>Congratulations. You have beaten... Space Advanced 20. Enjoy a Non Obstructive Hat.</p>
<button class="exitreward exithatreward">×</button>
</div>
<div class="reward hidden" id="onigiri">
<h3>Onigiri</h3>
<img src="https://skap.io/textures/hats/onigiri.png" alt="onigiri" width="300" height="300" />
<p>An odd Medal for surviving the No Mans Land.</p>
<button class="exitreward exithatreward">×</button>
</div>
<div class="reward hidden" id="taria">
<h3>Taria</h3>
<img src="https://skap.io/textures/hats/taria.png" alt="taria" width="300" height="300" />
<p>Great job practicing the map!</p>
<button class="exitreward exithatreward">×</button>
</div>
<div class="reward hidden" id="horns">
<h3>Horns</h3>
<img src="https://skap.io/textures/hats/horns.png" alt="horns" width="300" height="300" />
<p>You have retrieved these rewards from the depths of Exodus. Enjoy the Hat Trio, Enjoy the Div Spam</p>
<button class="exitreward exithatreward">×</button>
</div>
<div class="reward hidden" id="devil">
<h3>Devil</h3>
<img src="https://skap.io/textures/hats/devil.png" alt="devil" width="300" height="300" />
<p>You have retrieved these rewards from the depths of Exodus. Enjoy the Hat Trio, Enjoy the Div Spam</p>
<button class="exitreward exithatreward">×</button>
</div>
<div class="reward hidden" id="sakura">
<h3>Sakura</h3>
<img src="https://skap.io/textures/hats/sakura.png" alt="sakura" width="300" height="300" />
<p>You have retrieved these rewards from the depths of Exodus. Enjoy the Hat Trio, Enjoy the Div Spam</p>
<button class="exitreward exithatreward">×</button>
</div>
<div id="power0" class="power">
<div id="power0CD" class="coolDown"></div>
<div id="power0Heat" class="heat"></div>
<img id="power0Img" src="textures/none.svg" class="powerImage">
<div class="selectclip">
<div id="power0select" class="select">
<div class="poweroption hidden" data-slot="0" data-power="0">
<img src="https://skap.io/textures/powers/shrinker.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="0" data-power="1">
<img src="https://skap.io/textures/powers/explosion.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="0" data-power="2">
<img src="https://skap.io/textures/powers/wall.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="0" data-power="3">
<img src="https://skap.io/textures/powers/meteor.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="0" data-power="4">
<img src="https://skap.io/textures/powers/refuel.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="0" data-power="5">
<img src="https://skap.io/textures/powers/feather.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="0" data-power="6">
<img src="https://skap.io/textures/powers/shield.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="0" data-power="7">
<img src="https://skap.io/textures/powers/dash.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="0" data-power="8">
<img src="https://skap.io/textures/powers/lantern.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="0" data-power="9">
<img src="https://skap.io/textures/powers/ghost.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="0" data-power="10">
<img src="https://skap.io/textures/powers/frost.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="0" data-power="11">
<img src="https://skap.io/textures/powers/shell.svg" width="40" height="40" />
</div>
</div>
</div>
<!--<input type="number" id="power0input" placeholder="0-11" />-->
</div>
<div id="power1" class="power">
<div id="power1CD" class="coolDown"></div>
<div id="power1Heat" class="heat"></div>
<img id="power1Img" src="textures/none.svg" class="powerImage">
<div class="selectclip">
<div id="power1select" class="select">
<div class="poweroption hidden" data-slot="1" data-power="0">
<img src="https://skap.io/textures/powers/shrinker.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="1" data-power="1">
<img src="https://skap.io/textures/powers/explosion.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="1" data-power="2">
<img src="https://skap.io/textures/powers/wall.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="1" data-power="3">
<img src="https://skap.io/textures/powers/meteor.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="1" data-power="4">
<img src="https://skap.io/textures/powers/refuel.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="1" data-power="5">
<img src="https://skap.io/textures/powers/feather.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="1" data-power="6">
<img src="https://skap.io/textures/powers/shield.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="1" data-power="7">
<img src="https://skap.io/textures/powers/dash.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="1" data-power="8">
<img src="https://skap.io/textures/powers/lantern.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="1" data-power="9">
<img src="https://skap.io/textures/powers/ghost.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="1" data-power="10">
<img src="https://skap.io/textures/powers/frost.svg" width="40" height="40" />
</div>
<div class="poweroption hidden" data-slot="1" data-power="11">
<img src="https://skap.io/textures/powers/shell.svg" width="40" height="40" />
</div>
</div>
</div>
</div>
</div>
<canvas id="render">CANVAS_NOT_SUPPORTED</canvas>
</div>
<div id="loginDiv" class="hidden">
<h2 id="logo" class="noselect" style="color: rgb(125, 74, 190); margin: 0px;">skap-nightly</h1>
<h4 id="desc" class="noselect" style="color: rgb(100, 100, 100); margin: 10px; margin-bottom: 16px; font-weight: 600;">a <a href="https://nky5223.github.io/SkapClient/">skapclient</a> fork meant for ease of use, customizability, and looks.</h2>
<div id="loginData">
<form id="loginForm" action="javascript:void(0)" method="post">
<input id="username" class="login-input" value="" placeholder="Username" autocomplete="username"><br>
<input id="password" type="password" class="login-input" value="" placeholder="Password" autocomplete="current-password">
</form>
<br><br>
<button id="guest">Guest</button>
<button id="login" form="loginForm">Login</button>
<button id="register" form="loginForm">Register</button>
</div>
<div id="changingRoom" class="hidden">
<button id="backToLogout">Back</button>
<label for="playerColor">Color: </label>
<input type="color" id="playerColor" />
<p>Hats:</p>
<div id="hats"></div>
</div>
<br>
<div id="logoutDiv" class="hidden">
<button id="changingRoomBtn">Changing Room</button>
<br><br>
<button id="logout">Logout</button>
<br><br>
<button id="play">Play</button>
</div>
<div id="links">
<button id="settings">Settings</button>
<a href="https://skap.nightly.pw/editor"><button id="editorBtn">Editor</button></a>
<a href="https://discord.com/invite/rD7fKuJ"><button id="login">Discord</button></a>
<a href="https://github.com/premiering/SkapNightly"><button id="changingRoomBtn">GitHub</button></a>
</div>
<div id="leaderboards">
<h1 class="leaderboard-header"><a class="tokei-a" href="http://tokei.nightly.pw">tokei</a> Leaderboards</h1>
<div id="lb-type-div">
<button class="small-button gray-btn" id="time-based-btn">Time-based</button>
<button class="small-button gray-btn" id="completion-based-btn">Completion-based</button>
</div>
<div>
<button class="small-button exodus-btn" id="exodus-lb">Exodus</button>
<button class="small-button spaceadv-btn" id="spaceadv-lb">Space Adv.</button>
<button class="small-button infernus-btn" id="infernus-lb">Infernus</button>
<button class="small-button inferno-btn" id="inferno-lb">Inferno</button>
<button class="small-button nightmare-btn" id="nightmare-lb">Nightmare</button>
<button class="small-button small-button-text exodus-btn" hidden id="exodus50-lb">Exodus 50 VICTORY</button>
<button class="small-button small-button-text exodus-btn " hidden id="exodus100-lb">Exodus 100 VICTORY</button>
<button class="small-button small-button-text exodus-btn" hidden id="exodus150-lb">Exodus 150 VICTORY</button>
<button class="small-button small-button-text spaceadv-btn" hidden id="spaceadv20-lb">Space Adv. 20 VICTORY</button>
<button class="small-button small-button-text infernus-btn" hidden id="infernus25-lb">Infernus 25</button>
<button class="small-button small-button-text inferno-btn" hidden id="inferno25-lb">Inferno 25</button>
<button class="small-button small-button-text nightmare-btn" hidden id="nightmare20-lb">Nightmare 20</button>
</div>
<p class="leaderboard-desc" id="currently-viewing">Currently viewing _.</p>
<div id="lb-scroll">
<table id="lb-player-cont"></table>
</div>
</div>
</div>
<div id="createGameMenu" class="hidden">
<h1>Create Game</h1>
<input type="text" id="gameName" placeholder="Game Name (optional)" />
<br>
<label id="gameFileLabel" for="gameFile">Game JSON file (default overworld)</label>
<input type="file" name="gameFile" id="gameFile" accept=".json" class="hidden" />
<br>
<label for="perms" class="switchLabel">
Perms:
<input type="checkbox" name="perms" id="perms" class="hidden" checked />
<span class="switch"></span>
</label>
<label for="speedrun" class="switchLabel">
Speedrun:
<input type="checkbox" name="speedrun" id="speedrun" class="hidden" />
<span class="switch"></span>
</label>
<label for="private" class="switchLabel">
Private?
<input type="checkbox" name="private" id="private" class="hidden" />
<span class="switch"></span>
</label>
<div id="gamePwWrapper" class="hidden">
<br>
<input type="text" name="gamePw" id="gamePw" placeholder="Password" />
</div>
<label for="powerRestrict" class="switchLabel" class="hidden">
Restrict powers?
<input type="checkbox" name="powerRestrict" id="powerRestrict" class="hidden" />
<span class="switch"></span>
</label>
<div id="powerRestrictOptions" class="hidden">
<br>
Choose what powers to restrict (red = restricted)
<br><br>
<img src="https://skap.io/textures/powers/shrinker.svg" title="Shrinker" />
<img src="https://skap.io/textures/powers/explosion.svg" title="Explosion" />
<img src="https://skap.io/textures/powers/wall.svg" title="Build" />
<img src="https://skap.io/textures/powers/meteor.svg" title="Meteor" />
<img src="https://skap.io/textures/powers/refuel.svg" title="Refuel" />
<img src="https://skap.io/textures/powers/feather.svg" title="Feather" />
<img src="https://skap.io/textures/powers/shield.svg" title="Shield" />
<img src="https://skap.io/textures/powers/dash.svg" title="Dash" />
<img src="https://skap.io/textures/powers/lantern.svg" title="Lantern" />
<img src="https://skap.io/textures/powers/ghost.svg" title="Ghost" />
<img src="https://skap.io/textures/powers/frost.svg" title="Frost" />
<img src="https://skap.io/textures/powers/shell.svg" title="Shell" />
<br>
</div>
<label for="uploadMap" class="switchLabel">
Upload map?
<input type="checkbox" name="uploadMap" id="uploadMap" class="hidden" />
<span class="switch"></span>
</label>
<br>
<button id="createGameBtn">Let's go! (this will take a while for large maps)</button>
</div>
<div id="pauseGameDiv" class="hidden"></div>
<div id="alert" class="noselect"></div>
<div id="ws" clas="hidden"></div>
<div id="invert" class="hidden"></div>
<audio src="mention.mp3" id="mention"></audio>
<script src="https://rawgit.com/kawanet/msgpack-lite/master/dist/msgpack.min.js"></script>
<script src="https://www.google.com/recaptcha/api.js?render=6Ld2wFMaAAAAAIL8fjR5Bwg6kn3fP2t-b9NFoK_R"></script>
<script src="bootstrapper.js"></script>
</body>
</html>