-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
872 lines (775 loc) · 49.5 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
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
<!DOCTYPE html>
<html lang="en">
<head>
<title>G4</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="G4">
<meta name="description" content="An infinite rage puzzle game.">
<meta name="theme-color" content="#000000" />
<link rel="apple-touch-icon" href="res/icons/icon-152x152.png">
<link rel="manifest" href="manifest.json">
<link rel="shortcut icon" href="res/icons/favicon.png">
<link rel="stylesheet" href="styles/build/layout.css">
</head>
<body class="" tabindex="-1">
<div class="titleBar">
<div class="title">
<p>G4X.7</p>
</div>
<div class="buttons">
<button id="minimizeBtn" tabindex="-1">
<svg x="0px" y="0px" viewBox="0 0 16 16">
<rect x="2" y="8" width="12" height="1"/>
</svg>
</button>
<button id="maximizeBtn" tabindex="-1">
<svg x="0px" y="0px" viewBox="0 0 16 16">
<path d="M13,3v10H3V3H13 M14,2h-1H3H2v1v10v1h1h10h1v-1V3V2L14,2z"/>
</svg>
</button>
<button id="restoreBtn" tabindex="-1">
<svg x="0px" y="0px" viewBox="0 0 16 16">
<path d="M5,2v3H2v9h9v-3h3V2H5z M10,13H3V6h7V13z M13,10h-2V5H6V3h7V10z"/>
</svg>
</button>
<button id="closeBtn" tabindex="-1">
<svg x="0px" y="0px" viewBox="0 0 16 16">
<polygon points="8.7,8 14.3,13.6 13.7,14.3 8,8.7 2.3,14.3 1.7,13.6 7.3,8 1.7,2.3 2.3,1.6 8,7.3 13.7,1.6 14.3,2.3 "/>
</svg>
</button>
</div>
</div>
<div class="loadingScreen loading">
<img src="res/images/updateLogo.svg">
<div>
<div class="progressBar">
<div class="bar" style="width: 0%"></div>
</div>
<button id="openGame">Play G4</button>
</div>
</div>
<main class="one">
<div class="pluginConsole collapsed">
<header>
<span>Plugin console</span>
<div class="filters">
Show:
<button class="call">API calls</button>
<button class="info">Info</button>
<button class="warning">Warnings</button>
<button class="error">Errors</button>
</div>
<button id="clearPluginConsole">Clear console</button>
</header>
<div class="messages">
<table>
<thead>
<tr>
<th class="time">Time</th>
<th class="plugin">Plugin</th>
<th class="message">Message</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</main>
<aside>
<header>
<div class="content">
<div class="accountInfo">
<p class="username">N/A</p>
<button id="logoutBtn">Log out</button>
</div>
<button id="openLoginBtn">
Log in
</button>
<button id="openSettingsBtn">
Settings
</button>
</div>
<button class="expander">
<div></div>
</button>
</header>
<div class="scroller">
<div class="notifications">
</div>
<section class="pwaInstall hidden">
<header>
Install G4 locally
<button id="butInstall" aria-label="Install">
Click to Install
</button>
</header>
<div class="content">
You can install G4 on your device as a Progressive Web App to play it without an internet connection.
</div>
</section>
<section class="gameMode">
<div class="content">
</div>
</section>
<section class="leaderboard">
<header>
Leaderboard
</header>
<div class="content">
<div class="personalHiScore">
<p>Your high score:</p>
<p class="score">-</p>
</div>
<div class="leaderboardTimeframe" style="display: none !important;">
<button data-frame="day">Daily</button>
<button data-frame="week">Weekly</button>
<button class="active" data-frame="all">All Time</button>
</div>
<table>
<thead>
<tr>
<th>#</th>
<th>Player</th>
<th>Score</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</section>
</div>
<footer>
<div class="statusItem fpsCounter" style="display: none">
<svg width="100%" height="100%" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g transform="matrix(1,0,0,1,-2,2)">
<path d="M7,2L7,3L4,3L4,6L7,6L7,7L4,7L4,10L3,10L3,2L7,2Z"/>
</g>
<path d="M10,9L7,9L7,12L6,12L6,4L10,4L10,9ZM9,5L7,5L7,8L9,8L9,5Z"/>
<path d="M15,6L15,4L11,4L11,7.5L14,9L14,11L12,11L12,10L11,10L11,12L15,12L15,8.5L12,7L12,5L14,5L14,6L15,6Z"/>
</svg>
<span class="fpsCounter"></span>
</div>
</footer>
</aside>
<div class="dialogContainer">
<dialog id="login" class="">
<header>
<button class="close">Back</button>
Log in
</header>
<div class="content">
<h2>Log in to your G4 account to save your scores on the leaderboard.</h2>
<p class="error"></p>
<form id="loginForm">
<label for="loginUsername">Username:</label>
<input id="loginUsername" maxlength="20">
<label for="loginPassword">Password:</label>
<input id="loginPassword" type="password">
</form>
<div class="setting">
<input type="checkbox" id="loginRemember">
<label for="loginRemember">For the love of G4, remember me</label>
</div>
<div class="buttons">
<button id="loginBtn" class="primary">Log in</button>
<button id="goToRegisterBtn">Create an account</button>
</div>
</div>
</dialog>
<dialog id="register" class="">
<header>
<button class="close">Back</button>
Register
</header>
<div class="content">
<h2>Create a G4 account.</h2>
<p class="error"></p>
<form id="registerForm">
<label for="registerUsername">Username:</label>
<input id="registerUsername" maxlength="20">
<label for="registerPassword">Password:</label>
<input id="registerPassword" type="password">
</form>
<p>By clicking "Register", you agree to the <a href="https://g4game.wtf/tos/">G4 Terms of Service</a>.</p>
<div class="buttons">
<button id="registerBtn" class="primary">Register</button>
</div>
</div>
</dialog>
<dialog id="playerStats" class="">
<header>
<button class="close">Back</button>
Player info
</header>
<div class="content">
<h1></h1>
<div class="badges">
</div>
<h2>Achievements</h2>
<div class="achievements"></div>
<h2>High scores</h2>
<div class="scores">
</div>
</div>
</dialog>
<dialog id="settings" class="settings">
<header>
<button class="close">Back</button>
Settings
</header>
<div class="content">
<div class="sectionLink" id="settingsGfxBtn">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 64 64" style="enable-background:new 0 0 64 64;" xml:space="preserve">
<path d="M56,8H40c-1.1,0-2.1,0.4-2.8,1.2l-8,8c0,0,0,0-0.1,0.1l-1.5-3C26.9,12.9,25.5,12,24,12s-2.9,0.9-3.6,2.2l-16,32
C4.1,46.8,4,47.4,4,48c0,6.8,8.6,12,20,12s20-5.2,20-12c0-0.6-0.1-1.2-0.4-1.8L40.5,40H48c0.4,0,0.8-0.1,1.2-0.2
c0.2-0.1,0.5-0.2,0.7-0.3c0.1-0.1,0.2-0.1,0.3-0.2c0.2-0.2,0.4-0.3,0.6-0.5l8-8c0.8-0.8,1.2-1.8,1.2-2.8V12C60,9.8,58.2,8,56,8z
M24,56c-8.8,0-16-3.6-16-8l16-32l16,32C40,52.4,32.8,56,24,56z M48,36h-9.5L32,23v-3h16V36z M49,16.1C48.7,16,48.4,16,48,16H36l4-4
h13.2L49,16.1z M56,28l-4,4V20c0-0.4,0-0.7-0.1-1l4.1-4.1V28z"/>
</svg>
<div class="info">
<p class="name">Graphics</p>
<!-- <p class="description">GLSL shaders</p> -->
</div>
</div>
<div class="sectionLink" id="settingsMusicBtn">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 64 64" style="enable-background:new 0 0 64 64;" xml:space="preserve">
<path d="M20,8c6.6,0,12,5.4,12,12s-5.4,12-12,12S8,26.6,8,20S13.4,8,20,8L20,8z M20,4C11.2,4,4,11.2,4,20s7.2,16,16,16s16-7.2,16-16
S28.8,4,20,4L20,4z"/>
<path d="M58,48H36v-1.3c0-3.7-3-6.7-6.7-6.7h-6.7C19,40,16,43,16,46.7V48H6c-0.5,0-1,0.2-1.4,0.6C4.2,49,4,49.5,4,50
c0,1.1,0.9,2,2,2h10v1.3c0,3.7,3,6.7,6.7,6.7h6.7c3.7,0,6.7-3,6.7-6.7V52h22c0.5,0,1-0.2,1.4-0.6C59.8,51,60,50.5,60,50
C60,48.9,59.1,48,58,48z M32,53.3c0,1.5-1.2,2.7-2.7,2.7h-6.7c-1.5,0-2.7-1.2-2.7-2.7v-6.7c0-1.5,1.2-2.7,2.7-2.7h6.7
c1.5,0,2.7,1.2,2.7,2.7V53.3z"/>
<circle cx="14" cy="18" r="2"/>
<path d="M54.2,8c1,0,1.8,0.8,1.8,1.8v4.3c0,1-0.8,1.8-1.8,1.8h-8.3c-1,0-1.8-0.8-1.8-1.8V9.8c0-1,0.8-1.8,1.8-1.8H54.2L54.2,8z
M54.2,4h-8.3C42.6,4,40,6.6,40,9.8v4.3c0,3.2,2.6,5.8,5.8,5.8h8.3c3.2,0,5.8-2.6,5.8-5.8V9.8C60,6.6,57.4,4,54.2,4L54.2,4z"/>
<path d="M54.2,28c1,0,1.8,0.8,1.8,1.8v0.3c0,1-0.8,1.8-1.8,1.8h-8.3c-1,0-1.8-0.8-1.8-1.8v-0.3c0-1,0.8-1.8,1.8-1.8H54.2L54.2,28z
M54.2,24h-8.3c-3.2,0-5.8,2.6-5.8,5.8v0.3c0,3.2,2.6,5.8,5.8,5.8h8.3c3.2,0,5.8-2.6,5.8-5.8v-0.3C60,26.6,57.4,24,54.2,24L54.2,24z
"/>
</svg>
<div class="info">
<p class="name">Audio</p>
<p class="description">Background music and sound effects</p>
</div>
</div>
<div class="sectionLink" id="settingsInputBtn">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 64 64" style="enable-background:new 0 0 64 64;" xml:space="preserve">
<path d="M28,36v4h4v-4H28z"/>
<rect x="8" y="12" width="4" height="4"/>
<rect x="28" y="12" width="4" height="4"/>
<rect x="20" y="20" width="4" height="4"/>
<rect x="20" y="12" width="4" height="4"/>
<rect x="8" y="20" width="8" height="4"/>
<path d="M64,12c0-4.4-3.6-8-8-8H8c-4.4,0-8,3.6-8,8v20c0,3.1,1.8,5.8,4.3,7.1L0.5,50.4c-0.9,2.6-0.7,5.4,0.6,7.9
c1.2,2.5,3.4,4.3,6,5.2c1.1,0.4,2.2,0.5,3.3,0.5c4.5,0,8.4-2.8,9.8-7.1l1.1-3.3h2.2l1.1,3.3c1.4,4.2,5.3,7.1,9.8,7.1
c1.1,0,2.2-0.2,3.3-0.5c2.6-0.9,4.7-2.7,5.9-5.1c2,1,4.2,1.6,6.5,1.6c6.6,0,12.4-4.7,13.7-11.2c0.2-0.9,0.3-1.9,0.3-2.8v-8
c0-0.9-0.1-1.9-0.3-2.8c0-0.2-0.1-0.4-0.1-0.6c0.3-0.8,0.4-1.7,0.4-2.6V12z M36.3,59.7c-0.7,0.2-1.3,0.3-2,0.3c-2.7,0-5.1-1.7-6-4.3
l-2-6h-8l-2,6c-0.9,2.7-3.4,4.3-6,4.3c-0.7,0-1.3-0.1-2-0.3c-3.3-1.1-5.1-4.7-4-8L8.2,40l1.3-4l0.8-2.3h24l0.8,2.3l0.9,2.7V46
c0,0.9,0.1,1.9,0.3,2.8c0.6,2.8,2,5.3,3.9,7.2C39.5,57.7,38.2,59.1,36.3,59.7z M60,46c0,0.7-0.1,1.4-0.2,2c-0.9,4.6-5,8-9.8,8
c-2,0-3.8-0.6-5.4-1.6c-2.2-1.4-3.9-3.7-4.4-6.4c-0.1-0.6-0.2-1.3-0.2-2v-8c0-0.7,0.1-1.4,0.2-2c0.5-2.4,1.9-4.5,3.8-6
c1.2-0.9,2.5-1.5,4-1.8V40h4V28.2c1.5,0.3,2.8,0.9,4,1.8c1.5,1.1,2.6,2.6,3.3,4.3c0.2,0.5,0.4,1.1,0.5,1.7c0.1,0.6,0.2,1.3,0.2,2V46
z M60,28.2c-2.6-2.6-6.1-4.2-10-4.2s-7.4,1.6-10,4.2c-0.9,0.9-1.7,1.9-2.3,3l-0.5-1.6H7.4l-0.9,2.7l-0.9,2.8C4.6,34.5,4,33.3,4,32
V12c0-2.2,1.8-4,4-4h48c2.2,0,4,1.8,4,4V28.2z"/>
<rect x="52" y="12" width="4" height="4"/>
<rect x="28" y="20" width="4" height="4"/>
<rect x="36" y="20" width="4" height="4"/>
<rect x="44" y="20" width="4" height="4"/>
<rect x="36" y="12" width="4" height="4"/>
<rect x="44" y="12" width="4" height="4"/>
<rect x="28" y="36" width="4" height="4"/>
<rect x="28" y="44" width="4" height="4"/>
<rect x="52" y="20" width="4" height="4"/>
<circle cx="16" cy="40" r="4"/>
</svg>
<div class="info">
<p class="name">Input</p>
<p class="description">Controls & input settings</p>
</div>
</div>
<div class="sectionLink" id="settingsAppearanceBtn">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 64 64" style="enable-background:new 0 0 64 64;" xml:space="preserve">
<path d="M25,4H11c-3.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.2,0.2-0.4,0.3-0.6c0.1-0.2,0.3-0.4,0.4-0.6c0.1-0.2,0.2-0.4,0.4-0.5
c0.4-0.5,0.8-1,1.2-1.4c0,0,0.1-0.1,0.1-0.1c2.5-2.5,6-4.1,9.8-4.1l-6.9,6.9c-0.1,0.1-0.3,0.3-0.4,0.4c-0.1,0.1-0.2,0.2-0.3,0.3
c-0.4,0.5-0.8,1-1,1.5C9.1,41.4,9,41.5,9,41.7c-0.1,0.1-0.1,0.3-0.2,0.4c-0.1,0.2-0.1,0.3-0.2,0.5c-0.1,0.2-0.1,0.3-0.2,0.5
c-0.1,0.3-0.2,0.6-0.2,0.9c0,0,0,0.1,0,0.1c0,0.2-0.1,0.5-0.1,0.7c0,0.1,0,0.1,0,0.2c0,0.3,0,0.6,0,1s0,0.6,0,1c0,0.1,0,0.2,0,0.2
c0,0.2,0.1,0.5,0.1,0.7c0,0,0,0.1,0,0.1c0.1,0.3,0.1,0.6,0.2,0.9c0,0.2,0.1,0.3,0.2,0.5c0,0.1,0.1,0.3,0.2,0.5
C8.8,50,8.9,50.2,9,50.3c0.1,0.2,0.1,0.3,0.2,0.4c0.3,0.5,0.6,1.1,1,1.5c0.1,0.1,0.2,0.2,0.3,0.3c0.1,0.1,0.3,0.3,0.4,0.4
c0.1,0.1,0.3,0.3,0.4,0.4c0.1,0.1,0.2,0.2,0.3,0.3c0.5,0.4,1,0.8,1.5,1c0.1,0.1,0.3,0.2,0.4,0.2c0.1,0.1,0.3,0.1,0.4,0.2
c0.2,0.1,0.3,0.1,0.5,0.2c0.2,0.1,0.3,0.1,0.5,0.2c0.3,0.1,0.6,0.2,0.9,0.2c0,0,0.1,0,0.1,0c0.2,0,0.5,0.1,0.7,0.1
c0.1,0,0.2,0,0.2,0c0.3,0,0.6,0,1,0H27.8z"/>
</svg>
<div class="info">
<p class="name">Appearance</p>
<p class="description">Color themes and layout</p>
</div>
</div>
<div class="sectionLink" id="settingsLeaderboardBtn">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 64 64" style="enable-background:new 0 0 64 64;" xml:space="preserve">
<path d="M43.7,40.2c5-3.6,8.3-9.5,8.3-16.2c0-11-9-20-20-20s-20,9-20,20c0,6.7,3.3,12.6,8.3,16.2l-3.8,17.3c-0.3,1.5,0,3,1,4.2
s2.3,1.8,3.9,1.8c0.5,0,1-0.1,1.6-0.3l9.2-3.1l9.2,3.1c0.5,0.2,1,0.3,1.6,0.3c1.5,0,2.9-0.7,3.9-1.8s1.3-2.7,1-4.2L43.7,40.2z
M16,24c0-8.8,7.2-16,16-16s16,7.2,16,16c0,4.7-2,8.9-5.3,11.9c-1.1,1-2.3,1.8-3.5,2.4c-1,0.5-2.1,0.9-3.2,1.2
c-1.3,0.3-2.6,0.5-4,0.5s-2.7-0.2-4-0.5c-1.1-0.3-2.2-0.7-3.2-1.2c-1.3-0.7-2.5-1.5-3.5-2.4C18,32.9,16,28.7,16,24z M21.6,59.5
c-0.1,0-0.2,0-0.3,0c-0.6,0-1.1-0.5-0.9-1.1l3.6-16.1c1.3,0.6,2.7,1,4.1,1.3c0.7,0.1,1.3,0.2,2,0.3v12.8l-2,0.7L21.6,59.5z
M42.7,59.5c-0.1,0-0.2,0-0.3,0L36,57.3l-2-0.7V43.9c0.7-0.1,1.3-0.2,2-0.3c1.4-0.3,2.8-0.7,4.1-1.3l3.6,16.1
C43.8,59,43.3,59.5,42.7,59.5z"/>
</svg>
<div class="info">
<p class="name">Leaderboard</p>
<p class="description">Leaderboard and achievements</p>
</div>
</div>
<div class="sectionLink" id="settingsChromaBtn">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 64 64" style="enable-background:new 0 0 64 64;" xml:space="preserve">
<path d="M50.3,24.7c0.1-0.9,0.2-1.7,0.2-2.6c0-10.2-8.3-18.5-18.5-18.5s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49.9,51.5,56.5,43.5,56.5z"/>
</svg>
<div class="info">
<p class="name">Razer Chroma (beta)</p>
<p class="description">Adjust RGB lighting effects</p>
</div>
</div>
<div class="sectionLink onlyElectron" id="settingsPluginsBtn">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 64 64" style="enable-background:new 0 0 64 64;" xml:space="preserve">
<path d="M18.5,44c0.8,0,1.5,0.7,1.5,1.5v9c0,0.8-0.7,1.5-1.5,1.5h-9C8.7,56,8,55.3,8,54.5v-9C8,44.7,8.7,44,9.5,44H18.5 M18.5,40h-9
c-3,0-5.5,2.5-5.5,5.5v9c0,3,2.5,5.5,5.5,5.5h9c3,0,5.5-2.5,5.5-5.5v-9C24,42.5,21.5,40,18.5,40L18.5,40z"/>
<path d="M42.5,44c0.8,0,1.5,0.7,1.5,1.5v9c0,0.8-0.7,1.5-1.5,1.5h-9c-0.8,0-1.5-0.7-1.5-1.5v-9c0-0.8,0.7-1.5,1.5-1.5H42.5 M42.5,40
h-9c-3,0-5.5,2.5-5.5,5.5v9c0,3,2.5,5.5,5.5,5.5h9c3,0,5.5-2.5,5.5-5.5v-9C48,42.5,45.5,40,42.5,40L42.5,40z"/>
<path d="M18.5,20c0.8,0,1.5,0.7,1.5,1.5v9c0,0.8-0.7,1.5-1.5,1.5h-9C8.7,32,8,31.3,8,30.5v-9C8,20.7,8.7,20,9.5,20H18.5 M18.5,16h-9
c-3,0-5.5,2.5-5.5,5.5v9c0,3,2.5,5.5,5.5,5.5h9c3,0,5.5-2.5,5.5-5.5v-9C24,18.5,21.5,16,18.5,16L18.5,16z"/>
<path d="M48.6,6.7c0.7,0,1.4,0.4,1.8,1.1l6.7,14.6c0.4,1,0,2.1-1,2.6l-14.6,6.7C41.2,31.9,41,32,40.7,32c-0.7,0-1.4-0.4-1.8-1.1
l-6.7-14.6c-0.4-1,0-2.1,1-2.6l14.6-6.7C48,6.8,48.3,6.7,48.6,6.7 M48.6,2.7c-0.9,0-1.7,0.2-2.5,0.5L31.5,10c-3,1.4-4.3,4.9-2.9,7.9
l6.7,14.6c1,2.1,3.1,3.5,5.4,3.5c0.9,0,1.7-0.2,2.5-0.5l14.6-6.7c3-1.4,4.3-4.9,2.9-7.9L54,6.2C53,4.1,50.9,2.7,48.6,2.7L48.6,2.7z"
/>
</svg>
<div class="info">
<p class="name">Plugins (beta)</p>
<p class="description">Add and remove plugins</p>
</div>
</div>
<div class="sectionLink" id="settingsAboutBtn">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 64 64" style="enable-background:new 0 0 64 64;" xml:space="preserve">
<path d="M32,8c13.3,0,24,10.7,24,24S45.3,56,32,56S8,45.3,8,32S18.7,8,32,8 M32,4C16.6,4,4,16.6,4,32s12.6,28,28,28s28-12.6,28-28
S47.4,4,32,4L32,4z"/>
<path d="M32,22c-1.1,0-2-0.9-2-2v-4c0-1.1,0.9-2,2-2s2,0.9,2,2v4C34,21.1,33.1,22,32,22z"/>
<path d="M32,50c-1.1,0-2-0.9-2-2V32c0-1.1,0.9-2,2-2s2,0.9,2,2v16C34,49.1,33.1,50,32,50z"/>
</svg>
<div class="info">
<p class="name">About G4</p>
<p class="description">Credits</p>
</div>
</div>
<div class="sectionLink" id="settingsFeedbackBtn">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 64 64" style="enable-background:new 0 0 64 64;" xml:space="preserve">
<path d="M58,34h-8v-6.2c4.6-0.9,8-5,8-9.8c0-1.1-0.9-2-2-2s-2,0.9-2,2c0,2.8-1.9,5.1-4.5,5.8c-1.1-4.4-3.8-8.2-7.4-10.7
C42.5,10.2,45,8,48,8c1.1,0,2-0.9,2-2c0-1.1-0.9-2-2-2c-4.5,0-8.4,3-9.6,7.2c-2-0.8-4.1-1.2-6.4-1.2s-4.4,0.4-6.4,1.2
C24.4,7,20.5,4,16,4c-1.1,0-2,0.9-2,2c0,1.1,0.9,2,2,2c3,0,5.5,2.2,5.9,5.1c-3.7,2.5-6.4,6.3-7.4,10.7c-2.6-0.7-4.5-3-4.5-5.8
c0-1.1-0.9-2-2-2s-2,0.9-2,2c0,4.8,3.4,8.9,8,9.8V34H6c-1.1,0-2,0.9-2,2c0,1.1,0.9,2,2,2h8v6.2c-4.6,0.9-8,5-8,9.8c0,1.1,0.9,2,2,2
s2-0.9,2-2c0-2.8,1.9-5.1,4.5-5.8C16.4,56.1,23.5,62,32,62c8.5,0,15.6-5.9,17.5-13.8c2.6,0.7,4.5,3,4.5,5.8c0,1.1,0.9,2,2,2
s2-0.9,2-2c0-4.8-3.4-8.9-8-9.8V38h8c1.1,0,2-0.9,2-2C60,34.9,59.1,34,58,34z M18,44V28c0-7,5.2-12.9,12-13.9v43.7
C23.2,56.9,18,51,18,44z M46,44c0,7-5.2,12.9-12,13.9V14.1c6.8,1,12,6.8,12,13.9V44z"/>
</svg>
<div class="info">
<p class="name">Feedback</p>
<p class="description">Report surprise features & send feedback</p>
</div>
</div>
<div class="sectionLink" id="settingsWigBtn">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 64 64" style="enable-background:new 0 0 64 64;" xml:space="preserve">
<path d="M32,46c-3.9,0-7-1.2-8.9-2.2c-1-0.5-1.3-1.7-0.8-2.7s1.7-1.3,2.7-0.8c1.5,0.8,4,1.8,7.1,1.8c1.7,0,4.3-0.3,7.1-1.8
c1-0.5,2.2-0.2,2.7,0.8c0.5,1,0.2,2.2-0.8,2.7C37.5,45.6,34.2,46,32,46z"/>
<path d="M49.2,6.4C43.4,2.1,36.7,1.6,32,2c-4.7-0.4-11.4,0.1-17.2,4.4C5.1,13.6,4,27.1,6,36.4c0.5,2.2,1.2,4.3,2.1,6.4
c0.3,0.6,0.9,1.1,1.6,1.2c0.7,0.1,1.4-0.2,1.8-0.8c0-0.1,0.3-0.3,0.7-0.8c0.1,0.2,0.2,0.4,0.3,0.6c2.1,4.2,5.4,7.7,9.4,10.1V60
c0,1.1,0.9,2,2,2s2-0.9,2-2v-5c1.9,0.7,4,1,6,1s4.1-0.3,6-1v5c0,1.1,0.9,2,2,2s2-0.9,2-2v-6.9c4-2.4,7.3-5.9,9.4-10.1
c0.1-0.2,0.2-0.4,0.3-0.6c0.4,0.4,0.6,0.7,0.7,0.7c0.4,0.5,1,0.8,1.6,0.8c0.1,0,0.1,0,0.2,0c0.7-0.1,1.3-0.5,1.6-1.2
c0.9-2.1,1.7-4.2,2.1-6.4c0,0,0,0,0,0C60,27.1,58.9,13.6,49.2,6.4z M47.9,41.3c-2.1,4.3-5.7,7.7-10.1,9.6c-3.6,1.6-7.8,1.6-11.4,0
c-4.4-1.9-8-5.3-10.1-9.6c-0.2-0.4-0.4-0.9-0.6-1.3C18.7,38,24,36,32,36s13.3,2,16.4,4C48.3,40.4,48.1,40.8,47.9,41.3z M54,35.6
c-0.2,1-0.5,1.9-0.8,2.9c0,0,0,0-0.1,0c-0.9-0.7-2.1-1.6-3.6-2.4C45.8,34,40.1,32,32,32s-13.8,2-17.6,4.1c-1.5,0.8-2.7,1.6-3.6,2.4
c0,0,0,0-0.1,0c-0.3-1-0.6-1.9-0.8-2.9c-0.8-3.6-1.2-8.9,0-14.2c0.5-2,1.2-4.1,2.2-5.9c1.2-2.2,2.8-4.2,5-5.9
C22.1,6,27.8,5.6,31.8,6c0.1,0,0.2,0,0.4,0c4-0.3,9.7,0,14.6,3.6c2.2,1.6,3.8,3.6,5,5.8c1,1.9,1.7,3.9,2.2,5.9
C55.2,26.6,54.8,32,54,35.6z"/>
</svg>
<div class="info">
<p class="name">Wig</p>
</div>
</div>
</div>
</dialog>
<dialog id="settingsGfx" class="settings">
<header>
<button class="close">Back</button>
Graphics
</header>
<div class="content">
<div class="setting">
<input type="checkbox" id="settingShowFPS">
<label for="settingShowFPS">Show the FPS counter</label>
</div>
<!-- <h2>GLSL (beta)</h2>
Enabling GLSL allows custom shaders to change the look of the game.<br>
Please note that GLSL will <b>slow the game down significantly</b>, especially on high resolution displays.
<div class="setting">
<input type="checkbox" id="settingEnableGLSL">
<label for="settingEnableGLSL">Enable GLSL (restart required)</label>
</div>
<h2>Render passes</h2>
Render passes contain additional information about the game's geometry that can be provided to the shader.<br>
Please note that each enabled render pass will <b>slow the game down</b>.
<div class="setting glsl disabled">
<input type="checkbox" id="settingGLSLNormal">
<label for="settingGLSLNormal">Normal pass (restart required)</label>
</div>
<div class="setting glsl disabled">
<input type="checkbox" id="settingGLSLObject">
<label for="settingGLSLObject">Object pass (restart required)</label>
</div> -->
</div>
</dialog>
<dialog id="settingsMusic" class="settings">
<header>
<button class="close">Back</button>
Audio
</header>
<div class="content">
<div class="volume" data-category="master">
<div class="info">
<p>Master volume</p>
</div>
<div class="slider">
<input type="range" min="0" max="100" value="100">
<p class="value">100%</p>
</div>
</div>
<div class="volume" data-category="bgm">
<div class="info">
<p>Background music</p>
</div>
<div class="slider">
<input type="range" min="0" max="100" value="100">
<p class="value">100%</p>
</div>
</div>
<div class="volume" data-category="sfx">
<div class="info">
<p>Sound effects</p>
</div>
<div class="slider">
<input type="range" min="0" max="100" value="100">
<p class="value">100%</p>
</div>
</div>
</div>
</dialog>
<dialog id="settingsInput" class="settings">
<header>
<button class="close">Back</button>
Input
</header>
<div class="content">
<h2>Keyboard controls</h2>
<div class="setting">
<label>Shoot</label>
<button class="keyboardInput" data-control="keyboardShoot">Space</button>
</div>
<div class="setting">
<label>Enable slow mode</label>
<button class="keyboardInput" data-control="keyboardSlow">Press a key...</button>
</div>
<h2>Gamepad controls</h2>
<span id="noGamepads">No gamepads connected.</span>
<div class="gamepad setting disabled">
<label>Shoot</label>
<button class="gamepadInput" data-control="gamepadShoot">---</button>
</div>
<div class="gamepad setting disabled">
<label>Enable slow mode</label>
<button class="gamepadInput" data-control="gamepadSlow">---</button>
</div>
</div>
</dialog>
<dialog id="settingsAppearance" class="settings">
<header>
<button class="close">Back</button>
Appearance
</header>
<div class="content">
<div class="setting">
<input type="checkbox" id="settingLeftBar">
<label for="settingLeftBar">Panel on the left side</label>
</div>
<h2>Color themes</h2>
Note: you cannot delete the current custom theme. Switch to a different one first.
<div class="themeList"></div>
</div>
</dialog>
<dialog id="settingsLeaderboard" class="settings">
<header>
<button class="close">Back</button>
Leaderboard
</header>
<div class="content">
<h2>Score filtering</h2>
The "Verified Legit™" scores are the ones that have been verified as obtained in 100% legit ways, no bots here amirite? <sub>bot scores, duh</sub>
<div class="setting">
<input type="checkbox" id="settingVerifiedLegit">
<label for="settingVerifiedLegit">Show Verified Legit™ scores</label>
</div>
</div>
</dialog>
<dialog id="settingsChroma" class="settings">
<header>
<button class="close">Back</button>
Razer Chroma
</header>
<div class="content">
<div class="setting">
<input type="checkbox" id="settingEnableChroma" class="chroma">
<label for="settingEnableChroma">Enable Chroma</label>
</div>
<h2>Target devices</h2>
<div class="setting chroma disabled">
<input type="checkbox" id="settingChromaKeyboard" class="chroma">
<label for="settingChromaKeyboard">Apply on keyboards</label>
</div>
<div class="setting chroma disabled">
<input type="checkbox" id="settingChromaMouse" class="chroma">
<label for="settingChromaMouse">Apply on mice</label>
</div>
<div class="setting chroma disabled">
<input type="checkbox" id="settingChromaMousepad" class="chroma">
<label for="settingChromaMousepad">Apply on mousepads</label>
</div>
<div class="setting chroma disabled">
<input type="checkbox" id="settingChromaHeadset" class="chroma">
<label for="settingChromaHeadset">Apply on headsets</label>
</div>
<div class="setting chroma disabled">
<input type="checkbox" id="settingChromaKeypad" class="chroma">
<label for="settingChromaKeypad">Apply on keypads</label>
</div>
<div class="setting chroma disabled">
<input type="checkbox" id="settingChromaLink" class="chroma">
<label for="settingChromaLink">Apply on Chroma Link devices</label>
</div>
</div>
</dialog>
<dialog id="settingsPlugins" class="settings">
<header>
<button class="close">Back</button>
Plugins
</header>
<div class="content">
<div class="setting">
<input type="checkbox" id="settingShowConsole">
<label for="settingShowConsole">Show the plugin debug console</label>
</div>
<h2>Installed plugins</h2>
<div class="pluginList"></div>
</div>
</dialog>
<dialog id="settingsAbout" class="settings">
<header>
<button class="close">Back</button>
About G4
</header>
<div class="content">
<img src="res/images/updateLogo.svg">
<h1>Infinite Gate 4</h1>
<h3>Version 4.7</h3>
<div class="links"></div>
<h2>Credits</h2>
<div class="credits">
<div class="credit">
<span class="name">Sci</span>
<span class="role">Lead dev & artist</span>
<a href="https://twitter.com/scintilla4evr">@scintilla4evr</a>
</div>
<div class="credit">
<span class="name">Devin</span>
<span class="role">G4X</span>
<a href="https://twitter.com/HiItsDevin_">@HiItsDevin_</a>
</div>
<div class="credit">
<span class="name">Dynamyc</span>
<span class="role">G4X</span>
<a href="https://twitter.com/dynamyc010">@dynamyc010</a>
</div>
<div class="credit">
<span class="name">Link</span>
<span class="role">PWA</span>
<a href="https://twitter.com/LinkofHyrule89">@LinkofHyrule89</a>
</div>
<div class="credit">
<span class="name">RadioactiveHydra</span>
<span class="role">Backend tester</span>
<a href="https://twitter.com/_RHydraX_">@_RHydraX_</a>
</div>
<div class="credit">
<span class="name">Nox</span>
<span class="role">Nox mode senpai</span>
<a href="https://twitter.com/nokkusuu">@nokkusuu</a>
</div>
<div class="credit">
<span class="name">Denise</span>
<span class="role">Chaos mode senpai</span>
<a href="https://twitter.com/denialt23">@denialt23</a>
</div>
</div>
</div>
</dialog>
<dialog id="settingsFeedback" class="settings">
<header>
<button class="close">Back</button>
Feedback
</header>
<div class="content">
<h2>Reporting surprise features</h2>
If G4 seems to act a little bit fucky wucky, report its strange behavior to us.<br>
Include screenshots if you can.
<div class="bigButton" id="feedbackReportGitHubBtn">
<div class="info">
<p class="name">Report surprise features on GitHub</p>
<p class="description">
GitHub is the main place where we collect surprise feature reports.<br>
Create an issue describing the problem there.
</p>
</div>
</div>
<div class="bigButton" id="feedbackReportTwitterBtn">
<div class="info">
<p class="name">Report surprise features on Twitter</p>
<p class="description">
Complaining to us on Twitter works sometimes as well actually fun fact.
</p>
</div>
</div>
<h2>Suggestions & other stuff</h2>
If you want to reach out to us with general stuff, feel free to join the G4 Discord server!
<div class="bigButton" id="feedbackDiscordBtn">
<div class="info">
<p class="name">Join G4 on Discord</p>
<p class="description">
uwu
</p>
</div>
</div>
</div>
</dialog>
<dialog id="themeEditor" class="settings">
<header>
<button class="close">Back</button>
Theme editor
</header>
<div class="content">
<input id="themeName" type="text" value="Theme 10">
<div class="themeColors"></div>
</div>
</dialog>
<dialog id="oobe" class="">
<header>
Welcome to G4.7
</header>
<div class="content">
<h2>Hi sister!<br><em>Welcome to G4.7!</em></h2>
G4 is a game inspired by The Theorist Gateway's Gate 4 (that's why it's called "G4", fun fact).<br>
It started off as an "infinite version" of Gate 4, but now it could be considered a completely separate, full game.
<h3>Objective</h3>
Shoot through the rotating rings of obstacles. When the bullet escapes the construct, you get to the next level.<br>
You can use your finger, mouse, keyboard or gamepad to play the game.<br>
<h3>G4 Account</h3>
Create a G4 account to get your scores on the leaderboard and collect achievements.
<div class="play">
<button id="hideOOBE">Play!</button>
</div>
</div>
</dialog>
<dialog id="changelog" class="">
<header>
New features
</header>
<div class="content">
<h2>UwU, an update!<br><em>Say hi to G4X.7 Beta 3!</em></h2>
We changed some stuff!
<h3>Changes</h3>
shit i forgot
<div class="play">
<button id="hideUpdate">Play!</button>
</div>
</div>
</dialog>
</div>
<script src="scripts/ui/theme.js"></script>
<script src="scripts/game/coverage.js"></script>
<script src="scripts/game/levelgen.js"></script>
<script src="scripts/leaderboard.js"></script>
<script src="scripts/assets.js"></script>
<script src="scripts/audio.js"></script>
<script src="scripts/game/GlslCanvas.js"></script>
<script src="scripts/game/renderer.js"></script>
<script src="scripts/game/game.js"></script>
<script src="scripts/input.js"></script>
<script src="scripts/ui/chroma.js"></script>
<script src="scripts/ui/ui.js"></script>
<script src="scripts/main.js"></script>
</body>
</html>