@korial29/tiny-fps 0.21.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/server.js CHANGED
@@ -482,261 +482,707 @@ var stair = (z, y) => [
482
482
  y + .4 * k,
483
483
  z - k + 1
484
484
  ], TEX.CONCRETE));
485
+ [
486
+ roof(4, 57.7, 24, 76, 10),
487
+ roof(4, 36, 24, 53.5, 10, TEX.GLASS),
488
+ roof(4, 20, 24, 36, 12.4),
489
+ roof(4, -5, 24, 7, 12.4, TEX.GLASS),
490
+ roof(27, 20, 47, 50, 8),
491
+ roof(27, 60, 47, 76, 8, TEX.BRICK),
492
+ box([
493
+ 9,
494
+ 12.2,
495
+ 39
496
+ ], [
497
+ 19,
498
+ 12.6,
499
+ 47
500
+ ], TEX.STEEL),
501
+ ...stair(53, 10),
502
+ box([
503
+ 5,
504
+ 10,
505
+ 42
506
+ ], [
507
+ 5.5,
508
+ 14,
509
+ 42.5
510
+ ], TEX.STEEL),
511
+ box([
512
+ 5,
513
+ 10,
514
+ 50
515
+ ], [
516
+ 5.5,
517
+ 14,
518
+ 50.5
519
+ ], TEX.STEEL),
520
+ box([
521
+ 8,
522
+ 12.4,
523
+ 24
524
+ ], [
525
+ 20,
526
+ 12.85,
527
+ 24.45
528
+ ], TEX.STEEL),
529
+ box([
530
+ 36,
531
+ 8,
532
+ 22
533
+ ], [
534
+ 37,
535
+ 14.5,
536
+ 48
537
+ ], TEX.PAINT, TEX.PAINT, [
538
+ .15,
539
+ .72,
540
+ .62
541
+ ]),
542
+ box([
543
+ 30,
544
+ 8,
545
+ 28
546
+ ], [
547
+ 34,
548
+ 10,
549
+ 32
550
+ ], TEX.CONCRETE),
551
+ box([
552
+ 40,
553
+ 8,
554
+ 30
555
+ ], [
556
+ 44,
557
+ 10.2,
558
+ 34
559
+ ], TEX.PAINT, TEX.PAINT, [
560
+ 1,
561
+ .3,
562
+ .06
563
+ ]),
564
+ box([
565
+ 28,
566
+ 9.2,
567
+ 44
568
+ ], [
569
+ 35,
570
+ 12,
571
+ 46
572
+ ], TEX.STEEL, TEX.PAINT, [
573
+ .2,
574
+ .42,
575
+ 1
576
+ ]),
577
+ box([
578
+ 41.5,
579
+ 7.6,
580
+ 50
581
+ ], [
582
+ 42,
583
+ 8,
584
+ 60
585
+ ], TEX.STEEL),
586
+ box([
587
+ 30,
588
+ 8,
589
+ 64
590
+ ], [
591
+ 34,
592
+ 9.6,
593
+ 68
594
+ ], TEX.PAINT, TEX.PAINT, [
595
+ .2,
596
+ .8,
597
+ .3
598
+ ])
599
+ ];
600
+ /** The map is 240 m long: a point at z has its twin at ZED - z. */
601
+ var ZED = 240;
602
+ /** Team colours as brush tints: the flip swaps one for the other, so a red accent has a blue twin. */
603
+ var RED = [
604
+ 1,
605
+ .22,
606
+ .26
607
+ ];
608
+ var BLUE = [
609
+ .2,
610
+ .46,
611
+ 1
612
+ ];
613
+ var ORANGE = [
614
+ 1,
615
+ .42,
616
+ .08
617
+ ];
618
+ var TEAL = [
619
+ .12,
620
+ .7,
621
+ .62
622
+ ];
623
+ /** An accent: a slab of tinted paint, corners (x0, y0, z0) and (x1, y1, z1). */
624
+ var pad = (x0, y0, z0, x1, y1, z1, tint) => box([
625
+ x0,
626
+ y0,
627
+ z0
628
+ ], [
629
+ x1,
630
+ y1,
631
+ z1
632
+ ], TEX.PAINT, TEX.PAINT, tint);
485
633
  /**
486
- * A parkour test course, laid out for the moves of step 3 and flown with them by test/lines.ts.
487
- * Metres, y up, the course runs north (toward -z). A walking jump flies about 4.2 m on the flat, a
488
- * sprint jump 6.3 m, and reaches a box 1.7 m high; the hands catch a top 1.2 to 2.4 m above the
489
- * feet, and a fall that reaches a face within about 3.5 m is caught by them.
490
- *
491
- * - A: the start roof (10 m), red's base, with its spawns. B: a roof at 10 m, across a 4.2 m gap from A (a
492
- * run and a jump: walking off the edge falls).
493
- * - On B, a platform floating at 12.2 to 12.6 m (an overhang to walk under, a bump for a jump) and
494
- * a stair of six 0.4 m steps up to it. 3 m north of it, C (12.4 m): the south face of C above B
495
- * is a 2.4 m ledge to grab. Two poles stand by the platform.
496
- * - E (8 m), 3 m east of C and 4.4 m lower: a long wall (6.5 m high, 26 m long) to run along, ledges
497
- * 2.0 and 2.2 m high, and a 1.2 m low gap under a lintel to slide under, with a way round it.
498
- * - G (8 m) is across a 10 m drop from E, reached by a 0.5 m wide beam; it has a 1.6 m ledge.
499
- * - F (12.4 m) is 13 m north of C: a sprint and a jump fall short of it, and so does a walk with
500
- * the dash or the double jump; it takes the sprint and the jump and the dash or the double jump.
501
- * F is blue's base, with its spawns: the flags are 90 m and the chasm apart, and the way back is
502
- * the same line in reverse, then a drop to B and the A gap jumped south.
634
+ * A column of stairs: from `a` to `b` along `axis` (0 for x, 2 for z), across `w0` to `w1` on the
635
+ * other one, rising from `y` to `top` in steps of at most 0.46 m, each step a solid from `low`.
503
636
  */
504
- var ROOFTOPS = {
505
- name: "Rooftops",
506
- brushes: [
507
- roof(4, 57.7, 24, 76, 10),
508
- roof(4, 36, 24, 53.5, 10, TEX.GLASS),
509
- roof(4, 20, 24, 36, 12.4),
510
- roof(4, -5, 24, 7, 12.4, TEX.GLASS),
511
- roof(27, 20, 47, 50, 8),
512
- roof(27, 60, 47, 76, 8, TEX.BRICK),
513
- box([
514
- 9,
515
- 12.2,
516
- 39
637
+ var stairs = (axis, a, b, w0, w1, y, top, low = BASE) => {
638
+ const n = Math.ceil((top - y) / .46);
639
+ return Array.from({ length: n }, (_, i) => {
640
+ const [s0, s1] = [a + (b - a) * i / n, a + (b - a) * (i + 1) / n].sort((p, q) => p - q);
641
+ const up = y + (top - y) * (i + 1) / n;
642
+ return axis === 0 ? box([
643
+ s0,
644
+ low,
645
+ w0
517
646
  ], [
518
- 19,
519
- 12.6,
520
- 47
521
- ], TEX.STEEL),
522
- ...stair(53, 10),
523
- box([
524
- 5,
525
- 10,
526
- 42
647
+ s1,
648
+ up,
649
+ w1
650
+ ], TEX.CONCRETE) : box([
651
+ w0,
652
+ low,
653
+ s0
527
654
  ], [
528
- 5.5,
529
- 14,
530
- 42.5
531
- ], TEX.STEEL),
532
- box([
533
- 5,
534
- 10,
535
- 50
536
- ], [
537
- 5.5,
538
- 14,
539
- 50.5
540
- ], TEX.STEEL),
541
- box([
542
- 8,
543
- 12.4,
544
- 24
545
- ], [
546
- 20,
547
- 12.85,
548
- 24.45
549
- ], TEX.STEEL),
550
- box([
551
- 36,
552
- 8,
553
- 22
554
- ], [
555
- 37,
556
- 14.5,
557
- 48
558
- ], TEX.PAINT, TEX.PAINT, [
559
- .15,
560
- .72,
561
- .62
562
- ]),
563
- box([
564
- 30,
565
- 8,
566
- 28
567
- ], [
568
- 34,
569
- 10,
570
- 32
571
- ], TEX.CONCRETE),
572
- box([
573
- 40,
574
- 8,
575
- 30
576
- ], [
577
- 44,
578
- 10.2,
579
- 34
580
- ], TEX.PAINT, TEX.PAINT, [
581
- 1,
582
- .3,
583
- .06
584
- ]),
585
- box([
655
+ w1,
656
+ up,
657
+ s1
658
+ ], TEX.CONCRETE);
659
+ });
660
+ };
661
+ /**
662
+ * A ledge ladder: one platform 4 m wide and `d` deep per top in `tops`, the first at (x, z), each
663
+ * next one (dx, dz) further, over the roof at `low`. The hands catch the face of each from the one before.
664
+ */
665
+ var ladder = (x, z, dx, dz, d, low, tops) => tops.map((top, k) => box([
666
+ x + k * dx,
667
+ low,
668
+ z + k * dz
669
+ ], [
670
+ x + k * dx + 4,
671
+ top,
672
+ z + k * dz + d
673
+ ], TEX.STEEL, TEX.CONCRETE));
674
+ /** Red's half: z from 120 to 240, then flipped. */
675
+ var half = [
676
+ roof(12, 212, 52, 240, 26, TEX.GLASS),
677
+ pad(12, 26, 212, 52, 26.12, 212.5, RED),
678
+ pad(12, 26, 239.5, 52, 26.12, 240, RED),
679
+ pad(12, 26, 212.5, 12.5, 26.12, 239.5, RED),
680
+ pad(51.5, 26, 212.5, 52, 26.12, 239.5, RED),
681
+ pad(11.6, 12, 222, 12, 25.8, 232, RED),
682
+ pad(28, 12, 211.4, 31, 25.5, 212, RED),
683
+ box([
684
+ 19,
685
+ 26,
686
+ 222
687
+ ], [
688
+ 22,
689
+ 27.4,
690
+ 225
691
+ ], TEX.STEEL),
692
+ box([
693
+ 42,
694
+ 26,
695
+ 222
696
+ ], [
697
+ 45,
698
+ 27.4,
699
+ 225
700
+ ], TEX.STEEL),
701
+ box([
702
+ 29,
703
+ 26,
704
+ 229
705
+ ], [
706
+ 35,
707
+ 27.1,
708
+ 229.6
709
+ ], TEX.CONCRETE),
710
+ roof(6, 164, 26, 201, 26, TEX.GLASS),
711
+ roof(6, 134, 26, 147, 26, TEX.GLASS),
712
+ roof(6, 201, 26, 212, 19),
713
+ roof(15, 147, 26, 164, 19),
714
+ box([
715
+ 14,
716
+ 26,
717
+ 164
718
+ ], [
719
+ 15,
720
+ 32,
721
+ 196
722
+ ], TEX.PAINT, TEX.PAINT, TEAL),
723
+ box([
724
+ 14,
725
+ 18,
726
+ 147
727
+ ], [
728
+ 15,
729
+ 32,
730
+ 164
731
+ ], TEX.PAINT, TEX.PAINT, TEAL),
732
+ box([
733
+ 14,
734
+ 26,
735
+ 134
736
+ ], [
737
+ 15,
738
+ 32,
739
+ 147
740
+ ], TEX.PAINT, TEX.PAINT, TEAL),
741
+ ...ladder(6, 201, 7, 0, 4, 19, [
742
+ 21.2,
743
+ 23.4,
744
+ 25
745
+ ]),
746
+ ...[
747
+ [
748
+ 18,
749
+ 152,
750
+ 22,
751
+ 156,
752
+ 21.2
753
+ ],
754
+ [
755
+ 18,
756
+ 158,
757
+ 22,
758
+ 162,
759
+ 23.4
760
+ ],
761
+ [
762
+ 23,
763
+ 160,
764
+ 26,
765
+ 164,
766
+ 25
767
+ ]
768
+ ].map(([x0, z0, x1, z1, top]) => box([
769
+ x0,
770
+ 19,
771
+ z0
772
+ ], [
773
+ x1,
774
+ top,
775
+ z1
776
+ ], TEX.STEEL, TEX.CONCRETE)),
777
+ box([
778
+ 20,
779
+ 26,
780
+ 178
781
+ ], [
782
+ 23,
783
+ 27.3,
784
+ 181
785
+ ], TEX.STEEL),
786
+ box([
787
+ 8,
788
+ 26,
789
+ 176
790
+ ], [
791
+ 11,
792
+ 27.2,
793
+ 179
794
+ ], TEX.STEEL),
795
+ box([
796
+ 8,
797
+ 26,
798
+ 190
799
+ ], [
800
+ 11,
801
+ 27.3,
802
+ 193
803
+ ], TEX.STEEL),
804
+ box([
805
+ 20,
806
+ 26,
807
+ 140
808
+ ], [
809
+ 23,
810
+ 27.3,
811
+ 143
812
+ ], TEX.STEEL),
813
+ roof(32, 186, 76, 209, 19),
814
+ pad(32, 19, 207.5, 76, 19.1, 209, RED),
815
+ ...ladder(33, 209, 7, 0, 3, 19, [
816
+ 21.2,
817
+ 23.4,
818
+ 25
819
+ ]),
820
+ ...[
821
+ [
586
822
  28,
587
- 9.2,
588
- 44
589
- ], [
590
- 35,
591
- 12,
592
- 46
593
- ], TEX.STEEL, TEX.PAINT, [
594
- .2,
595
- .42,
596
- 1
597
- ]),
598
- box([
599
- 41.5,
600
- 7.6,
601
- 50
602
- ], [
603
- 42,
604
- 8,
605
- 60
606
- ], TEX.STEEL),
607
- box([
823
+ 196,
824
+ 32,
825
+ 200,
826
+ 21.2
827
+ ],
828
+ [
829
+ 28,
830
+ 190,
831
+ 32,
832
+ 194,
833
+ 23.4
834
+ ],
835
+ [
836
+ 26,
837
+ 184,
608
838
  30,
609
- 8,
610
- 64
611
- ], [
612
- 34,
613
- 9.6,
614
- 68
615
- ], TEX.PAINT, TEX.PAINT, [
616
- .2,
617
- .8,
618
- .3
619
- ])
839
+ 188,
840
+ 25
841
+ ]
842
+ ].map(([x0, z0, x1, z1, top]) => box([
843
+ x0,
844
+ BASE,
845
+ z0
846
+ ], [
847
+ x1,
848
+ top,
849
+ z1
850
+ ], TEX.STEEL, TEX.CONCRETE)),
851
+ roof(32, 166, 64, 182, 21.2, TEX.GLASS),
852
+ roof(32, 140, 64, 161, 19),
853
+ box([
854
+ 40,
855
+ 21.2,
856
+ 172
857
+ ], [
858
+ 44,
859
+ 22.6,
860
+ 176
861
+ ], TEX.STEEL),
862
+ box([
863
+ 52,
864
+ 19,
865
+ 148
866
+ ], [
867
+ 57,
868
+ 20.3,
869
+ 151
870
+ ], TEX.STEEL),
871
+ box([
872
+ 38,
873
+ 19,
874
+ 196
875
+ ], [
876
+ 41,
877
+ 20.4,
878
+ 199
879
+ ], TEX.STEEL),
880
+ box([
881
+ 60,
882
+ 19,
883
+ 200
884
+ ], [
885
+ 63,
886
+ 20.4,
887
+ 203
888
+ ], TEX.STEEL),
889
+ box([
890
+ 52,
891
+ 19,
892
+ 190
893
+ ], [
894
+ 58,
895
+ 20.6,
896
+ 194
897
+ ], TEX.STEEL),
898
+ box([
899
+ 66,
900
+ 19,
901
+ 204
902
+ ], [
903
+ 72,
904
+ 20.2,
905
+ 207
906
+ ], TEX.STEEL),
907
+ box([
908
+ 56,
909
+ 21.2,
910
+ 170
911
+ ], [
912
+ 60,
913
+ 22.4,
914
+ 174
915
+ ], TEX.STEEL),
916
+ box([
917
+ 34,
918
+ 19,
919
+ 152
920
+ ], [
921
+ 37,
922
+ 20.3,
923
+ 156
924
+ ], TEX.STEEL),
925
+ ...ladder(36, 135, 18, 0, 3, 15, [17.2, 17.2]),
926
+ ...ladder(6.5, 129, 6, 0, 4, 15, [
927
+ 17.2,
928
+ 19.4,
929
+ 21.6,
930
+ 23.8
931
+ ]),
932
+ roof(76, 213, 100, 240, 14.5, TEX.STEEL),
933
+ pad(76, 14.5, 238.5, 100, 14.6, 240, RED),
934
+ roof(76, 185, 100, 209, 14.5),
935
+ roof(76, 138, 100, 181, 14.5, TEX.GLASS),
936
+ box([
937
+ 80,
938
+ 15.7,
939
+ 158
940
+ ], [
941
+ 96,
942
+ 17.7,
943
+ 162
944
+ ], TEX.STEEL, TEX.PAINT, ORANGE),
945
+ box([
946
+ 82,
947
+ 14.5,
948
+ 234
949
+ ], [
950
+ 85,
951
+ 15.9,
952
+ 237
953
+ ], TEX.STEEL),
954
+ box([
955
+ 91,
956
+ 14.5,
957
+ 190
958
+ ], [
959
+ 94,
960
+ 15.9,
961
+ 193
962
+ ], TEX.STEEL),
963
+ box([
964
+ 80,
965
+ 14.5,
966
+ 204
967
+ ], [
968
+ 83,
969
+ 15.6,
970
+ 207
971
+ ], TEX.STEEL),
972
+ box([
973
+ 78,
974
+ 14.5,
975
+ 170
976
+ ], [
977
+ 81,
978
+ 15.9,
979
+ 173
980
+ ], TEX.STEEL),
981
+ box([
982
+ 92,
983
+ 14.5,
984
+ 146
985
+ ], [
986
+ 95,
987
+ 15.7,
988
+ 149
989
+ ], TEX.STEEL),
990
+ box([
991
+ 92,
992
+ 14.5,
993
+ 222
994
+ ], [
995
+ 96,
996
+ 15.8,
997
+ 226
998
+ ], TEX.STEEL),
999
+ ...stairs(0, 76, 52, 226, 232, 14.5, 26),
1000
+ ...stairs(0, 85, 76, 196, 202, 14.5, 19, 14.5)
1001
+ ];
1002
+ /** What stands on the centre line, symmetric as written: the plaza, its dais and canopy, the beam. */
1003
+ var centre = [
1004
+ roof(6, 106, 62, 134, 15),
1005
+ roof(62, 106, 100, 134, 14.5),
1006
+ box([
1007
+ 34,
1008
+ 15,
1009
+ 112
1010
+ ], [
1011
+ 54,
1012
+ 17.2,
1013
+ 128
1014
+ ], TEX.CONCRETE),
1015
+ pad(38, 17.2, 116, 50, 17.3, 124, ORANGE),
1016
+ ...[
1017
+ [35, 113],
1018
+ [35, 126.2],
1019
+ [51, 113],
1020
+ [51, 126.2]
1021
+ ].map(([x, z]) => box([
1022
+ x,
1023
+ 17.2,
1024
+ z
1025
+ ], [
1026
+ x + .8,
1027
+ 21.5,
1028
+ z + .8
1029
+ ], TEX.STEEL)),
1030
+ box([
1031
+ 34.6,
1032
+ 21.5,
1033
+ 112.6
1034
+ ], [
1035
+ 52.2,
1036
+ 21.9,
1037
+ 127.4
1038
+ ], TEX.GLASS),
1039
+ box([
1040
+ 14,
1041
+ 15,
1042
+ 114
1043
+ ], [
1044
+ 17,
1045
+ 16.5,
1046
+ 117
1047
+ ], TEX.STEEL),
1048
+ box([
1049
+ 14,
1050
+ 15,
1051
+ 123
1052
+ ], [
1053
+ 17,
1054
+ 16.5,
1055
+ 126
1056
+ ], TEX.STEEL),
1057
+ box([
1058
+ 56,
1059
+ 15,
1060
+ 114
1061
+ ], [
1062
+ 59,
1063
+ 16.5,
1064
+ 117
1065
+ ], TEX.STEEL),
1066
+ box([
1067
+ 56,
1068
+ 15,
1069
+ 123
1070
+ ], [
1071
+ 59,
1072
+ 16.5,
1073
+ 126
1074
+ ], TEX.STEEL),
1075
+ box([
1076
+ 15.35,
1077
+ 25.5,
1078
+ 106
1079
+ ], [
1080
+ 15.85,
1081
+ 26,
1082
+ 134
1083
+ ], TEX.STEEL),
1084
+ box([
1085
+ 70,
1086
+ 14.5,
1087
+ 108
1088
+ ], [
1089
+ 70.8,
1090
+ 38,
1091
+ 108.8
1092
+ ], TEX.STEEL),
1093
+ box([
1094
+ 70,
1095
+ 14.5,
1096
+ 131.2
1097
+ ], [
1098
+ 70.8,
1099
+ 38,
1100
+ 132
1101
+ ], TEX.STEEL),
1102
+ box([
1103
+ 66,
1104
+ 14.5,
1105
+ 110
1106
+ ], [
1107
+ 69,
1108
+ 15.9,
1109
+ 113
1110
+ ], TEX.STEEL),
1111
+ box([
1112
+ 66,
1113
+ 14.5,
1114
+ 127
1115
+ ], [
1116
+ 69,
1117
+ 15.9,
1118
+ 130
1119
+ ], TEX.STEEL)
1120
+ ];
1121
+ /** The twin of a brush across the centre line. */
1122
+ var flip = (b) => ({
1123
+ ...b,
1124
+ min: [
1125
+ b.min[0],
1126
+ b.min[1],
1127
+ ZED - b.max[2]
1128
+ ],
1129
+ max: [
1130
+ b.max[0],
1131
+ b.max[1],
1132
+ ZED - b.min[2]
1133
+ ],
1134
+ tint: b.tint === RED ? BLUE : b.tint
1135
+ });
1136
+ /** Where a team starts: two rows facing the other end. */
1137
+ var row = (yaw, z, z2) => [...[
1138
+ 16,
1139
+ 22,
1140
+ 28,
1141
+ 34,
1142
+ 40
1143
+ ].map((x) => [
1144
+ x,
1145
+ 26,
1146
+ z,
1147
+ yaw
1148
+ ]), ...[
1149
+ 19,
1150
+ 31,
1151
+ 43
1152
+ ].map((x) => [
1153
+ x,
1154
+ 26,
1155
+ z2,
1156
+ yaw
1157
+ ])];
1158
+ var HIGHLINE = {
1159
+ name: "Highline",
1160
+ brushes: [
1161
+ ...half,
1162
+ ...half.map(flip),
1163
+ ...centre
620
1164
  ],
621
1165
  teams: [{
622
1166
  base: [
623
- 14,
624
- 10,
625
- 62.5
1167
+ 32,
1168
+ 26,
1169
+ 224
626
1170
  ],
627
- spawns: [
628
- [
629
- 6,
630
- 10,
631
- 72,
632
- 0
633
- ],
634
- [
635
- 10,
636
- 10,
637
- 72,
638
- 0
639
- ],
640
- [
641
- 14,
642
- 10,
643
- 72,
644
- 0
645
- ],
646
- [
647
- 18,
648
- 10,
649
- 72,
650
- 0
651
- ],
652
- [
653
- 22,
654
- 10,
655
- 72,
656
- 0
657
- ],
658
- [
659
- 8,
660
- 10,
661
- 66,
662
- 0
663
- ],
664
- [
665
- 14,
666
- 10,
667
- 66,
668
- 0
669
- ],
670
- [
671
- 20,
672
- 10,
673
- 66,
674
- 0
675
- ]
676
- ]
1171
+ spawns: row(0, 236, 231)
677
1172
  }, {
678
1173
  base: [
679
- 14,
680
- 12.4,
681
- 2.2
1174
+ 32,
1175
+ 26,
1176
+ 16
682
1177
  ],
683
- spawns: [
684
- [
685
- 6,
686
- 12.4,
687
- -3,
688
- Math.PI
689
- ],
690
- [
691
- 10,
692
- 12.4,
693
- -3,
694
- Math.PI
695
- ],
696
- [
697
- 14,
698
- 12.4,
699
- -3,
700
- Math.PI
701
- ],
702
- [
703
- 18,
704
- 12.4,
705
- -3,
706
- Math.PI
707
- ],
708
- [
709
- 22,
710
- 12.4,
711
- -3,
712
- Math.PI
713
- ],
714
- [
715
- 8,
716
- 12.4,
717
- .5,
718
- Math.PI
719
- ],
720
- [
721
- 14,
722
- 12.4,
723
- .5,
724
- Math.PI
725
- ],
726
- [
727
- 20,
728
- 12.4,
729
- .5,
730
- Math.PI
731
- ]
732
- ]
1178
+ spawns: row(Math.PI, 4, 9)
733
1179
  }],
734
1180
  floor: -25,
735
1181
  sun: {
736
1182
  dir: [
1183
+ .8,
737
1184
  .6,
738
- .64,
739
- .48
1185
+ 0
740
1186
  ],
741
1187
  color: [
742
1188
  2.6,
@@ -757,7 +1203,7 @@ var ROOFTOPS = {
757
1203
  .72,
758
1204
  .86,
759
1205
  .98,
760
- .0055
1206
+ .0035
761
1207
  ]
762
1208
  };
763
1209
  // src/shared/physics.ts
@@ -1576,7 +2022,7 @@ var Room = class {
1576
2022
  /** Round-robin cursor over the spawn points of each team, used once they are all taken. */
1577
2023
  rr = [0, 0];
1578
2024
  /** Missing rules fall back to RULES. */
1579
- constructor(rules = {}, map = ROOFTOPS) {
2025
+ constructor(rules = {}, map = HIGHLINE) {
1580
2026
  this.rules = {
1581
2027
  ...RULES,
1582
2028
  ...rules