game.pd 133 KB
Newer Older
1
#N struct foo;
2
3
#N canvas 1 53 881 631 10;
#N canvas 457 98 853 628 (subpatch) 0;
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#X obj 253 455 cnv 15 378 41 empty empty empty 20 12 0 14 -204786 -66577
0;
#X obj 33 550 cnv 15 270 32 empty empty empty 20 12 0 14 -204786 -66577
0;
#X obj 494 208 cnv 15 123 28 empty empty empty 20 12 0 14 -204786 -66577
0;
#X obj 284 279 cnv 15 141 25 empty empty empty 20 12 0 14 -204786 -66577
0;
#X obj 33 65 cnv 15 133 24 empty empty empty 20 12 0 14 -204786 -66577
0;
#X obj 35 5 inlet;
#X obj 35 68 draw sprite omnibus;
#X obj 38 558 draw polyline 100 42 200 32 200 52 100 42;
#X obj 61 427 r \$0-direction;
#X obj 39 245 loadbang;
19
#X obj 39 305 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
20
1;
21
22
#X msg 39 391 vis \$1;
#X msg 259 434 vis \$1;
23
24
#X obj 259 460 draw path M 60 -5 l 0 0 5 0 0 -5 -5 0 z M 60 -15 l 0
0 5 0 0 -25 -5 0 z;
25
26
27
#X obj 259 393 &&;
#X obj 273 343 t b a;
#X obj 259 368 f;
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
#X obj 438 126 loadbang;
#X msg 438 159 vis 0;
#X obj 219 5 r the_answer;
#X msg 287 126 vis 1;
#N canvas 634 107 676 501 frame-adjustments 0;
#X obj 81 24 inlet;
#X obj 147 225 change;
#X obj 147 246 sel 0 1;
#X obj 147 116 moses 76;
#X obj 81 63 mod 92;
#X msg 174 170 set -1;
#X obj 222 149 moses 80;
#X obj 267 170 moses 84;
#X obj 312 191 moses 88;
#X msg 147 373 transform translate \$1 \$2;
#X msg 222 170 -5 7;
#X msg 267 191 -2 -5;
#X msg 357 233 -10 5;
#X msg 147 280 0 0;
#X obj 223 280 t a;
#X msg 176 280 -10 0;
#X obj 147 136 >= 60;
#X obj 114 85 sel 68;
#X msg 114 116 0;
#X msg 312 212 -37 2;
#X obj 80 424 outlet;
#X text 257 281 I used imagemagick to break out the sprite sheet into
an image sequence \, but not all the images align correctly. So I am
translating the frames of the sprite to make them line up correctly.
;
#X connect 0 0 4 0;
#X connect 1 0 2 0;
#X connect 2 0 13 0;
#X connect 2 1 15 0;
#X connect 3 0 16 0;
#X connect 3 1 5 0;
#X connect 3 1 6 0;
#X connect 4 0 17 0;
#X connect 4 0 20 0;
#X connect 5 0 1 0;
#X connect 6 0 10 0;
#X connect 6 1 7 0;
#X connect 7 0 11 0;
#X connect 7 1 8 0;
#X connect 8 0 19 0;
#X connect 8 1 12 0;
#X connect 9 0 20 0;
#X connect 10 0 14 0;
#X connect 11 0 14 0;
#X connect 12 0 14 0;
#X connect 13 0 9 0;
#X connect 14 0 9 0;
#X connect 15 0 9 0;
#X connect 16 0 1 0;
#X connect 17 0 18 0;
#X connect 17 1 3 0;
#X connect 18 0 1 0;
#X connect 19 0 14 0;
#X restore 35 35 pd frame-adjustments;
#N canvas 871 28 450 300 transform-flashlight-beam 0;
#X msg 134 44 transform translate 0 0;
#X msg 116 82 transform rotate -90 60 55;
#X msg 153 17 transform rotate 90 40 75;
#X msg 173 -10 transform translate 125 103 scale -1;
#X obj 113 -59 inlet;
#X obj 183 143 outlet;
#X obj 113 -35 select n e s w;
#X connect 0 0 5 0;
#X connect 1 0 5 0;
#X connect 2 0 5 0;
#X connect 3 0 5 0;
#X connect 4 0 6 0;
#X connect 6 0 1 0;
#X connect 6 1 0 0;
#X connect 6 2 2 0;
#X connect 6 3 3 0;
#X restore 61 452 pd transform-flashlight-beam;
#X obj 68 485 loadbang;
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
#X msg 39 266 0;
#X msg 606 189 transform translate -140 70 scale 0.75;
#X msg 219 126 0;
#X obj 219 147 s \$0-lock;
#X obj 219 31 b;
#X obj 219 76 del 750;
#X obj 346 159 s \$0-level-up;
#X msg 300 159 vis 0;
#X obj 501 33 r no-bullets;
#X msg 501 111 vis 1;
#X msg 258 31 stop;
#X obj 565 146 s \$0-reset;
#X obj 638 146 s \$0-level-up;
#X msg 513 146 vis 0;
#X obj 501 59 del 1500;
#X msg 625 90 0;
#X obj 625 111 s \$0-lock;
#X obj 565 111 del 3500;
#X obj 346 126 del 3000;
#X msg 68 509 stroke-dasharray 5 6 \, fill yellow \, fill-opacity 0.5
\, stroke darkgray;
#X obj 367 401 loadbang;
#X obj 411 224 loadbang;
#X obj 606 168 loadbang;
#X obj 259 314 r \$0-hit-object;
#X msg 367 422 fill yellow \, transform translate 27 -7 scale 0.57
\, stroke black;
#X msg 411 245 fill black \, transform translate -130 100 scale 0.75
\, fill-opacity 0.6 \, stroke-opacity 0.6 \, stroke black;
#X obj 125 259 r \$0-flashlight;
#X obj 39 358 change -1;
#X obj 259 414 change -1;
Jonathan Wilkes's avatar
Jonathan Wilkes committed
138
#N canvas 258 53 765 643 level-completed 0;
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
#X obj 34 83 draw path m 96.5563 77.37 c 1.92685 9.95844 -16.8413 5.35744
-10.1789 -4.24988 -4.92945 -7.64506 12.2558 -11.9026 -1.96966 -11.2116
-11.6695 -0.701416 3.56415 5.52858 -1.33995 13.3848 3.83698 7.12434
-10.1801 9.43989 0.508268 10.1438 8.30832 3.29187 22.7138 -3.96372
13.3342 -9.64464 L 96.5563 77.37 l 0 0 z;
#X obj 34 174 draw path m 106.739 74.53 c 1.29606 -12.0668 20.5432
2.94386 4.79726 0 -1.59909 0 -3.19817 0 -4.79726 0 z m -0.08 2.56 c
8.1553 2.10502 24.0448 -1.33611 11.1072 -9.46422 -16.5008 -7.21824
-20.1518 22.5358 -2.44647 17.842 6.73812 0.694154 8.49992 -7.32869
0.85141 -2.90733 -3.97516 1.22057 -9.73338 -0.389794 -9.5121 -5.4704
z;
#X obj 34 265 draw path m 128.361 69.97 c 2.46367 6.33008 8.55626 23.6266
13.3399 9.31702 4.64654 -5.42544 7.12968 -17.4543 -1.59793 -10.0397
5.3043 4.15272 -5.42535 19.1791 -6.0906 6.31356 -0.39469 -6.5519 0.11839
-11.0394 -7.86743 -7.38683 l 0.43045 0.768682 1.78559 1.02725 0 0 z
;
#X obj 34 343 draw path m 154.864 74.53 c 1.29606 -12.0668 20.5432
2.94386 4.79726 0 -1.59909 0 -3.19817 0 -4.79726 0 z m -0.08 2.56 c
8.1553 2.10502 24.0448 -1.33611 11.1072 -9.46422 -16.5008 -7.21824
-20.1518 22.5358 -2.44647 17.842 6.73812 0.694153 8.49993 -7.32869
0.85141 -2.90733 -3.97515 1.22057 -9.73338 -0.389791 -9.5121 -5.4704
z;
#X obj 34 434 draw path m 184.126 62.49 c 0 6.66667 0 13.3333 0 20
-15.4289 0.674763 8.23754 6.41151 9.54936 0.906154 -15.0131 1.53377
1.02759 -23.5938 -11.1939 -23.9651 -6.03163 0.773538 -3.0334 4.20857
1.64458 3.05898 z;
#X obj 34 499 draw path M 239.731 62.73 C 221.637 53.056 216.744 90.1285
236.897 85.793 245.911 82.2914 240.345 78.4913 234.195 82.8395 217.401
80.765 233.436 51.6678 240.892 70.5232 243.981 70.307 244.056 60.1726
239.731 62.73 z;
#X obj 34 564 draw path m 267.834 76.25 c -0.23191 -18.935 -32.235
-4.27042 -16.5591 7.67334 6.03888 4.31453 17.1253 0.693617 16.5591
-7.67334 z m -10.2 6.76 c -16.409 -1.07188 2.85867 -24.3778 6.81643
-7.79127 0.64165 3.92838 -2.68125 8.17391 -6.81643 7.79127 z;
#X obj 34 642 draw path m 288.816 74.37 c -3.15164 6.09481 5.28382
16.8221 3.26777 5.5346 1.5439 -9.07896 -3.34271 -15.6876 -12.9625 -12.0708
-15.1852 -5.34395 -2.23779 10.883 -8.49939 16.5134 13.5713 6.0919 -2.23552
-13.7076 8.67824 -13.7279 1.75289 3.30842 1.49219 20.6269 5.25204 11.7456
-4.91087 -4.08509 2.70584 -20.8388 4.26384 -7.99483 z;
#X obj 34 733 draw path m 306.759 82.41 c -15.7771 -1.57343 4.61263
-21.8301 6.2 -6.12 0.23592 3.34396 -2.88692 6.35093 -6.2 6.12 z m -6.08
7.84 c -4.04782 -13.5507 18.6587 1.50987 15.1901 -14.4803 -0.40494
-11.3757 -16.8219 -9.18947 -20.375 -6.12469 6.87672 4.92086 -1.59329
19.5553 2.83089 23.6604 5.68336 0.712824 13.2407 -2.84409 2.35411 -3.05544
z;
#X obj 34 824 draw path m 328.501 62.49 c 0 6.66667 0 13.3333 0 20
-15.4289 0.674763 8.23754 6.41151 9.54936 0.906154 -15.0131 1.53377
1.02759 -23.5938 -11.1939 -23.9651 -6.17628 1.10893 -3.12335 3.95489
1.64458 3.05898 z;
#X obj 34 889 draw path m 347.364 74.53 c 1.29606 -12.0668 20.5432
2.94386 4.79726 0 -1.59909 0 -3.19817 0 -4.79726 0 z m -0.08 2.56 c
8.1553 2.10502 24.0448 -1.33611 11.1072 -9.46422 -16.5008 -7.21824
-20.1518 22.5358 -2.44647 17.842 6.73812 0.694153 8.49993 -7.32869
0.85141 -2.90733 -3.97515 1.22057 -9.73338 -0.389791 -9.5121 -5.4704
z;
#X obj 34 980 draw path m 383.266 68.29 c -8.91944 4.40634 -8.87564
-13.4589 -11.5484 -0.425432 -7.88573 2.22763 4.23738 3.27492 0.92101
10.7529 -3.67978 15.2247 25.4195 -0.455864 7.64602 4.34705 -9.51674
-2.24089 -4.90771 -15.9221 4.49411 -12.4765 1.46297 -0.748842 -1.29351
-2.15054 -1.51271 -2.198 z;
#X obj 34 1058 draw path m 395.489 74.53 c 1.29606 -12.0668 20.5432
2.94386 4.79726 0 -1.59909 0 -3.19817 0 -4.79726 0 z m -0.08 2.56 c
8.1553 2.10502 24.0448 -1.33611 11.1072 -9.46422 -16.5008 -7.21824
-20.1518 22.5358 -2.44647 17.842 6.73812 0.694153 8.49993 -7.32869
0.85141 -2.90733 -3.97515 1.22057 -9.73338 -0.389791 -9.5121 -5.4704
z;
#X obj 34 1149 draw path m 419.151 76.49 c 0.62727 -15.1791 22.3064
2.24823 7.10756 6.0854 -3.53934 0.616982 -7.44903 -2.32926 -7.10756
-6.0854 z m 12.8 8.76 c 8.33635 0.525291 -0.95158 -13.131 2.48828 -18.8302
4.484 -6.72068 -8.30014 -9.24304 -4.7817 -3.70695 9.09049 10.7118 -12.9544
-0.341956 -13.4937 10.5599 -4.35521 10.6013 10.4457 13.4346 15.7872
11.9772 z;
#X obj 437 101 inlet;
#X obj 470 163 loadbang;
Jonathan Wilkes's avatar
Jonathan Wilkes committed
213
214
#X obj 470 227 draw rect 387 48 63 50;
#X msg 470 185 fill 100 230 100 \, stroke gray \, fill-opacity 0.5
215
\, rx 20 \, ry 20;
Jonathan Wilkes's avatar
Jonathan Wilkes committed
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
#X connect 14 0 0 0;
#X connect 14 0 13 0;
#X connect 14 0 12 0;
#X connect 14 0 11 0;
#X connect 14 0 10 0;
#X connect 14 0 9 0;
#X connect 14 0 8 0;
#X connect 14 0 7 0;
#X connect 14 0 6 0;
#X connect 14 0 5 0;
#X connect 14 0 4 0;
#X connect 14 0 3 0;
#X connect 14 0 2 0;
#X connect 14 0 1 0;
#X connect 14 0 16 0;
#X connect 15 0 17 0;
#X connect 17 0 16 0;
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
#X restore 288 284 draw g level-completed;
#N canvas 691 201 450 300 level-failed 0;
#X obj 269 68 loadbang;
#X msg 269 89 fill black;
#X obj 245 151 loadbang;
#X msg 245 172 fill red;
#X obj 104 70 inlet;
#N canvas 831 86 450 472 go-to-jail 0;
#X obj 48 86 draw path m 163.521 171.89 c -18.0526 10.1245 -15.1912
-29.9926 0.19314 -13.8101 9.7597 -7.53129 -12.8866 -9.97304 -15.248
-0.49569 -9.85779 11.5808 12.5995 27.0142 18.4774 13.0228 6.5267 -9.97766
-17.1568 -4.83831 -4.84084 -3.32096 2.47553 -0.17293 1.65526 3.34991
1.41837 4.60396 z;
#X obj 48 169 draw path m 181.384 173.09 c -17.9481 -2.15321 2.34763
-31.7296 6.93306 -11.4557 0.71322 4.65858 -1.03672 11.6092 -6.93306
11.4557 z m 10.56 -9.44 c 2.24679 -19.3448 -29.9247 -10.3518 -20.3118
5.44585 4.09988 11.8775 22.1276 6.26503 20.3118 -5.44585 z;
#X obj 48 252 draw path m 222.189 159.97 c -0.92579 -9.94683 8.89423
-3.17234 5.76 3.55263 0.73074 5.48518 -0.009 9.75999 -4.01047 10.764
4.66453 3.65249 16.786 -0.0847 7.09047 -3.23506 0 -5.38719 0 -10.7744
0 -16.1616 6.99203 -4.58295 6.69419 14.7583 8.83215 2.34038 -0.27966
-8.96861 -15.7669 -5.17226 -20.2711 -3.58188 -0.49011 1.64159 -0.62731
13.5594 2.59891 6.3215 z;
#X obj 48 361 draw path m 253.571 173.09 c -17.9481 -2.15321 2.34763
-31.7296 6.93306 -11.4557 0.6946 4.67437 -1.01164 11.5966 -6.93306
11.4557 z m 10.56 -9.44 c 2.24679 -19.3448 -29.9247 -10.3518 -20.3118
5.44585 4.09988 11.8775 22.1276 6.26503 20.3118 -5.44585 z;
#X obj 48 444 draw path m 304.656 154.89 c 1.85215 6.84529 -1.04715
27.092 -9.81264 14.1827 -9.07458 -6.03443 4.23793 16.2997 11.3778 3.94955
3.9797 -6.3 -0.82502 -17.9323 4.8827 -20.5366 -4.81661 -2.34103 -21.9712
1.24792 -8.24443 2.62822 l 1.79653 -0.22395 0 0 z;
#X obj 48 527 draw path m 322.719 154.89 c -2.21333 5.86667 -4.42667
11.7333 -6.64 17.6 -7.20793 4.61356 14.8858 3.22723 3.33221 -1.62982
6.18535 -9.21407 14.8584 1.42162 11.4515 4.29734 13.3209 1.37281 -2.40419
-14.2235 -2.45172 -20.7942 -1.16611 -5.99548 -18.2135 0.2738 -5.69198
0.52667 z m -1 10.36 c 1.62582 -5.47953 4.20743 -13.8265 6.64526 -3.61506
3.22868 6.12576 -3.63046 2.99007 -6.64526 3.61506 z;
#X obj 48 636 draw path m 355.741 172.49 c -7.37969 1.04537 -7.2304
-20.5498 1.59961 -18.5874 -1.69871 -5.46041 -24.0824 0.36903 -9.07961
0.98738 0 5.86667 0 11.7333 0 17.6 -15.0185 0.79274 7.92919 6.13147
9.50125 1.07379 L 355.741 172.49 z;
#X obj 48 706 draw path m 381.244 167.37 c 1.93543 9.94125 -16.8276
5.37747 -10.1803 -4.22358 -4.92339 -7.64371 12.2507 -11.9437 -1.96802
-11.2373 -11.6721 -0.69763 3.56032 5.51347 -1.34085 13.3655 3.84807
7.12042 -10.1774 9.46013 0.49717 10.1621 8.30469 3.28021 22.7269 -3.94926
13.3476 -9.64595 l -0.3556 1.57923 0 0 z;
#X obj 18 -5 inlet;
#X msg 90 30 fill-opacity 0.4 \, rx 20 \, ry 20;
#X obj 88 54 draw rect 270 46 130 140;
#X connect 8 0 0 0;
#X connect 8 0 7 0;
#X connect 8 0 6 0;
#X connect 8 0 5 0;
#X connect 8 0 4 0;
#X connect 8 0 3 0;
#X connect 8 0 2 0;
#X connect 8 0 1 0;
#X connect 8 0 9 0;
#X connect 8 0 10 0;
#X connect 9 0 10 0;
#X restore 152 197 draw g go-to-jail;
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
#N canvas 770 19 450 683 out-of-bullets 0;
#X obj 49 40 draw path m 109.196 123.09 c -17.9481 -2.15321 2.34765
-31.7296 6.93307 -11.4557 0.71321 4.65858 -1.03673 11.6092 -6.93307
11.4557 z m 10.56 -9.44 c 2.24679 -19.3448 -29.9247 -10.3518 -20.3118
5.44585 4.09988 11.8775 22.1276 6.26503 20.3118 -5.44585 z;
#X obj 49 119 draw path m 128.299 118.05 c 3.02752 -4.59798 -3.67414
-16.0885 -3.91581 -7.70045 1.42277 7.04461 0.61515 18.002 12.1846 14.2761
10.4645 3.44031 1.61797 -10.1288 4.01485 -15.4959 -3.11392 -4.48814
-9.53065 -0.71972 -3.10937 1.97197 4.54472 7.35364 -6.81458 18.3302
-9.17431 6.9483 z;
#X obj 49 198 draw path m 162.641 108.29 c -8.66895 4.63802 -9.26755
-13.6677 -11.2856 -0.66298 -8.52319 1.5666 5.6526 5.61284 0.11887 12.9023
-0.24293 11.8294 24.6264 -2.03777 8.68 2.68751 -9.48975 -1.46375 -6.08225
-16.4573 3.77057 -12.5723 1.66301 -0.55181 -0.96517 -2.38082 -1.28389
-2.35458 z;
#X obj 49 277 draw path m 215.646 116.25 c -0.23191 -18.935 -32.235
-4.27042 -16.5591 7.67334 6.03888 4.31453 17.1253 0.69362 16.5591 -7.67334
z m -10.2 6.76 c -16.409 -1.07188 2.85868 -24.3778 6.81644 -7.79128
0.64164 3.92838 -2.68126 8.17392 -6.81644 7.79128 z;
#X obj 49 356 draw path m 235.509 122.45 c -9.73627 3.35166 -9.44116
-16.056 0.77087 -12.415 3.26783 -3.69079 -13.9028 -0.93721 -5.10337
-7.23378 10.8756 2.83575 3.96123 -7.53183 -2.44104 -1.73952 -2.67965
6.25351 -10.1558 7.34907 -2.8792 11.2311 4.71407 7.57767 -10.636 14.6441
3.17207 12.9328 1.61149 -0.10871 11.0161 1.22514 6.48067 -2.7756 z
;
#X obj 49 448 draw path m 272.594 110.01 c 3.37513 -5.13406 -4.72888
-16.0475 -3.68824 -6.23485 3.45501 6.96924 -1.92171 18.1113 0.5949
21.6207 6.17902 -3.78274 17.2337 4.76237 18.1183 -7.75182 1.15162 -8.93359
-8.66534 -14.5092 -15.025 -7.63403 z m 6.08 12.52 c -15.8341 -1.61793
4.60504 -22.1746 6.16 -6.24 0.26014 3.34492 -2.78996 6.49482 -6.16
6.24 z;
#X obj 49 540 draw path m 296.736 118.05 c 3.02752 -4.59798 -3.67414
-16.0885 -3.91581 -7.70045 1.42277 7.04461 0.61515 18.002 12.1846 14.2761
10.4645 3.44031 1.61797 -10.1288 4.01485 -15.4959 -3.11392 -4.48814
-9.53065 -0.71972 -3.10937 1.97197 4.27514 7.52213 -6.56556 18.4213
-9.17431 6.9483 z;
#X obj 49 619 draw path m 324.439 102.49 c 0 6.66667 0 13.3333 0 20
-17.3495 0.8016 13.3927 6.87897 8.32111 0 -13.7684 1.77648 3.35815
-26.6467 -11.7406 -22.6192 -4.96278 2.22513 1.78372 3.1073 3.41949
2.61915 z;
#X obj 49 685 draw path m 348.501 102.49 c 0 6.66667 0 13.3333 0 20
-17.3495 0.8016 13.3927 6.87897 8.32111 0 -13.7684 1.77648 3.35815
-26.6467 -11.7406 -22.6192 -4.96278 2.22513 1.78372 3.1073 3.41949
2.61915 z;
#X obj 49 751 draw path m 367.364 114.53 c 1.27853 -12.0642 20.55 2.93152
4.81089 0 -1.60363 0 -3.20726 0 -4.81089 0 z m -0.08 2.56 c 8.15519
2.10446 24.0448 -1.33659 11.1072 -9.46423 -16.5008 -7.21824 -20.1518
22.5358 -2.44647 17.842 6.73812 0.69415 8.49993 -7.3287 0.85141 -2.90734
-3.97515 1.22057 -9.73338 -0.38979 -9.5121 -5.4704 z;
#X obj 49 843 draw path m 403.266 108.29 c -8.66895 4.63802 -9.26755
-13.6677 -11.2856 -0.66298 -8.52317 1.56661 5.65259 5.61285 0.11887
12.9023 -0.24293 11.8294 24.6264 -2.03777 8.68 2.68751 -9.48975 -1.46375
-6.08225 -16.4573 3.77057 -12.5723 1.66301 -0.55181 -0.96517 -2.38082
-1.28389 -2.35458 z;
#X obj 49 922 draw path m 413.449 123.85 c 7.27008 9.33326 26.5023
-8.26532 9.48543 -8.90629 -10.831 1.289 -2.03658 -11.642 2.0937 -2.93623
14.2827 -2.20819 -13.8379 -11.2427 -9.43969 1.45153 1.27651 6.80054
17.3253 3.98891 8.37126 10.3066 -3.72362 0.49919 -12.6223 -10.129 -10.5107
0.0844 z;
#X obj 49 1001 draw path m 442.231 122.05 c 9.67437 14.1904 9.16834
-13.7799 0 0 z m 0 -10.8 c 9.67437 14.1904 9.16833 -13.7799 0 0 z;
#X obj 19 13 inlet;
#X connect 13 0 0 0;
#X connect 13 0 12 0;
#X connect 13 0 11 0;
#X connect 13 0 10 0;
#X connect 13 0 9 0;
#X connect 13 0 8 0;
#X connect 13 0 7 0;
#X connect 13 0 6 0;
#X connect 13 0 5 0;
#X connect 13 0 4 0;
#X connect 13 0 3 0;
#X connect 13 0 2 0;
#X connect 13 0 1 0;
369
370
371
#X restore 152 115 draw g out-of-bullets;
#X connect 0 0 1 0;
#X connect 1 0 6 1;
372
#X connect 2 0 3 0;
373
374
#X connect 3 0 5 1;
#X connect 4 0 6 0;
375
#X connect 4 0 5 0;
376
#X restore 501 214 draw g level-failed;
377
378
#X connect 5 0 21 0;
#X connect 8 0 22 0;
379
#X connect 9 0 24 0;
380
#X connect 10 0 15 0;
381
#X connect 10 0 51 0;
382
383
#X connect 11 0 7 0;
#X connect 12 0 13 0;
384
#X connect 14 0 52 0;
385
386
387
388
#X connect 15 0 16 0;
#X connect 15 1 14 1;
#X connect 16 0 14 0;
#X connect 17 0 18 0;
389
390
391
392
393
#X connect 18 0 53 0;
#X connect 18 0 54 0;
#X connect 19 0 28 0;
#X connect 19 0 34 0;
#X connect 20 0 53 0;
394
395
#X connect 21 0 6 0;
#X connect 22 0 7 0;
396
397
398
399
#X connect 23 0 43 0;
#X connect 24 0 10 0;
#X connect 25 0 54 1;
#X connect 26 0 27 0;
400
#X connect 28 0 29 0;
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
#X connect 29 0 20 0;
#X connect 29 0 26 0;
#X connect 29 0 42 0;
#X connect 31 0 53 0;
#X connect 32 0 38 0;
#X connect 33 0 54 0;
#X connect 34 0 38 0;
#X connect 37 0 54 0;
#X connect 38 0 33 0;
#X connect 38 0 39 0;
#X connect 38 0 41 0;
#X connect 39 0 40 0;
#X connect 41 0 35 0;
#X connect 41 0 36 0;
#X connect 41 0 37 0;
#X connect 42 0 30 0;
#X connect 42 0 31 0;
#X connect 43 0 7 0;
#X connect 44 0 48 0;
#X connect 45 0 49 0;
#X connect 46 0 25 0;
#X connect 47 0 16 0;
#X connect 48 0 13 0;
#X connect 49 0 53 1;
#X connect 50 0 10 0;
#X connect 51 0 11 0;
#X connect 52 0 12 0;
#X restore 734 138 draw g;
#X obj 731 39 pddplink http://remusprites.carbonmade.com/ -text Sprite
by Bleed;
431
#N canvas 333 68 1002 543 guts 0;
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
#X obj 155 292 * 6;
#X obj 181 254 + 1;
#X obj 155 342 pack;
#X obj 181 291 t b a;
#X msg 155 367 transform translate \$1 \$2;
#X obj 36 415 +;
#X obj 36 254 + 1;
#X obj 36 320 mod 15;
#X msg 96 172 1;
#X msg 126 172 -1;
#X msg 242 172 -1;
#X msg 272 172 1;
#X obj 181 172 bang;
#X obj 36 172 bang;
#X obj 36 438 abs;
#X obj 208 312 * 4;
#X obj 471 51 key;
#X obj 508 133 s \$0-flashlight;
#X obj 109 342 v \$0-x;
#X obj 208 342 v \$0-y;
#X obj 675 135 r \$0-direction;
#X msg 471 156 bang;
#N canvas 433 184 450 300 e 0;
#X obj 198 135 line;
#X msg 149 91 60;
#X obj 149 20 inlet;
#X obj 149 41 bang;
#X obj 149 172 outlet;
#X obj 198 90 del 300;
#X msg 198 112 76 \, 79 350;
#X connect 0 0 4 0;
#X connect 1 0 4 0;
#X connect 2 0 3 0;
#X connect 3 0 1 0;
#X connect 3 0 5 0;
#X connect 5 0 6 0;
#X connect 6 0 0 0;
#X restore 509 348 pd e;
#N canvas 433 184 450 300 n 0;
#X obj 198 135 line;
#X obj 149 20 inlet;
#X obj 149 41 bang;
#X obj 149 172 outlet;
#X floatatom 97 133 5 0 0 0 - - -, f 5;
#X msg 149 91 80;
#X obj 198 88 del 300;
#X msg 198 113 80 \, 83 350;
#X connect 0 0 3 0;
#X connect 1 0 2 0;
#X connect 2 0 5 0;
#X connect 2 0 6 0;
#X connect 4 0 3 0;
#X connect 5 0 3 0;
#X connect 6 0 7 0;
#X connect 7 0 0 0;
#X restore 471 348 pd n;
#N canvas 433 184 450 300 w 0;
#X obj 198 135 line;
#X obj 149 20 inlet;
#X obj 149 41 bang;
#X obj 149 172 outlet;
#X floatatom 54 111 5 0 0 0 - - -, f 5;
#X msg 149 91 68;
#X obj 77 32 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 198 90 del 300;
#X msg 198 113 84 \, 87 350;
#X connect 0 0 3 0;
#X connect 1 0 2 0;
#X connect 2 0 5 0;
#X connect 2 0 7 0;
#X connect 4 0 3 0;
#X connect 5 0 3 0;
#X connect 6 0 2 0;
#X connect 7 0 8 0;
#X connect 8 0 0 0;
#X restore 589 349 pd w;
#X obj 471 112 select 98 102;
#N canvas 433 184 450 300 s 0;
#X obj 198 135 line;
#X obj 149 20 inlet;
#X obj 149 41 bang;
#X obj 149 172 outlet;
#X floatatom 87 124 5 0 0 0 - - -, f 5;
#X msg 149 91 72;
#X obj 198 90 del 300;
#X msg 198 113 88 \, 91 350;
#X connect 0 0 3 0;
#X connect 1 0 2 0;
#X connect 2 0 5 0;
#X connect 2 0 6 0;
#X connect 4 0 3 0;
#X connect 5 0 3 0;
#X connect 6 0 7 0;
#X connect 7 0 0 0;
#X restore 549 348 pd s;
528
529
530
531
#X msg 641 356 forwardmess \$1 bang;
#X obj 641 377 t a b;
#X msg 668 402 name;
#X obj 641 456 s;
532
533
#X obj 35 481 outlet;
#X obj 155 391 outlet;
534
#X obj 668 423 canvasinfo 1;
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
#X obj 472 398 t a;
#X obj 480 207 s \$0-flashlight;
#X msg 480 185 0;
#X floatatom 320 304 5 0 0 0 Bullets: - -, f 5;
#X text 563 110 <- 'b' and 'f';
#N canvas 822 126 450 300 set-direction 0;
#X obj 206 27 inlet;
#X obj 206 74 route Right Left Up Down;
#X obj 86 75 loadbang;
#X msg 276 99 n;
#X msg 206 99 e;
#X msg 311 99 s;
#X msg 241 99 w;
#X obj 206 147 symbol;
#X obj 206 228 outlet;
#X obj 206 48 list trim;
#X connect 0 0 9 0;
#X connect 1 0 4 0;
#X connect 1 1 6 0;
#X connect 1 2 3 0;
#X connect 1 3 5 0;
#X connect 2 0 4 0;
#X connect 3 0 7 0;
#X connect 4 0 7 0;
#X connect 5 0 7 0;
#X connect 6 0 7 0;
#X connect 7 0 8 0;
#X connect 9 0 1 0;
#X restore 36 62 pd set-direction;
#X obj 43 197 loadbang;
#X obj 188 197 loadbang;
#X obj 181 223 float 40;
#X obj 36 223 float 47;
#X obj 797 75 loadbang;
569
#N canvas 82 159 756 500 game-engine 0;
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
#X obj 37 14 inlet;
#X obj 37 65 f;
#X obj 67 65 + 1;
#N canvas 345 330 596 300 clear 0;
#X obj 100 21 inlet;
#X obj 226 23 iemguts/canvasdelete;
#X msg 104 89 500;
#X obj 104 110 until;
#X msg 104 131 delete 4;
#X obj 100 42 t b b b;
#X text 243 130 have to toggle vis because iemguts' canvas delete method
doesn't erase the lines;
#X obj 104 152 s pd-game.pd;
#X msg 242 99 vis 0 \; pd dsp 0;
#X msg 15 101 vis 1 \; pd dsp 1;
#X connect 0 0 5 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 4 0 7 0;
#X connect 5 0 9 0;
#X connect 5 1 2 0;
#X connect 5 2 8 0;
#X connect 8 0 7 0;
#X connect 9 0 7 0;
#X restore 137 116 pd clear;
#X obj 37 86 t b a b;
#X msg 48 146 1;
#X obj 48 167 s \$0-lock;
#N canvas 677 249 502 358 random 0;
#X obj 134 25 inlet;
#X obj 254 58 b;
#X obj 134 336 send game-canvas;
#X obj 254 100 send bullets;
#X msg 134 132 obj 351 199 bng 50 250 50 0 empty empty empty 17 7 0
10 -262144 -1 -1 \, obj 331 446 bng 15 250 50 0 empty empty empty 17
7 0 10 -262144 -1 -1 \, obj 374 446 bng 15 250 50 0 empty empty empty
17 7 0 10 -262144 -1 -1 \, obj 397 446 bng 15 250 50 0 empty empty
empty 17 7 0 10 -262144 -1 -1 \, obj 351 473 float 42 \, obj 351 494
select 42 \, obj 351 515 send the_answer \, obj 351 324 random 3 \,
obj 351 415 select 0 1 2 \, text 416 324 <- This will output a random
number: a '0' '1' or a '2'. If you don't get the one you want then
try again. \, text 200 20 Level 3: A Game of Increasingly Predictable
Chance \, connect 4 0 11 0 \, connect 8 0 9 0 \, connect 9 0 10 0 \,
connect 11 0 12 0 \, connect 12 0 5 0 \, connect 12 0 8 0 \, connect
12 1 6 0 \, connect 12 2 7 0 \, text 200 20 __________________________________________________
;
#X obj 254 79 f 14;
#X obj 344 58 b;
#X obj 344 100 send music;
#X obj 344 78 list append verse siren-fade-long simple-snare;
#X connect 0 0 4 0;
#X connect 0 0 1 0;
#X connect 0 0 6 0;
#X connect 1 0 5 0;
#X connect 4 0 2 0;
#X connect 5 0 3 0;
#X connect 6 0 8 0;
#X connect 8 0 7 0;
#X restore 165 312 pd random;
#N canvas 794 80 551 402 float 0;
#X obj 51 31 inlet;
#X obj 171 64 b;
#X obj 51 262 send game-canvas;
#X obj 171 106 send bullets;
#X msg 51 138 obj 450 200 bng 61 250 50 0 empty empty empty 17 7 0
10 -262144 -1 -1 \, obj 450 370 float 42 \, obj 450 390 send the_answer
\, connect 4 0 5 0 \, connect 5 0 6 0 \, text 200 50 Use the arrow
keys to move \, text 200 80 Click 'f' to turn on the flashlight. When
you hit an object that you can shoot you'll see an exclamation mark.
\, text 200 120 Click 'b' to shoot! \, text 200 20 Level 1: Send the
Answer \, text 200 20 ________________________;
#X obj 171 85 f 21;
#X obj 281 64 b;
#X obj 281 106 send music;
#X obj 281 85 list append verse siren;
#X connect 0 0 4 0;
#X connect 0 0 1 0;
#X connect 0 0 6 0;
#X connect 1 0 5 0;
#X connect 4 0 2 0;
#X connect 5 0 3 0;
#X connect 6 0 8 0;
#X connect 8 0 7 0;
#X restore 132 362 pd float;
#N canvas 763 160 521 322 + 0;
#X obj 94 25 inlet;
#X obj 214 58 b;
#X obj 94 366 send game-canvas;
#X obj 214 100 send bullets;
#X obj 214 79 f 3;
#X msg 94 132 obj 91 157 bng 61 250 50 0 empty empty empty 17 7 0 10
-262144 -1 -1 \, obj 91 307 float 21 \, obj 91 407 + \, obj 188 236
bng 61 350 50 0 empty empty empty 17 7 0 10 -262144 -1 -1 \, obj 91
547 send the_answer \, obj 188 306 float 21 \, obj 91 507 select 42
\, floatatom 188 337 5 0 0 0 - - - \, f 5 \, floatatom 104 474 5 0
0 0 - - - \, f 5 \, text 142 406 <- This object adds two numbers. Like
most objects in Pd the right inlet just stores the data. The object
only outputs the sum when you send a number to the left or "hot" inlet.
\, text 229 26 Level 2: Add It Up \, text 229 26 __________________
\, text 229 86 Click 'f' to turn on the flashlight. When you hit an
object that you can shoot you'll see an exclamation mark. \, text 229
126 Click 'b' to shoot! \, text 229 56 Use the arrow keys to move \,
connect 4 0 5 0 \, connect 5 0 6 0 \, connect 6 0 10 0 \, connect 6
0 12 0 \, connect 7 0 9 0 \, connect 9 0 6 1 \, connect 9 0 11 0 \,
connect 10 0 8 0 \,;
#X obj 337 55 b;
#X obj 337 97 send music;
#X obj 395 45 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 336 76 list append verse siren-fade;
#X connect 0 0 5 0;
#X connect 0 0 1 0;
#X connect 0 0 6 0;
#X connect 1 0 4 0;
#X connect 4 0 3 0;
#X connect 5 0 2 0;
#X connect 6 0 9 0;
#X connect 8 0 9 0;
#X connect 9 0 7 0;
#X restore 148 337 pd +;
#N canvas 677 249 545 300 random2 0;
#X obj 134 25 inlet;
#X obj 254 58 b;
#X obj 134 296 send game-canvas;
#X obj 254 100 send bullets;
#X obj 254 79 f 14;
#X msg 134 132 obj 92 126 bng 62 250 50 0 empty empty empty 17 7 0
10 -262144 -1 -1 \, obj 342 141 bng 47 250 50 0 empty empty empty 17
7 0 10 -262144 -1 -1 \, obj 92 193 float 39 \, obj 342 193 random 4
\, obj 92 314 + \, obj 92 345 nbx 3 31 -1e+37 1e+37 0 0 empty empty
empty 0 -8 0 24 -262144 -1 -1 0 256 0 \, obj 92 381 select 42 \, obj
92 402 send the_answer \, floatatom 342 224 5 0 0 0 - - - \, f 5 \,
text 407 193 <- This will output a number between '0' and '3'. \, text
186 22 Level 4: More Random \, text 186 22 ____________________ \,
connect 4 0 6 0 \, connect 5 0 7 0 \, connect 6 0 8 0 \, connect 7
0 12 0 \, connect 7 0 8 1 \, connect 8 0 9 0 \, connect 9 0 10 0 \,
connect 10 0 11 0 \,;
#X obj 351 56 b;
#X obj 351 98 send music;
#X obj 351 74 list append verse siren-fade-long pluck-fade-long simple-snare-synco
;
#X connect 0 0 5 0;
#X connect 0 0 1 0;
#X connect 0 0 6 0;
#X connect 1 0 4 0;
#X connect 4 0 3 0;
#X connect 5 0 2 0;
#X connect 6 0 8 0;
#X connect 8 0 7 0;
#X restore 182 287 pd random2;
#N canvas 677 249 590 326 accumulate 0;
#X obj 134 25 inlet;
#X obj 254 58 b;
#X obj 134 296 send game-canvas;
#X obj 254 100 send bullets;
#X obj 254 79 f 14;
726
727
728
729
730
#X obj 347 58 b;
#X obj 347 100 send music;
#X obj 318 19 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 347 80 list append verse synthbass pluck1 simple-snare;
731
732
733
734
735
736
737
738
739
740
741
#X msg 134 132 obj 190 239 float 0 \, obj 190 319 + 1 \, obj 190 149
bng 50 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1 \, text 235
319 <- This will add '1' to the incoming value and also store that
sum back in the box above. That means it will count up from one each
time you fire a 'bang' above. \, obj 190 392 * 7 \, floatatom 223 369
5 0 0 0 - - - \, f 5 \, floatatom 223 428 5 0 0 0 - - - \, f 5 \, obj
190 454 select 42 \, obj 190 485 send the_answer \, connect 4 0 5 0
\, connect 5 0 4 1 \, connect 5 0 9 0 \, connect 5 0 8 0 \, connect
6 0 4 0 \, connect 8 0 10 0 \, connect 8 0 11 0 \, connect 11 0 12
0 \, text 200 20 Level 7: My End is My Next Bang'd Beginning \, text
200 20 ___________________________________________;
742
#X connect 0 0 9 0;
743
#X connect 0 0 1 0;
744
#X connect 0 0 5 0;
745
746
#X connect 1 0 4 0;
#X connect 4 0 3 0;
747
748
#X connect 5 0 8 0;
#X connect 7 0 5 0;
749
#X connect 8 0 6 0;
750
#X connect 9 0 2 0;
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
#X restore 232 198 pd accumulate;
#X obj 132 146 select 0 1 2 3 4 5 6;
#N canvas 677 249 537 300 dynamic 0;
#X obj 134 25 inlet;
#X obj 254 58 b;
#X obj 134 226 send game-canvas;
#X obj 254 100 send bullets;
#X obj 254 79 f 2;
#X msg 134 132 obj 396 257 float 42 \, obj 396 187 bng 49 250 50 0
empty empty empty 17 7 0 10 -262144 -1 -1 \, obj 396 328 send the_answer
\, msg 43 447 connect 4 0 6 0 \, obj 43 548 sendtocanvas \, text 200
20 Level 18: You Can't Get There from Here \, connect 5 0 4 0 \, connect
7 0 8 0 \, text 200 20 _______________________________________;
#X obj 338 42 b;
#X obj 338 100 s music;
#X obj 338 66 list append chorus stepwise-bass pluck1;
#X connect 0 0 5 0;
#X connect 0 0 1 0;
#X connect 0 0 6 0;
#X connect 1 0 4 0;
#X connect 4 0 3 0;
#X connect 5 0 2 0;
#X connect 6 0 8 0;
#X connect 8 0 7 0;
#X restore 614 307 pd dynamic;
#N canvas 677 249 655 300 metro-and-spigots 0;
#X obj 134 25 inlet;
#X obj 254 58 b;
#X obj 134 436 send game-canvas;
#X obj 254 100 send bullets;
#X obj 254 79 f 21;
782
783
784
785
#X obj 353 45 b;
#X obj 353 107 send music;
#X obj 353 69 list append verse simple-bass simple-snare guitar-arpeggios
;
786
787
788
789
790
791
792
#X msg 134 132 obj 259 125 bng 48 250 50 0 empty empty empty 17 7 0
10 -262144 -1 -1 \, obj 259 199 metro 1000 \, obj 259 230 float 0 \,
obj 259 268 == 0 \, obj 174 309 tgl 15 0 empty empty empty 17 7 0 10
-262144 -1 -1 0 1 \, obj 244 309 tgl 15 0 empty empty empty 17 7 0
10 -262144 -1 -1 0 1 \, obj 227 392 spigot 0 \, obj 157 391 spigot
0 \, obj 227 329 bng 32 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1 \, obj 157 329 bng 32 250 50 0 empty empty empty 17 7 0 10 -262144
793
794
795
796
797
798
799
800
801
802
803
-1 -1 \, obj 157 452 + \, text 200 20 Level 11: You and Me and a Metronome
Makes Three \, obj 227 367 f 21 \, obj 157 367 f 21 \, obj 157 473
select 42 \, obj 157 494 send the_answer \, floatatom 237 413 5 0 0
0 - - - \, f 5 \, floatatom 167 412 5 0 0 0 - - - \, f 5 \, text 332
199 <- after you send a bang it will send out one bang every second.
\, connect 4 0 5 0 \, connect 5 0 6 0 \, connect 6 0 7 0 \, connect
6 0 8 0 \, connect 6 0 11 1 \, connect 7 0 6 1 \, connect 7 0 9 0 \,
connect 7 0 10 1 \, connect 10 0 14 1 \, connect 10 0 20 0 \, connect
11 0 14 0 \, connect 11 0 21 0 \, connect 12 0 16 0 \, connect 13 0
17 0 \, connect 14 0 18 0 \, connect 16 0 10 0 \, connect 17 0 11 0
\, connect 18 0 19 0 \, text 200 20 ________________________________________________
804
;
805
#X connect 0 0 8 0;
806
#X connect 0 0 1 0;
807
#X connect 0 0 5 0;
808
809
#X connect 1 0 4 0;
#X connect 4 0 3 0;
810
811
812
#X connect 5 0 7 0;
#X connect 7 0 6 0;
#X connect 8 0 2 0;
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
#X restore 394 322 pd metro-and-spigots;
#N canvas 677 249 618 300 delay 0;
#X obj 134 25 inlet;
#X obj 254 58 b;
#X obj 134 296 send game-canvas;
#X obj 254 100 send bullets;
#X obj 254 79 f 21;
#X msg 134 132 obj 564 199 bng 41 250 50 0 empty empty empty 17 7 0
10 -262144 -1 -1 \, obj 564 318 float 0 \, floatatom 574 366 5 0 0
0 - - - \, f 5 \, obj 637 297 float 1 \, obj 519 485 spigot 0 \, obj
489 451 float 42 \, obj 359 199 bng 21 250 50 0 empty empty empty 17
7 0 10 -262144 -1 -1 \, obj 564 297 delay 3000 \, text 424 297 waits
three seconds -> \, obj 519 506 select 42 \, obj 519 527 send the_answer
\, text 200 20 Level 12: A Slight Delay \, text 200 20 ________________________
\, connect 4 0 7 0 \, connect 4 0 11 0 \, connect 5 0 6 0 \, connect
5 0 8 1 \, connect 7 0 6 0 \, connect 7 0 8 1 \, connect 8 0 13 0 \,
connect 9 0 8 0 \, connect 10 0 9 0 \, connect 11 0 5 0 \, connect
13 0 14 0 \,;
#X obj 352 43 b;
#X obj 352 105 send music;
#X obj 352 67 list append chorus simple-bass simple-snare guitar-arpeggios
;
#X connect 0 0 5 0;
#X connect 0 0 1 0;
#X connect 0 0 6 0;
#X connect 1 0 4 0;
#X connect 4 0 3 0;
#X connect 5 0 2 0;
#X connect 6 0 8 0;
#X connect 8 0 7 0;
#X restore 414 287 pd delay;
#N canvas 747 88 569 599 bitmath 0;
#X obj 134 25 inlet;
#X obj 254 58 b;
#X obj 134 596 send game-canvas;
#X obj 254 100 send bullets;
#X obj 254 79 f 42;
#X msg 134 132 obj 574 262 tgl 40 0 empty empty empty 17 7 0 10 -262144
-1 -1 0 1 \, obj 574 307 * 1 \, obj 514 262 tgl 40 0 empty empty empty
17 7 0 10 -262144 -1 -1 0 1 \, obj 454 262 tgl 40 0 empty empty empty
17 7 0 10 -262144 -1 -1 1 1 \, obj 394 262 tgl 40 0 empty empty empty
17 7 0 10 -262144 -1 -1 1 1 \, obj 334 262 tgl 40 0 empty empty empty
17 7 0 10 -262144 -1 -1 1 1 \, obj 274 262 tgl 40 0 empty empty empty
17 7 0 10 -262144 -1 -1 1 1 \, obj 214 262 tgl 40 0 empty empty empty
17 7 0 10 -262144 -1 -1 0 1 \, obj 154 262 tgl 40 0 empty empty empty
17 7 0 10 -262144 -1 -1 0 1 \, obj 514 307 * 2 \, obj 454 307 * 4 \,
obj 394 307 * 8 \, obj 334 307 * 16 \, obj 274 307 * 32 \, obj 214
307 * 64 \, obj 154 307 * 128 \, obj 587 551 select 42 \, obj 587 572
send the_answer \, obj 214 375 + \, obj 286 400 + \, obj 346 425 +
\, obj 406 450 + \, obj 466 475 + \, obj 526 500 + \, obj 514 333 t
b a \, obj 454 333 t b a \, obj 394 333 t b a \, obj 334 333 t b a
\, obj 274 333 t b a \, obj 214 333 t b a \, obj 587 525 + \, floatatom
547 551 5 0 0 0 - - - \, f 5 \, obj 241 354 f \, obj 574 333 t b a
\, obj 541 479 f \, obj 481 454 f \, obj 421 429 f \, obj 361 404 f
\, obj 301 379 f \, text 200 20 Level 19: A Bitwise Cascade \, connect
4 0 5 0 \, connect 5 0 37 0 \, connect 6 0 13 0 \, connect 7 0 14 0
\, connect 8 0 15 0 \, connect 9 0 16 0 \, connect 10 0 17 0 \, connect
11 0 18 0 \, connect 12 0 19 0 \, connect 13 0 28 0 \, connect 14 0
29 0 \, connect 15 0 30 0 \, connect 16 0 31 0 \, connect 17 0 32 0
\, connect 18 0 33 0 \, connect 19 0 22 0 \, connect 20 0 21 0 \, connect
22 0 23 0 \, connect 23 0 24 0 \, connect 24 0 25 0 \, connect 25 0
26 0 \, connect 26 0 27 0 \, connect 27 0 34 0 \, connect 28 0 29 0
\, connect 28 1 38 0 \, connect 29 0 30 0 \, connect 29 1 39 0 \, connect
30 0 31 0 \, connect 30 1 40 0 \, connect 31 0 32 0 \, connect 31 1
41 0 \, connect 32 0 33 0 \, connect 32 1 42 0 \, connect 33 0 22 0
\, connect 33 1 36 0 \, connect 34 0 35 0 \, connect 34 0 20 0 \, connect
36 0 22 1 \, connect 37 0 28 0 \, connect 37 1 34 1 \, connect 38 0
27 1 \, connect 39 0 26 1 \, connect 40 0 25 1 \, connect 41 0 24 1
\, connect 42 0 23 1 \, text 200 20 ___________________________;
#X obj 351 43 b;
#X obj 351 101 s music;
#X obj 351 67 list append verse stepwise-osc simple-snare;
#X connect 0 0 5 0;
#X connect 0 0 1 0;
#X connect 0 0 6 0;
#X connect 1 0 4 0;
#X connect 4 0 3 0;
#X connect 5 0 2 0;
#X connect 6 0 8 0;
#X connect 8 0 7 0;
#X restore 636 287 pd bitmath;
#N canvas 394 190 699 347 random-metro 0;
#X obj 134 25 inlet;
#X obj 254 58 b;
#X obj 134 506 send game-canvas;
#X obj 254 100 send bullets;
#X obj 254 79 f 42;
#X msg 134 132 obj 298 179 f \, obj 418 179 + 1 \, obj 298 347 tgl
15 0 stgl empty empty 17 7 0 10 -262144 -1 -1 0 1 \, obj 298 200 mod
3 \, obj 298 231 select 0 1 2 \, obj 298 277 random 2 \, obj 398 277
random 2 \, obj 508 277 random 2 \, obj 298 148 metro 1000 \, obj 231
376 spigot \, obj 231 314 bng 28 250 50 0 empty empty empty 17 7 0
10 -262144 -1 -1 \, obj 231 347 float 14 \, obj 398 347 tgl 15 0 stgl
empty empty 17 7 0 10 -262144 -1 -1 0 1 \, obj 331 376 spigot \, obj
331 314 bng 28 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1 \,
obj 331 347 float 14 \, obj 508 347 tgl 15 0 stgl empty empty 17 7
0 10 -262144 -1 -1 0 1 \, obj 441 376 spigot \, obj 441 314 bng 28
250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1 \, obj 441 347 float
14 \, obj 331 407 + \, obj 231 441 + \, obj 231 462 select 42 \, obj
231 483 send the_answer \, obj 298 105 bng 34 250 50 0 empty empty
empty 17 7 0 10 -262144 -1 -1 \, obj 298 81 spigot 1 \, obj 401 81
float 0 \, text 177 20 Level 15: Only the Randomly Selected Shall Pass
\, obj 298 53 receive stgl \, connect 4 0 7 0 \, connect 5 0 4 1 \,
connect 6 0 13 1 \, connect 7 0 5 0 \, connect 7 0 8 0 \, connect 8
0 9 0 \, connect 8 1 10 0 \, connect 8 2 11 0 \, connect 9 0 6 0 \,
connect 10 0 16 0 \, connect 11 0 20 0 \, connect 12 0 4 0 \, connect
13 0 25 0 \, connect 14 0 15 0 \, connect 15 0 13 0 \, connect 16 0
17 1 \, connect 17 0 24 0 \, connect 18 0 19 0 \, connect 19 0 17 0
\, connect 20 0 21 1 \, connect 21 0 24 1 \, connect 22 0 23 0 \, connect
23 0 21 0 \, connect 24 0 25 1 \, connect 25 0 26 0 \, connect 26 0
27 0 \, connect 28 0 12 0 \, connect 29 0 30 0 \, connect 29 0 28 0
\, connect 30 0 29 1 \, connect 32 0 29 0 \, text 177 20 _______________________________________________
;
#X obj 350 42 b;
#X obj 350 104 send music;
#X obj 350 64 list append chorus synthbass simple-snare guitar-arpeggios
pluck1 pluck2;
#X connect 0 0 5 0;
#X connect 0 0 1 0;
#X connect 0 0 6 0;
#X connect 1 0 4 0;
#X connect 4 0 3 0;
#X connect 5 0 2 0;
#X connect 6 0 8 0;
#X connect 8 0 7 0;
#X restore 547 384 pd random-metro;
#X obj 96 14 r \$0-reset;
#X obj 48 410 receive game-canvas;
#X obj 38 436 s pd-game.pd;
#N canvas 677 249 572 352 relational_ops 0;
#X obj 134 25 inlet;
#X obj 254 58 b;
#X obj 134 336 send game-canvas;
#X obj 254 100 send bullets;
#X obj 254 79 f 14;
#X msg 134 152 obj 215 514 send the_answer \, obj 215 380 && 0 \, text
306 381 <- this sends '1' if BOTH inlets have received any value other
than '0'. Otherwise it will send a '0'. (And remember the right inlet
only stores a value-- it doesn't trigger output.) \, obj 215 270 tgl
47 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1 \, text 360 277
<- Remember: change it to 'X' for '1'... \, text 211 21 Level 8: The
Whole Truth \, text 211 21 ________________________ \, obj 215 431
select 1 \, floatatom 229 406 5 0 0 0 - - - \, f 5 \, obj 215 472 float
42 \, obj 215 493 select 42 \, obj 305 270 tgl 47 0 empty empty empty
17 7 0 10 -262144 -1 -1 0 1 \, connect 5 0 11 0 \, connect 5 0 12 0
\, connect 7 0 5 0 \, connect 11 0 13 0 \, connect 13 0 14 0 \, connect
14 0 4 0 \, connect 15 0 5 1 \,;
#X obj 347 58 b;
#X obj 347 120 send music;
#X obj 347 83 list append verse synthbass level8-bass pluck1 pluck2
simple-snare;
#X connect 0 0 5 0;
#X connect 0 0 1 0;
#X connect 0 0 6 0;
#X connect 1 0 4 0;
#X connect 4 0 3 0;
#X connect 5 0 2 0;
#X connect 6 0 8 0;
#X connect 8 0 7 0;
#X restore 334 411 pd relational_ops;
#X obj 334 184 select 7 8 9 10 11 12 13;
#N canvas 60 324 566 352 relational_op_gate 0;
#X obj 134 25 inlet;
#X obj 254 58 b;
#X obj 134 346 send game-canvas;
#X obj 254 100 send bullets;
#X obj 254 79 f 14;
#X msg 134 132 obj 155 264 float 42 \, floatatom 244 415 5 0 0 0 -
- - \, f 5 \, obj 155 448 select 42 \, obj 155 469 send the_answer
\, obj 155 150 bng 34 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1 \, obj 244 379 && 0 \, obj 155 427 spigot 0 \, text 285 380 <-
this sends '1' if BOTH inlets have received any value other than '0'.
Otherwise it will send a '0'. (And remember the right inlet only stores
a value-- it doesn't trigger output.) \, obj 244 209 tgl 32 0 empty
empty empty 17 7 0 10 -262144 -1 -1 0 1 \, obj 304 209 tgl 32 0 empty
empty empty 17 7 0 10 -262144 -1 -1 0 1 \, text 359 216 <- Remember:
change it to 'X' for '1'... \, connect 4 0 10 0 \, connect 6 0 7 0
\, connect 8 0 4 0 \, connect 9 0 5 0 \, connect 9 0 10 1 \, connect
10 0 6 0 \, connect 12 0 9 0 \, connect 13 0 9 1 \, text 200 20 Level
9: Truth Shall Set You Free \, text 200 20 _________________________________
;
#X obj 341 51 b;
#X obj 341 100 send music;
#X obj 341 75 list append chorus synthbass shuffle pluck1 pluck2;
#X connect 0 0 5 0;
#X connect 0 0 1 0;
#X connect 0 0 6 0;
#X connect 1 0 4 0;
For faster browsing, not all history is shown. View entire blame