chewbranca.com

Check-in [55dab480a6]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Hack out a playable game
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | lisp-game-jam-2020
Files: files | file ages | folders
SHA3-256: 55dab480a6f7f538e431f91bd0f0c58282e9e74947082da0a4d68ab710097940
User & Date: chewbranca 2020-04-20 03:07:19
Context
2020-04-20
03:18
Game metadata updates check-in: 7228a6d6b6 user: chewbranca tags: lisp-game-jam-2020
03:07
Hack out a playable game check-in: 55dab480a6 user: chewbranca tags: lisp-game-jam-2020
01:30
Enable STI to ignore non-visible objects check-in: 6f88a252fe user: chewbranca tags: lisp-game-jam-2020
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added src/fahombo/assets/warped_city/atlas/atlas.lua.





















































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
local frames = {
    {
        filename = "antenna",
        frame = {x=612,y=133,w=21,h=95},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=1,y=1,w=21,h=95},
        sourceSize = {w=22,h=96},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "back-jump-1",
        frame = {x=575,y=2,w=24,h=27},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=24,y=40,w=24,h=27},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "back-jump-2",
        frame = {x=374,y=55,w=35,h=42},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=15,y=25,w=35,h=42},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "back-jump-3",
        frame = {x=168,y=55,w=35,h=38},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=15,y=20,w=35,h=38},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "back-jump-4",
        frame = {x=773,y=55,w=44,h=40},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=12,y=16,w=44,h=40},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "back-jump-5",
        frame = {x=411,y=55,w=31,h=47},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=17,y=18,w=31,h=47},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "back-jump-6",
        frame = {x=1124,y=2,w=28,h=39},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=24,y=28,w=28,h=39},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "back-jump-7",
        frame = {x=858,y=2,w=35,h=27},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=19,y=40,w=35,h=27},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "back-jump-preview",
        frame = {x=601,y=2,w=24,h=27},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=24,y=40,w=24,h=27},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-big-1",
        frame = {x=635,y=133,w=35,h=92},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=35,h=92},
        sourceSize = {w=35,h=92},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-big-2",
        frame = {x=672,y=133,w=35,h=92},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=35,h=92},
        sourceSize = {w=35,h=92},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-big-3",
        frame = {x=746,y=133,w=35,h=92},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=35,h=92},
        sourceSize = {w=35,h=92},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-big-4",
        frame = {x=783,y=133,w=35,h=92},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=35,h=92},
        sourceSize = {w=35,h=92},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-big-preview",
        frame = {x=709,y=133,w=35,h=92},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=35,h=92},
        sourceSize = {w=35,h=92},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-coke-1",
        frame = {x=382,y=133,w=27,h=78},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=27,h=78},
        sourceSize = {w=27,h=78},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-coke-2",
        frame = {x=440,y=133,w=27,h=78},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=27,h=78},
        sourceSize = {w=27,h=78},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-coke-3",
        frame = {x=411,y=133,w=27,h=78},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=27,h=78},
        sourceSize = {w=27,h=78},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-coke-preview",
        frame = {x=469,y=133,w=27,h=78},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=27,h=78},
        sourceSize = {w=27,h=78},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-neon-1",
        frame = {x=1215,y=2,w=19,h=48},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=19,h=48},
        sourceSize = {w=19,h=48},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-neon-2",
        frame = {x=1194,y=2,w=19,h=48},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=19,h=48},
        sourceSize = {w=19,h=48},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-neon-3",
        frame = {x=1103,y=2,w=19,h=48},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=19,h=48},
        sourceSize = {w=19,h=48},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-neon-4",
        frame = {x=1236,y=2,w=19,h=48},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=19,h=48},
        sourceSize = {w=19,h=48},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-neon-preview",
        frame = {x=1278,y=2,w=19,h=48},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=19,h=48},
        sourceSize = {w=19,h=48},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-scroll-1",
        frame = {x=678,y=2,w=13,h=47},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=13,h=47},
        sourceSize = {w=13,h=47},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-scroll-2",
        frame = {x=663,y=2,w=13,h=47},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=13,h=47},
        sourceSize = {w=13,h=47},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-scroll-3",
        frame = {x=693,y=2,w=13,h=47},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=13,h=47},
        sourceSize = {w=13,h=47},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-scroll-4",
        frame = {x=723,y=2,w=13,h=47},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=13,h=47},
        sourceSize = {w=13,h=47},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-scroll-preview",
        frame = {x=708,y=2,w=13,h=47},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=13,h=47},
        sourceSize = {w=13,h=47},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-side-1",
        frame = {x=1323,y=55,w=19,h=76},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=19,h=76},
        sourceSize = {w=19,h=76},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-side-2",
        frame = {x=1302,y=55,w=19,h=76},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=19,h=76},
        sourceSize = {w=19,h=76},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-side-3",
        frame = {x=1281,y=55,w=19,h=76},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=19,h=76},
        sourceSize = {w=19,h=76},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-side-4",
        frame = {x=1365,y=55,w=19,h=76},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=19,h=76},
        sourceSize = {w=19,h=76},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-side-preview",
        frame = {x=1344,y=55,w=19,h=76},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=19,h=76},
        sourceSize = {w=19,h=76},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-sushi-1",
        frame = {x=499,y=2,w=36,h=13},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=36,h=13},
        sourceSize = {w=36,h=13},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-sushi-2",
        frame = {x=423,y=2,w=36,h=13},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=36,h=13},
        sourceSize = {w=36,h=13},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-sushi-3",
        frame = {x=461,y=2,w=36,h=13},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=36,h=13},
        sourceSize = {w=36,h=13},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "banner-sushi-preview",
        frame = {x=537,y=2,w=36,h=13},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=36,h=13},
        sourceSize = {w=36,h=13},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "climb-1",
        frame = {x=63,y=55,w=15,h=55},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=30,y=10,w=15,h=55},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "climb-2",
        frame = {x=969,y=2,w=15,h=49},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=30,y=16,w=15,h=49},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "climb-3",
        frame = {x=627,y=2,w=16,h=40},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=30,y=19,w=16,h=40},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "climb-4",
        frame = {x=46,y=55,w=15,h=55},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=31,y=10,w=15,h=55},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "climb-5",
        frame = {x=952,y=2,w=15,h=49},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=31,y=16,w=15,h=49},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "climb-6",
        frame = {x=645,y=2,w=16,h=40},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=30,y=19,w=16,h=40},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "climb-preview",
        frame = {x=102,y=55,w=15,h=55},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=30,y=10,w=15,h=55},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "control-box-1",
        frame = {x=764,y=2,w=32,h=30},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=32,h=30},
        sourceSize = {w=32,h=30},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "control-box-2",
        frame = {x=216,y=2,w=16,h=27},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=0,y=0,w=16,h=27},
        sourceSize = {w=17,h=27},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "control-box-3",
        frame = {x=982,y=55,w=62,h=30},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=62,h=30},
        sourceSize = {w=62,h=30},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "crouch",
        frame = {x=1022,y=2,w=33,h=33},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=21,y=34,w=33,h=33},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "drone-1",
        frame = {x=546,y=55,w=34,h=48},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=13,y=4,w=34,h=48},
        sourceSize = {w=55,h=52},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "drone-2",
        frame = {x=343,y=55,w=29,h=48},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=11,y=4,w=29,h=48},
        sourceSize = {w=55,h=52},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "drone-3",
        frame = {x=444,y=55,w=31,h=48},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=12,y=3,w=31,h=48},
        sourceSize = {w=55,h=52},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "drone-4",
        frame = {x=312,y=55,w=29,h=48},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=15,y=4,w=29,h=48},
        sourceSize = {w=55,h=52},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "drone_preview",
        frame = {x=510,y=55,w=34,h=48},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=13,y=4,w=34,h=48},
        sourceSize = {w=55,h=52},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "enemy-explosion-1",
        frame = {x=825,y=2,w=31,h=31},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=12,y=13,w=31,h=31},
        sourceSize = {w=55,h=52},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "enemy-explosion-2",
        frame = {x=582,y=55,w=42,h=40},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=5,y=9,w=42,h=40},
        sourceSize = {w=55,h=52},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "enemy-explosion-3",
        frame = {x=1231,y=55,w=48,h=46},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=2,y=4,w=48,h=46},
        sourceSize = {w=55,h=52},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "enemy-explosion-4",
        frame = {x=273,y=133,w=52,h=50},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=1,y=2,w=52,h=50},
        sourceSize = {w=55,h=52},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "enemy-explosion-5",
        frame = {x=555,y=133,w=55,h=52},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=55,h=52},
        sourceSize = {w=55,h=52},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "enemy-explosion-6",
        frame = {x=498,y=133,w=55,h=52},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=55,h=52},
        sourceSize = {w=55,h=52},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "enemy-explosion-preview",
        frame = {x=662,y=55,w=34,h=48},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=13,y=4,w=34,h=48},
        sourceSize = {w=55,h=52},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "hurt",
        frame = {x=141,y=55,w=25,h=47},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=21,y=20,w=25,h=47},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "idle-1",
        frame = {x=1057,y=2,w=21,h=46},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=28,y=21,w=21,h=46},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "idle-2",
        frame = {x=24,y=55,w=20,h=50},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=28,y=17,w=20,h=50},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "idle-3",
        frame = {x=119,y=55,w=20,h=51},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=28,y=16,w=20,h=51},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "idle-4",
        frame = {x=80,y=55,w=20,h=50},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=28,y=17,w=20,h=50},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "idle-peview",
        frame = {x=1080,y=2,w=21,h=46},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=28,y=21,w=21,h=46},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "jump-1",
        frame = {x=626,y=55,w=34,h=48},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=22,y=14,w=34,h=48},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "jump-2",
        frame = {x=269,y=55,w=41,h=35},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=15,y=15,w=41,h=35},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "jump-3",
        frame = {x=1342,y=2,w=37,h=32},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=21,y=18,w=37,h=32},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "jump-4",
        frame = {x=233,y=55,w=34,h=40},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=23,y=16,w=34,h=40},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "jump-preview",
        frame = {x=2,y=55,w=20,h=50},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=28,y=17,w=20,h=50},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "monitor-face-1",
        frame = {x=193,y=2,w=21,h=18},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=21,h=18},
        sourceSize = {w=21,h=18},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "monitor-face-2",
        frame = {x=101,y=2,w=21,h=18},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=21,h=18},
        sourceSize = {w=21,h=18},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "monitor-face-3",
        frame = {x=124,y=2,w=21,h=18},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=21,h=18},
        sourceSize = {w=21,h=18},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "monitor-face-4",
        frame = {x=147,y=2,w=21,h=18},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=21,h=18},
        sourceSize = {w=21,h=18},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "monitorface_preview",
        frame = {x=170,y=2,w=21,h=18},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=21,h=18},
        sourceSize = {w=21,h=18},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "run-1",
        frame = {x=1046,y=55,w=41,h=51},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=10,y=16,w=41,h=51},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "run-2",
        frame = {x=1138,y=55,w=47,h=46},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=7,y=18,w=47,h=46},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "run-3",
        frame = {x=735,y=55,w=36,h=48},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=16,y=19,w=36,h=48},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "run-4",
        frame = {x=205,y=55,w=26,h=48},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=26,y=19,w=26,h=48},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "run-5",
        frame = {x=1187,y=55,w=42,h=51},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=10,y=16,w=42,h=51},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "run-6",
        frame = {x=1089,y=55,w=47,h=46},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=7,y=18,w=47,h=46},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "run-7",
        frame = {x=698,y=55,w=35,h=48},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=16,y=19,w=35,h=48},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "run-8",
        frame = {x=477,y=55,w=31,h=48},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=21,y=19,w=31,h=48},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "run-preview",
        frame = {x=939,y=55,w=41,h=51},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=10,y=16,w=41,h=51},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "run-shoot-1",
        frame = {x=162,y=133,w=51,h=51},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=10,y=16,w=51,h=51},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "run-shoot-2",
        frame = {x=52,y=133,w=55,h=46},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=7,y=18,w=55,h=46},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "run-shoot-3",
        frame = {x=1386,y=55,w=47,h=48},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=16,y=19,w=47,h=48},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "run-shoot-4",
        frame = {x=819,y=55,w=37,h=48},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=26,y=19,w=37,h=48},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "run-shoot-5",
        frame = {x=327,y=133,w=53,h=51},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=10,y=16,w=53,h=51},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "run-shoot-6",
        frame = {x=215,y=133,w=56,h=46},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=7,y=18,w=56,h=46},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "run-shoot-7",
        frame = {x=2,y=133,w=48,h=48},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=16,y=19,w=48,h=48},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "run-shoot-8",
        frame = {x=895,y=55,w=42,h=48},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=21,y=19,w=42,h=48},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "run-shoot-preview",
        frame = {x=109,y=133,w=51,h=51},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=10,y=16,w=51,h=51},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "shoot",
        frame = {x=858,y=55,w=35,h=51},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=20,y=16,w=35,h=51},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "shot-1",
        frame = {x=41,y=2,w=12,h=5},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=1,y=3,w=12,h=5},
        sourceSize = {w=15,h=11},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "shot-2",
        frame = {x=2,y=2,w=10,h=7},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=1,y=2,w=10,h=7},
        sourceSize = {w=15,h=11},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "shot-3",
        frame = {x=14,y=2,w=11,h=6},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=1,y=3,w=11,h=6},
        sourceSize = {w=15,h=11},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "shot-hit-1",
        frame = {x=55,y=2,w=9,h=9},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=3,y=1,w=9,h=9},
        sourceSize = {w=15,h=11},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "shot-hit-2",
        frame = {x=66,y=2,w=9,h=9},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=3,y=1,w=9,h=9},
        sourceSize = {w=15,h=11},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "shot-hit-3",
        frame = {x=88,y=2,w=11,h=11},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=2,y=0,w=11,h=11},
        sourceSize = {w=15,h=11},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "shot-hit-preview",
        frame = {x=77,y=2,w=9,h=9},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=3,y=1,w=9,h=9},
        sourceSize = {w=15,h=11},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "shot-preview",
        frame = {x=27,y=2,w=12,h=5},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=1,y=3,w=12,h=5},
        sourceSize = {w=15,h=11},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "turret-1",
        frame = {x=315,y=2,w=25,h=23},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=25,h=23},
        sourceSize = {w=25,h=23},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "turret-2",
        frame = {x=342,y=2,w=25,h=23},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=25,h=23},
        sourceSize = {w=25,h=23},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "turret-3",
        frame = {x=261,y=2,w=25,h=23},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=25,h=23},
        sourceSize = {w=25,h=23},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "turret-4",
        frame = {x=234,y=2,w=25,h=23},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=25,h=23},
        sourceSize = {w=25,h=23},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "turret-5",
        frame = {x=288,y=2,w=25,h=23},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=25,h=23},
        sourceSize = {w=25,h=23},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "turret-6",
        frame = {x=396,y=2,w=25,h=23},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=25,h=23},
        sourceSize = {w=25,h=23},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "turret-preview",
        frame = {x=369,y=2,w=25,h=23},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=25,h=23},
        sourceSize = {w=25,h=23},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "v-police",
        frame = {x=1013,y=133,w=163,h=60},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=163,h=60},
        sourceSize = {w=163,h=60},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "v-red",
        frame = {x=915,y=133,w=96,h=61},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=96,h=61},
        sourceSize = {w=96,h=61},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "v-truck",
        frame = {x=1178,y=133,w=257,h=104},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=257,h=104},
        sourceSize = {w=257,h=104},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "v-yellow",
        frame = {x=820,y=133,w=93,h=60},
        rotated = false,
        trimmed = false,
        spriteSourceSize = {x=0,y=0,w=93,h=60},
        sourceSize = {w=93,h=60},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "walk-1",
        frame = {x=1320,y=2,w=20,h=49},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=28,y=18,w=20,h=49},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "walk-2",
        frame = {x=1154,y=2,w=19,h=48},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=26,y=19,w=19,h=48},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "walk-3",
        frame = {x=1004,y=2,w=16,h=49},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=27,y=18,w=16,h=49},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "walk-4",
        frame = {x=751,y=2,w=11,h=50},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=30,y=17,w=11,h=50},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "walk-5",
        frame = {x=908,y=2,w=11,h=51},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=30,y=16,w=11,h=51},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "walk-6",
        frame = {x=798,y=2,w=11,h=51},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=30,y=16,w=11,h=51},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "walk-7",
        frame = {x=811,y=2,w=12,h=50},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=30,y=17,w=12,h=50},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "walk-8",
        frame = {x=1175,y=2,w=17,h=50},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=29,y=17,w=17,h=50},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "walk-9",
        frame = {x=1299,y=2,w=19,h=49},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=29,y=18,w=19,h=49},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "walk-10",
        frame = {x=1257,y=2,w=19,h=48},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=26,y=19,w=19,h=48},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "walk-11",
        frame = {x=986,y=2,w=16,h=49},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=27,y=18,w=16,h=49},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "walk-12",
        frame = {x=738,y=2,w=11,h=50},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=30,y=17,w=11,h=50},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "walk-13",
        frame = {x=895,y=2,w=11,h=51},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=30,y=16,w=11,h=51},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "walk-14",
        frame = {x=937,y=2,w=13,h=51},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=29,y=16,w=13,h=51},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "walk-15",
        frame = {x=921,y=2,w=14,h=50},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=28,y=17,w=14,h=50},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "walk-16",
        frame = {x=1381,y=2,w=19,h=50},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=27,y=17,w=19,h=50},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    },
    {
        filename = "walk-preview",
        frame = {x=1402,y=2,w=20,h=49},
        rotated = false,
        trimmed = true,
        spriteSourceSize = {x=28,y=18,w=20,h=49},
        sourceSize = {w=71,h=67},
        pivot = {x=0.5,y=0.5}
    }
}
local meta = {
	app = "http://www.codeandweb.com/texturepacker",
	version = "1.0",
	image = "atlas.png",
	format = "RGBA8888",
	size = {w=1437,h=239},
	scale = "1",
	smartupdate = "$TexturePacker:SmartUpdate:133d307a83f4c0480bfd6bd8d553a8ee:a09b2f18f63aa97ec00a8aa0c1bb7edd:cbce6b53f0f49e0bf15173c25c41f876$"
}
return {
    frames = frames,
    meta = meta
}

Changes to src/fahombo/makefile.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
VERSION=0.1.0
LOVE_VERSION=11.3
NAME=change-me
ITCH_ACCOUNT=change-me-too
URL=https://gitlab.com/alexjgriffith/min-love2d-fennel
AUTHOR="Your Name"
DESCRIPTION="Minimal setup for trying out Phil Hagelberg's fennel/love game design process."

LIBS := $(wildcard lib/*)
LUA := $(wildcard *.lua)
SRC := $(wildcard *.fnl)
OUT := $(patsubst %.fnl,%.lua,$(SRC))


run: $(OUT) ; love .


|
|
|
|
|
<







1
2
3
4
5
6
7

8
9
10
11
12
13
14
VERSION=0.1.0
LOVE_VERSION=11.3
NAME=worpt
ITCH_ACCOUNT=chewbranca
URL="https://chewbranca.com/dir?ci=6f88a252fe2ba468&name=src/worpt"
AUTHOR="Russell Branca {@chewbranca} <chewbranca@gmail.com>"
DESCRIPTION="Worpt is a prototype platformer using the awesome _Warped City_ art assets from https://ansimuz.itch.io/warped-city . Currently this is an engine capable of running the map.json file from the _Warped City_ demo game. The goal was for this to be the intro level and then to create new levels, and the progress is that intro level is playable and nearly complete."

LIBS := $(wildcard lib/*)
LUA := $(wildcard *.lua)
SRC := $(wildcard *.fnl)
OUT := $(patsubst %.fnl,%.lua,$(SRC))


run: $(OUT) ; love .

Changes to src/fahombo/play.fnl.

1


2
3
4



5
6
7
8
9
10
11
..
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
..
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
...
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
...
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
;; This is a Fennel implementation of http://www.osmstudios.com/tutorials/love2d-platformer-tutorial-part-1-the-basics



;; TODO
;; - [ ] swap animation directions for -x movement




(local anim8 (require "lib.anim8"))
(local bump (require "lib.bump"))
(local sti (require "lib.sti"))

(local game-width 384)
(local game-height 224)
................................................................................
(local bg-1 (love.graphics.newImage "assets/warped_city/environment/bg-1.png"))
(local bg-2 (love.graphics.newImage "assets/warped_city/environment/bg-2.png"))
(local bg-3 (love.graphics.newImage "assets/warped_city/environment/bg-3.png"))

(local player-img (love.graphics.newImage "assets/osmstudios_character_block.png"))
(local player {
  :x 16
  :y 16
  ;; The first set of values are for our rudimentary physics system
  :xVelocity 0 ;; current velocity on x, y axes
  :yVelocity 0
  :acc 50 ;; the acceleration of our player
  :maxSpeed 600 ;; the top speed
  :friction 20 ;; slow our player down - we could toggle this situationally to create icy or slick platforms
  :gravity 80 ;; we will accelerate towards the bottom

  ;; These are values applying specifically to jumping
  :isJumping false ;; are we in the process of jumping?
  :isGrounded false ;; are we on the ground?
  :hasReachedMax false ;; is this as high as we can go?
  :jumpAcc 100 ;; how fast do we accelerate towards the top
  :jumpMaxSpeed 9.5 ;; our speed limit while jumping

  ;; Here are some incidental storage areas
  :state :idle ;; player animation
  :img player-img}) ;; store the sprite we'll be drawing

(local atlas-data (require "assets/warped_city/atlas/atlas"))

(local atlas-tile (love.graphics.newImage "assets/warped_city/atlas/atlas.png"))
;; apparently this helps for scaling
(: atlas-tile :setFilter "nearest" "linear")















(local atlas-quads {})
(local atlas-imgs {})
(local atlas-ams {})
(local atlas-ams-imgs {})

;; process atlas definition
................................................................................
          (assert (= (length (. atlas-ams-imgs group)) count)))
        ;; other images
        (string.match name "[a-z]$")
        (tset atlas-imgs name quad)))))

;; create animations
(each [name quads (pairs atlas-ams-imgs)]

  (let [am (anim8.newAnimation quads 0.1)]
    (tset atlas-ams name am)))

(log "Created animations: %s" (pps (lume.keys atlas-ams)))


(local map (sti "map.lua" ["bump"])) ;; TODO: add lint wrapper
(local world (bump.newWorld 16))





















(local ground-0 {})
(local ground-1 {})

(: map :bump_init world)
(: world :add player player.x player.y (: player.img :getWidth) (: player.img :getHeight))
;;(: world :add ground-0 20 360 640 16) ; blog version
(: world :add ground-0 120 360 640 16) ; github version
(: world :add ground-1 0 448 640 32)























(set player.filter (fn [item other]

                     (let [(x y w h) (: world :getRect other)
                           (px py pw ph) (: world :getRect item)
                           player-bottom (+ py ph)
                           other-bottom (+ y h)]
                       (if (<= player-bottom y)
                         :slide))))

(fn update [dt set-mode]
  (let [goal-x (+ player.x player.xVelocity)
        goal-y (+ player.y player.yVelocity)
        (x y cols) (: world :move player goal-x goal-y player.filter)
        am (. atlas-ams player.state)]
    (: am :update dt)

    (set player.x (lume.clamp x 5 1000))
    (set player.y y)
    (each [i col (ipairs cols)]
      (if
        (> col.touch.y goal-y)
        (do
          (set player.hasReachedMax true)
          (set player.isGrounded false)
................................................................................

  ;; jump up jump up and get down
  (if (love.keyboard.isDown "up" "w")
    (do
      (if
        (and (< (- player.yVelocity) player.jumpMaxSpeed) (not player.hasReachedMax))
        (do
          ;; (log "{%s} Setting player velocity{%s} to {%s} using a={%s}" dt player.yVelocity (- player.yVelocity (* player.jumpAcc dt)) player.jumpAcc)
          (set player.yVelocity (- player.yVelocity (* player.jumpAcc dt))))
        ;; (log "Approaching terminal velocity %s ----> %s" (math.abs player.yVelocity) player.jumpMaxSpeed)
        (>= (math.abs player.yVelocity) player.jumpMaxSpeed)
        (set player.hasReachedMax true))

      (set player.isGrounded false)
      (set player.state :jump)))))

(fn keypressed [key set-mode])
................................................................................
(fn draw [map world player]
  (let [w (love.graphics.getWidth)
        h (love.graphics.getHeight)
        iw (: bg-1 :getWidth)
        ih (: bg-1 :getHeight)
        sw (/ w iw)
        sh (/ h ih)


        tdx 1]
    (love.graphics.draw bg-1 0 0 0 sw sh)
    (love.graphics.draw bg-2 0 0 0 sw sh)
    (love.graphics.draw bg-3 0 0 0 sw sh)
    (love.graphics.push))
    ;;(love.graphics.translate (/ w tdx) (/ h tdx)))

  (: map :draw)

  (let [p-img atlas-quads.walk-5
        p-am atlas-ams.walk
        am (. atlas-ams player.state)]
    ;; TODO: switch to drawing with a spritebatch
    ;;(love.graphics.draw atlas-tile p-img player.x player.y))
    (: am :draw atlas-tile player.x player.y))
  (let [(x0 y0 w0 h0) (: world :getRect ground-0)
        (x1 y1 w1 h1) (: world :getRect ground-1)]
    (love.graphics.rectangle "fill" x0 y0 w0 h0)
    (love.graphics.rectangle "fill" x1 y1 w1 h1))
  (love.graphics.pop))

{:draw (partial draw map world player)
 :update update


 :keypressed keypressed}

>
>



>
>
>







 







|



|


|





|











>
>
>
>
>
>
>
>
>
>
>
>
>
>







 







>
|



<




>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>



<
<
<
<
<
>
>
>

>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

>







|





>
|







 







<

<







 







>
>




<
<
>
|
>
|
|
|
|
|
<
<
<
|
|
|


<
>
>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
..
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
..
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
...
201
202
203
204
205
206
207

208

209
210
211
212
213
214
215
...
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
;; This is a Fennel implementation of http://www.osmstudios.com/tutorials/love2d-platformer-tutorial-part-1-the-basics
;; combined with the awesome art assets and the demo game from
;; https://ansimuz.itch.io/warped-city

;; TODO
;; - [ ] swap animation directions for -x movement
;;   # the moonwalking is pretty cool though...

(local debug? false)

(local anim8 (require "lib.anim8"))
(local bump (require "lib.bump"))
(local sti (require "lib.sti"))

(local game-width 384)
(local game-height 224)
................................................................................
(local bg-1 (love.graphics.newImage "assets/warped_city/environment/bg-1.png"))
(local bg-2 (love.graphics.newImage "assets/warped_city/environment/bg-2.png"))
(local bg-3 (love.graphics.newImage "assets/warped_city/environment/bg-3.png"))

(local player-img (love.graphics.newImage "assets/osmstudios_character_block.png"))
(local player {
  :x 16
  :y 330
  ;; The first set of values are for our rudimentary physics system
  :xVelocity 0 ;; current velocity on x, y axes
  :yVelocity 0
  :acc 10 ;; the acceleration of our player
  :maxSpeed 600 ;; the top speed
  :friction 20 ;; slow our player down - we could toggle this situationally to create icy or slick platforms
  :gravity 30 ;; we will accelerate towards the bottom

  ;; These are values applying specifically to jumping
  :isJumping false ;; are we in the process of jumping?
  :isGrounded false ;; are we on the ground?
  :hasReachedMax false ;; is this as high as we can go?
  :jumpAcc 40 ;; how fast do we accelerate towards the top
  :jumpMaxSpeed 9.5 ;; our speed limit while jumping

  ;; Here are some incidental storage areas
  :state :idle ;; player animation
  :img player-img}) ;; store the sprite we'll be drawing

(local atlas-data (require "assets/warped_city/atlas/atlas"))

(local atlas-tile (love.graphics.newImage "assets/warped_city/atlas/atlas.png"))
;; apparently this helps for scaling
(: atlas-tile :setFilter "nearest" "linear")

;;> Created animations: ["enemy-explosion" "control-box" "climb" "shot" "back-jump" "banner-coke" "shot-hit" "banner-scroll" "banner-sushi" "monitor-face" "run" "drone" "banner-side" "walk" "turret" "banner-big" "run-shoot" "idle" "banner-neon" "jump"]

(local gid->am {
                5  :banner-coke
                6  :banner-big
                7  :banner-neon
                8  :banner-scroll
                9  :banner-side
                10 :banner-sushi
                11 :monitor-face})

(local am->gid {})
(each [gid am (pairs gid->am)] (tset am->gid am gid))

(local atlas-quads {})
(local atlas-imgs {})
(local atlas-ams {})
(local atlas-ams-imgs {})

;; process atlas definition
................................................................................
          (assert (= (length (. atlas-ams-imgs group)) count)))
        ;; other images
        (string.match name "[a-z]$")
        (tset atlas-imgs name quad)))))

;; create animations
(each [name quads (pairs atlas-ams-imgs)]
  (let [duration (if (. am->gid name) 0.5 0.15)
        am (anim8.newAnimation quads duration)]
    (tset atlas-ams name am)))

(log "Created animations: %s" (pps (lume.keys atlas-ams)))


(local map (sti "map.lua" ["bump"])) ;; TODO: add lint wrapper
(local world (bump.newWorld 16))

(: map :bump_init world)
(: world :add player player.x player.y (: player.img :getWidth) (: player.img :getHeight))

;;(log "MAP PROPERTIES: %s" (pps (lume.keys map.layers)))

(local entity-layer (: map :addCustomLayer "Entities" (+ 1 (length map.layers))))
(set entity-layer.entities {})
(fn entity-layer.update [self dt]
  (each [_i ent (ipairs self.entities)]
    (when ent.update (ent.update ent dt))))
(fn entity-layer.draw [self dt]
  (each [_i ent (ipairs self.entities)]
    (when ent.draw (ent.draw ent))))

(fn player.draw [self]
  (let [am (. atlas-ams player.state)
        x (+ player.x 0) y (+ player.y 14)]
    ;; TODO: switch to drawing with a spritebatch
    (: am :draw atlas-tile x y)))

(local ground-0 {})
(local ground-1 {})






(fn draw-object [obj]
  (let [x obj.x y obj.y am obj.am]
    (: am :draw atlas-tile x y)))

(fn update-object [obj dt]
  (let [am obj.am]
    (: am :update dt)))

(each [_i obj (pairs map.objects)]
  (let [id obj.id
        gid obj.gid
        am-name (. gid->am gid)
        am (. atlas-ams am-name)
        o-x obj.x o-y obj.y o-w obj.width o-h obj.height
        (a-w a-h) (: am :getDimensions)
        x (+ o-x o-w) y (- o-y o-h a-h)
        am-obj {:x x :y y :am am :draw draw-object :update update-object}]
    ;;(log "Adding animation object %s-%s %s" id gid am-name)
    (table.insert entity-layer.entities am-obj)))

;; Insert player last so it's rendered on top; who needs z-index'ing amirite?
(table.insert entity-layer.entities player)

(set player.filter (fn [item other]
                     ;;(log "ITEM{%s} COLLIDED WITH OTHER{%s}" (pps item) (pps (lume.keys other.properties)))
                     (let [(x y w h) (: world :getRect other)
                           (px py pw ph) (: world :getRect item)
                           player-bottom (+ py ph)
                           other-bottom (+ y h)]
                       (if (<= player-bottom y)
                         :slide))))

(fn update [map world player dt set-mode]
  (let [goal-x (+ player.x player.xVelocity)
        goal-y (+ player.y player.yVelocity)
        (x y cols) (: world :move player goal-x goal-y player.filter)
        am (. atlas-ams player.state)]
    (: am :update dt)
    (: map :update dt)
    (set player.x (lume.clamp x 0 (* game-width 16)))
    (set player.y y)
    (each [i col (ipairs cols)]
      (if
        (> col.touch.y goal-y)
        (do
          (set player.hasReachedMax true)
          (set player.isGrounded false)
................................................................................

  ;; jump up jump up and get down
  (if (love.keyboard.isDown "up" "w")
    (do
      (if
        (and (< (- player.yVelocity) player.jumpMaxSpeed) (not player.hasReachedMax))
        (do

          (set player.yVelocity (- player.yVelocity (* player.jumpAcc dt))))

        (>= (math.abs player.yVelocity) player.jumpMaxSpeed)
        (set player.hasReachedMax true))

      (set player.isGrounded false)
      (set player.state :jump)))))

(fn keypressed [key set-mode])
................................................................................
(fn draw [map world player]
  (let [w (love.graphics.getWidth)
        h (love.graphics.getHeight)
        iw (: bg-1 :getWidth)
        ih (: bg-1 :getHeight)
        sw (/ w iw)
        sh (/ h ih)
        tx (math.max 0 (math.floor (- player.x (/ w 4))))
        ty (math.max 0 (math.floor (- player.y (/ h 4))))
        tdx 1]
    (love.graphics.draw bg-1 0 0 0 sw sh)
    (love.graphics.draw bg-2 0 0 0 sw sh)
    (love.graphics.draw bg-3 0 0 0 sw sh)



    (: map :draw (- tx) (- ty))))

(fn draw-debug []
  (when debug?
    (let [msg-fps (string.format "Current FPS: %s" (love.timer.getFPS))
          msg-state (string.format "STATE: J?|G?|M? -- %s|%s|%s" player.isJumping player.isGrounded player.hasReachedMax)
          msg-xy (string.format "{X,Y}: {%.2f, %.2f} || {dx: %.2f, dy: %.2f}" player.x player.y player.xVelocity player.yVelocity)]



      (love.graphics.print msg-fps 10 10)
      (love.graphics.print msg-xy 10 30)
      (love.graphics.print msg-state 10 50))))

{:draw (partial draw map world player)

 :draw-debug (partial draw-debug map world player)
 :update (partial update map world player)
 :keypressed keypressed}

Changes to src/fahombo/readme.md.

1
2
3
4
5


6
7
8
9










10
11
12
13
14
15
16
# Chewbranca's Fahombo

Partake in the Fahombo rite of passage!

# This project based on the min Fennel setup by Technomancy and Alexjgriffith



  - technomancy: https://gitlab.com/technomancy/exo-encounter-667
  - alexjgriffith: https://gitlab.com/alexjgriffith/min-love2d-fennel











## Original readme.{org,md} follows:

-----

# Minimal Fennel Love2D Setup

In a lead up to the annual [Autumn Lisp Game Jam](https://itch.io/jam/autumn-lisp-game-jam-2018) I thought I'd look into Phil Hegelberg's approach to last Aprils Jam, using [love2d](https://love2d.org/) in concert with [fennel](https://fennel-lang.org/). Phil outlines his approach on his [blog](https://love2d.org/).
|

|

|
>
>




>
>
>
>
>
>
>
>
>
>







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
# Chewbranca's Worpt

Worpt is a prototype platformer using the awesome _Warped City_ art assets from https://ansimuz.itch.io/warped-city and the platforming physics from http://www.osmstudios.com/tutorials/love2d-platformer-tutorial-part-1-the-basics . Currently this is an engine capable of running the map.json file from the _Warped City_ demo game. The goal was for this to be the intro level and then to create new levels, and the progress is that intro level is playable and nearly complete.

## This Project is Based On:

### Project Structure

  - technomancy: https://gitlab.com/technomancy/exo-encounter-667
  - alexjgriffith: https://gitlab.com/alexjgriffith/min-love2d-fennel

## Platforming Physics

  - OSM Studios Tutorial: http://www.osmstudios.com/tutorials/love2d-platformer-tutorial-part-1-the-basics

## Game Art Assets, Map File, and Sample Game

  The wonderful game assets from:

  - Warped City: https://ansimuz.itch.io/warped-city

## Original readme.{org,md} follows:

-----

# Minimal Fennel Love2D Setup

In a lead up to the annual [Autumn Lisp Game Jam](https://itch.io/jam/autumn-lisp-game-jam-2018) I thought I'd look into Phil Hegelberg's approach to last Aprils Jam, using [love2d](https://love2d.org/) in concert with [fennel](https://fennel-lang.org/). Phil outlines his approach on his [blog](https://love2d.org/).

Changes to src/fahombo/wrap.fnl.

1
2
3
4
5
6
7
8
9
10
11
12
..
21
22
23
24
25
26
27
28

29
30
31
32
33
34
35
36
37
(local repl (require "lib.stdio"))
(local canvas (let [(w h) (love.window.getMode)]
                (love.graphics.newCanvas w h)))

(var scale 1)

;; set the first mode
(var mode (require "mode-intro"))

(fn set-mode [mode-name ...]
  (set mode (require mode-name))
  (when mode.activate
................................................................................
  ;; don't want that, just skip that and call mode.draw directly.
  (love.graphics.setCanvas canvas)
  (love.graphics.clear)
  (love.graphics.setColor 1 1 1)
  (mode.draw)
  (love.graphics.setCanvas)
  (love.graphics.setColor 1 1 1)
  (love.graphics.draw canvas 0 0 0 scale scale))


(fn love.update [dt]
  (mode.update dt set-mode))

(fn love.keypressed [key]
  (if (and (love.keyboard.isDown "lctrl" "rctrl" "capslock") (= key "q"))
      (love.event.quit)
      ;; add what each keypress should do in each mode
      (mode.keypressed key set-mode)))




|







 







|
>









1
2
3
4
5
6
7
8
9
10
11
12
..
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
(local repl (require "lib.stdio"))
(local canvas (let [(w h) (love.window.getMode)]
                (love.graphics.newCanvas w h)))

(var scale 2)

;; set the first mode
(var mode (require "mode-intro"))

(fn set-mode [mode-name ...]
  (set mode (require mode-name))
  (when mode.activate
................................................................................
  ;; don't want that, just skip that and call mode.draw directly.
  (love.graphics.setCanvas canvas)
  (love.graphics.clear)
  (love.graphics.setColor 1 1 1)
  (mode.draw)
  (love.graphics.setCanvas)
  (love.graphics.setColor 1 1 1)
  (love.graphics.draw canvas 0 0 0 scale scale)
  (if mode.draw-debug (mode.draw-debug)))

(fn love.update [dt]
  (mode.update dt set-mode))

(fn love.keypressed [key]
  (if (and (love.keyboard.isDown "lctrl" "rctrl" "capslock") (= key "q"))
      (love.event.quit)
      ;; add what each keypress should do in each mode
      (mode.keypressed key set-mode)))