bitsy-parser 0.710.1

A parser and utilities for working with Bitsy game data
Documentation
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

i was trying to make a game, but my dog was sitting on my lap

# BITSY VERSION 4.6

! ROOM_FORMAT 1

PAL 0
247,165,180
51,51,51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d,0,0,d,0,0,f
k,g,g,g,g,g,g,g,g,g,g,g,g,g,g,l
NAME row end
ITM 0 3,14
ITM 0 5,14
ITM 0 7,14
ITM 0 9,14
ITM 0 11,14
ITM 1 14,14
END 0 14,14
PAL 0

TIL b
11101110
01010101
10100010
01110111
10101010
01000100
11101110
01010101
WAL true

TIL c
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
WAL true

TIL d
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000

TIL e
00111010
00010101
00101010
01110111
00101010
01010100
11101110
01010100
NAME left
WAL true

TIL f
10111000
01010100
00100010
01110111
00101010
01010100
11101110
01010100
NAME right
WAL true

TIL g
10111011
01010101
10101010
01110111
10101010
01010101
11101110
01000100
NAME bottom
WAL true

TIL h
00000000
00000000
00100010
01110111
10101010
01010101
11101110
01000100
NAME top
WAL true

TIL i
00000000
00000000
00000010
00010111
00111010
01010101
11101110
01010100
NAME corner1
WAL true

TIL j
00000000
00000000
00100000
01110000
10101000
01010100
11101110
01010100
NAME corner2
WAL true

TIL k
00111011
00010101
00101010
01110111
00101010
00010101
00001110
00000100
NAME corner3
WAL true

TIL l
10111000
00010100
10101110
01110100
10101000
01011100
11101000
01000000
NAME corner4
WAL true

SPR A
00000000
00110000
00111100
00010100
00011100
00001000
00011100
00011100
>
00110000
00111100
00010100
00011100
00001000
00011100
00011100
00011100
POS 0 1,1

SPR a
00000000
00000000
01010000
01110001
11110010
11111100
00011100
00100100
>
00000000
00000000
01010000
01110010
11110010
11111100
00011100
00100100
DLG SPR_0
POS 0 14,14

SPR b
00000000
00000000
00000000
00000000
00000000
00010000
00000000
00000000

ITM 0
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
NAME tea
DLG ITM_0

ITM 1
00000000
00000000
01010000
01110001
11110010
11111100
00011100
00100100
>
00000000
00000000
01010000
01110010
11110010
11111100
00011100
00100100

DLG SPR_0
I'm a cat

DLG ITM_0
"""
{sequence
  - my dog is not very {clr1}b{clr1}ig, but she's just big enough to get in the way
  - sometim{clr1}e{clr1}s she gets cranky, and decides she needs to sit in my lap while i'm working
  - but she doesn't kno{clr1}w{clr1} how to lie down like most lap dogs do
  - she sits up straight, and wobbles around, so that i have to {clr1}h{clr1}old her in place
  - it blocks my view, and i have to type with just one hand, and i can't move my arm very far
  - that makes it hard t{clr1}o{clr1} make a game
  - but wh{clr1}y{clr1} should it be that i require a full view, or two hands, to make a game?
  - why sh{clr1}o{clr1}uld i need my full range of motion just to make art?
  - why sho{clr1}u{clr1}ld i need intense training, or knowledge, or resources and advanced tools just to express myself?
  - this isn't like the older d{clr1}a{clr1}ys, where access to these things is hard to come by
  - but there a{clr1}r{clr1}e still those for whom access is very limited
  - or whose bodies don't allow them to work in th{clr1}e{clr1} same way that other people do
  - is it fair that they shouldn't be included in this process?
  - because of money?
  - because of access?
  - because of their hands or eyes?
  - games are art, art with which you can interact, and art is for everyone
  - i always see people asking, how do i get started making games? and the answer is usually simple: just make a game
  - there are so many paths and ways to do it now
  - but even so, it can still be hard
  - and even when it gets finished, it can be hard to get that piece of art seen
  - the way for us all to advance games is to find ways to help each other make them
  - help the people who are new, or have different education, or access, or abilities
  - support each others' works, don't criticize when it isn't
w{clr1}a{clr1}nted
  - promote the people making art you like, promote them
{clr1}r{clr1}elentlessly, even when you don't know them
  - the more an ar{clr1}t{clr1}ist's work is seen, the more their confidence grows
  - and people making games, whether they consider {clr1}i{clr1}t or not, no matter what role they play in the production, are all artists
  - everyone who expre{clr1}s{clr1}ses themself creatively in any way, even a child making a macaroni necklace, is an artist
  - don't denigrate someone for making things that aren't immediate{clr1}l{clr1}y "impressive"
  - to make anything at all and share it w{clr1}i{clr1}th the world requires immense concentration and courage
  - to share that piece of yoursel{clr1}f{clr1} with the world, even if it was done on a whim
  - w{clr1}e{clr1} are all artists
  - and we can all make art
}
"""

END 0
love one another, and make it easier for that art to thrive

VAR a
42