/ld26

To get this branch, use:
bzr branch /bzr/ld26
13 by Josh C
pull data from svg to place objects into the world
1
-- autogenerated by svg_levels.py
2
3
svg_objects = {
4
village = {
18 by Josh C
village, lake
5
6
Displacer:new{
7
  x = 11.560431, y = 275.256960,
8
  width = 773.497990, height = 31.528450
9
},
10
11
12
Transition:new{
13
  x = 780.854610, y = 202.741530,
14
  width = 18.917070, height = 398.309420,
15
  target = 'forest1'
16
},
17
18
19
Transition:new{
20
  x = -6.305690, y = 198.537730,
21
  width = 17.866121, height = 402.513210,
22
  target = 'lake'
23
},
24
13 by Josh C
pull data from svg to place objects into the world
25
},
33 by Josh C
cave
26
cave = {
27
28
Transition:new{
29
  x = 74.344025, y = 435.568510,
30
  width = 9.620992, height = 43.731777,
34 by Josh C
GET FISH
31
  target='sheep',
32
targetX=253,
33
targetY=325
33 by Josh C
cave
34
},
35
36 by Josh C
flag
36
37
Flag:new{
38
  x = 272.011660, y = 446.064150,
39
  width = 18.367348, height = 29.737610,
40
},
41
33 by Josh C
cave
42
},
22 by Josh C
foresthut
43
bridge = {
23 by Josh C
bridge
44
45
Displacer:new{
32 by Josh C
sheep!
46
  x = 280.943910, y = 284.050320,
47
  width = 143.613510, height = 90.656021
23 by Josh C
bridge
48
},
49
50
51
Displacer:new{
52
  x = 410.196040, y = 273.279300,
53
  width = 387.756440, height = 71.806747
54
},
55
56
57
Displacer:new{
32 by Josh C
sheep!
58
  x = 55.650227, y = 481.518860,
59
  width = 55.650227, height = 22.439608
60
},
61
62
63
Displacer:new{
64
  x = 283.636660, y = 450.103420,
65
  width = 111.300450, height = 145.408650
66
},
67
68
69
Displacer:new{
70
  x = 22.439608, y = 309.182680,
71
  width = 274.660800, height = 26.029943
72
},
73
74
75
Displacer:new{
76
  x = 57.445393, y = 592.819340,
77
  width = 195.673370, height = 15.258933
78
},
79
80
81
Displacer:new{
82
  x = 393.141940, y = 468.952730,
83
  width = 53.855045, height = 130.149750
84
},
85
86
23 by Josh C
bridge
87
Transition:new{
88
  x = 791.669370, y = 347.778810,
89
  width = 12.566180, height = 245.040530,
90
  target='foresthut',
31 by Josh C
cleanup
91
targetX = 138,
23 by Josh C
bridge
92
targetY = 402
93
},
94
95
96
Transition:new{
24 by Josh C
level tweaks & fixes
97
  x = 445.201810, y = 547.940120,
98
  width = 344.672330, height = 62.830990,
23 by Josh C
bridge
99
  target='lake',
28 by Josh C
new lake
100
targetX = 620,
101
targetY = 336
23 by Josh C
bridge
102
},
103
32 by Josh C
sheep!
104
105
Transition:new{
106
  x = 7.180675, y = 347.778810,
107
  width = 47.571968, height = 247.733250,
108
  target = 'sheep'
109
},
110
35 by Josh C
troll
111
112
Troll:new{
113
  x = 443.406650, y = 372.013580,
114
},
115
13 by Josh C
pull data from svg to place objects into the world
116
},
42 by Josh C
be moved
117
realfairy = {
118
},
21 by Josh C
level tweaks
119
flower = {
120
},
41 by Josh C
fairy
121
fairy = {
122
},
21 by Josh C
level tweaks
123
shore = {
124
42 by Josh C
be moved
125
MaybeDisplacer:new{
126
  x = -15.876616, y = 148.302190,
127
  width = 206.396010, height = 16.697821
128
},
129
130
131
MaybeDisplacer:new{
132
  x = -14.781677, y = 122.050610,
133
  width = 205.575000, height = 10.949390
134
},
135
136
44 by Josh C
drop
137
MaybeDisplacer:new{
45 by Josh C
boat
138
  x = -21.898781, y = 493.936460,
44 by Josh C
drop
139
  width = 329.576660, height = 15.329147
140
},
141
142
143
MaybeDisplacer:new{
144
  x = -20.803843, y = 502.550420,
145
  width = 8.759513, height = 111.683780
146
},
147
148
149
MaybeDisplacer:new{
150
  x = -36.132988, y = 590.145570,
151
  width = 233.222020, height = 14.234208
152
},
153
154
155
MaybeDisplacer:new{
156
  x = 194.899150, y = 561.677120,
157
  width = 39.417805, height = 28.468416
158
},
159
160
161
MaybeDisplacer:new{
162
  x = 285.779080, y = 497.075710,
163
  width = 27.373476, height = 29.563354
164
},
165
166
42 by Josh C
be moved
167
FairyActivator:new{
21 by Josh C
level tweaks
168
  x = 171.725940, y = 132.299380,
42 by Josh C
be moved
169
  width = 19.192898, height = 16.162441,
14 by Josh C
some transitions in svg
170
},
13 by Josh C
pull data from svg to place objects into the world
171
45 by Josh C
boat
172
173
Boat:new{
174
  x = 231.032140, y = 523.354250,
175
},
176
13 by Josh C
pull data from svg to place objects into the world
177
},
22 by Josh C
foresthut
178
lakeroad = {
179
180
Displacer:new{
181
  x = 1.140190, y = 410.728450,
182
  width = 802.693730, height = 192.692110
183
},
184
185
186
Displacer:new{
187
  x = 401.346860, y = 189.531620,
188
  width = 400.206670, height = 94.635765
189
},
190
191
192
Displacer:new{
193
  x = 403.627230, y = 357.139530,
194
  width = 60.430069, height = 53.588928
195
},
196
197
198
Displacer:new{
199
  x = 401.346860, y = 279.606630,
200
  width = 23.943989, height = 79.813293
201
},
202
203
204
Transition:new{
205
  x = 782.170290, y = 276.186070,
206
  width = 20.523447, height = 140.243330,
207
  target = 'village'
208
},
209
210
},
13 by Josh C
pull data from svg to place objects into the world
211
forest1 = {
14 by Josh C
some transitions in svg
212
15 by Josh C
more transitions and collisions
213
Displacer:new{
214
  x = 272.000000, y = 296.000000,
215
  width = 67.000000, height = 70.000000
216
},
217
218
219
Displacer:new{
220
  x = 621.000000, y = 492.000000,
221
  width = 96.000000, height = 29.000000
222
},
223
224
225
Displacer:new{
25 by Josh C
collision tweaks
226
  x = 75.025925, y = 533.677860,
15 by Josh C
more transitions and collisions
227
  width = 132.000000, height = 23.000000
228
},
229
230
14 by Josh C
some transitions in svg
231
Transition:new{
232
  x = -1.000000, y = 129.000000,
233
  width = 28.000000, height = 454.000000,
22 by Josh C
foresthut
234
  target = 'foresthut',
235
targetX = 745,
236
targetY = 430
14 by Josh C
some transitions in svg
237
},
238
239
240
Transition:new{
241
  x = 773.000000, y = 134.000000,
242
  width = 28.000000, height = 454.000000,
15 by Josh C
more transitions and collisions
243
  target = 'shore',
244
targetY = 133,
245
targetX = 30
14 by Josh C
some transitions in svg
246
},
247
19 by Josh C
inventory (and a flower)
248
249
Flower:new{
21 by Josh C
level tweaks
250
  x = 355.051060, y = 333.101410,
251
},
252
253
},
29 by Josh C
gate
254
gate = {
255
256
Transition:new{
257
  x = 1.841040, y = 348.698090,
258
  width = 21.171955, height = 89.290421,
259
  target='lake',
260
targetX=758,
261
targetY=453
262
},
263
38 by Josh C
gate
264
265
Transition:new{
266
  x = 529.029240, y = 373.273160,
267
  width = 18.433075, height = 51.612610,
268
  target = 'castle'
269
},
270
271
272
GateTrigger:new{
273
  x = 338.751280, y = 372.631590,
274
  width = 34.059235, height = 60.754307,
275
},
276
29 by Josh C
gate
277
},
32 by Josh C
sheep!
278
sheep = {
279
280
Displacer:new{
281
  x = -0.903934, y = 205.884830,
282
  width = 293.778470, height = 44.292755
283
},
284
285
286
Displacer:new{
287
  x = 349.822420, y = 204.076970,
288
  width = 322.704410, height = 47.004555
289
},
290
291
292
Displacer:new{
293
  x = 649.024540, y = 251.985460,
294
  width = 38.869144, height = 93.105171
295
},
296
297
298
Displacer:new{
299
  x = 788.230350, y = 410.173890,
300
  width = 18.078678, height = 192.537920
301
},
302
303
304
Displacer:new{
305
  x = -7.231471, y = 586.440980,
306
  width = 802.693300, height = 19.886545
307
},
308
309
310
Displacer:new{
311
  x = -7.231471, y = 249.273650,
312
  width = 12.655074, height = 338.975190
313
},
314
315
316
Transition:new{
317
  x = 703.260560, y = 347.802460,
318
  width = 100.336660, height = 51.524231,
319
  target = 'bridge',
320
targetX = 107,
321
targetY = 400
322
},
323
324
325
Transition:new{
326
  x = 300.106050, y = 219.443850,
327
  width = 42.484894, height = 24.406214,
328
  target='cave'
329
},
330
331
},
30 by Josh C
castle interior
332
castle = {
333
334
Displacer:new{
335
  x = 673.720150, y = 410.580200,
336
  width = 47.098976, height = 63.481228
337
},
338
339
340
Transition:new{
341
  x = 73.720139, y = 401.365170,
342
  width = 17.406143, height = 72.696243,
343
  target='gate',
344
targetX=239,
345
targetY=388
346
},
347
39 by Josh C
cat
348
349
Cat:new{
350
  x = 590.784970, y = 442.320830,
351
},
352
30 by Josh C
castle interior
353
},
21 by Josh C
level tweaks
354
lake = {
355
356
Displacer:new{
28 by Josh C
new lake
357
  x = 1.140190, y = 532.673520,
358
  width = 802.693730, height = 70.747047
359
},
360
361
362
Displacer:new{
363
  x = 199.036710, y = 475.319240,
364
  width = 88.884743, height = 62.226845
365
},
366
367
368
Displacer:new{
369
  x = 254.349850, y = 415.082730,
370
  width = 161.585140, height = 76.176979
371
},
372
373
374
Displacer:new{
375
  x = 327.690250, y = 337.549840,
21 by Josh C
level tweaks
376
  width = 23.943989, height = 79.813293
377
},
378
379
24 by Josh C
level tweaks & fixes
380
Displacer:new{
28 by Josh C
new lake
381
  x = 441.939640, y = 545.003050,
24 by Josh C
level tweaks & fixes
382
  width = 77.584961, height = 16.695486
383
},
384
385
28 by Josh C
new lake
386
Displacer:new{
387
  x = 293.644320, y = 354.478000,
388
  width = 126.689360, height = 22.588020
389
},
390
391
392
Displacer:new{
393
  x = 321.142820, y = 298.498960,
394
  width = 66.781998, height = 55.979023
395
},
396
397
398
Displacer:new{
399
  x = 314.268190, y = 206.182680,
400
  width = 193.471360, height = 54.996933
401
},
402
403
404
Displacer:new{
405
  x = 318.112060, y = 260.220860,
406
  width = 34.470348, height = 39.394684
407
},
408
409
410
Transition:new{
411
  x = 782.170290, y = 295.827820,
412
  width = 20.523447, height = 239.434230,
29 by Josh C
gate
413
  target = 'gate'
28 by Josh C
new lake
414
},
415
416
417
Transition:new{
418
  x = 508.191440, y = 257.266270,
419
  width = 275.762790, height = 30.530880,
420
  target='bridge',
421
targetX=555,
422
targetY=487
21 by Josh C
level tweaks
423
},
424
34 by Josh C
GET FISH
425
426
Fish:new{
427
  x = 348.519870, y = 380.005310,
428
  width = 11.818405, height = 32.500614,
429
},
430
431
},
432
fish = {
19 by Josh C
inventory (and a flower)
433
},
22 by Josh C
foresthut
434
foresthut = {
435
436
Displacer:new{
437
  x = 10.420785, y = 557.369510,
438
  width = 777.769530, height = 50.209240
439
},
440
441
442
Displacer:new{
443
  x = 624.299800, y = 248.535320,
444
  width = 165.785220, height = 16.104851
445
},
446
447
448
Displacer:new{
41 by Josh C
fairy
449
  x = 494.535890, y = 253.272050,
450
  width = 130.711270, height = 45.472519
22 by Josh C
foresthut
451
},
452
453
454
Displacer:new{
41 by Josh C
fairy
455
  x = 359.108890, y = 228.641110,
456
  width = 134.457460, height = 68.205078
22 by Josh C
foresthut
457
},
458
459
460
Displacer:new{
461
  x = 4.736721, y = 227.693760,
462
  width = 452.830510, height = 30.315012
463
},
464
465
466
Displacer:new{
25 by Josh C
collision tweaks
467
  x = 290.823460, y = 260.068940,
468
  width = 67.261436, height = 88.795479
22 by Josh C
foresthut
469
},
470
471
472
Displacer:new{
473
  x = 182.837420, y = 253.272050,
474
  width = 70.103462, height = 56.840649
475
},
476
477
478
Displacer:new{
479
  x = 35.051731, y = 493.897460,
480
  width = 105.155200, height = 38.841110
481
},
482
483
484
Displacer:new{
485
  x = 655.562130, y = 502.423550,
486
  width = 92.839722, height = 29.367668
487
},
488
489
490
Transition:new{
491
  x = 789.137630, y = 253.272050,
492
  width = 22.736259, height = 344.833250,
493
  target = 'forest1'
494
},
495
496
497
Transition:new{
498
  x = -16.104849, y = 254.219410,
499
  width = 22.736259, height = 344.833250,
23 by Josh C
bridge
500
  target = 'bridge',
501
targetX = 735,
502
targetY = 434
503
},
504
41 by Josh C
fairy
505
506
Fairy:new{
507
  x = 395.731810, y = 304.621250,
508
  width = 40.709251, height = 58.697060,
509
},
510
23 by Josh C
bridge
511
},
36 by Josh C
flag
512
flag = {
513
},
39 by Josh C
cat
514
cat48 = {
515
},
13 by Josh C
pull data from svg to place objects into the world
516
}
38 by Josh C
gate
517
42 by Josh C
be moved
518
fairytarget = Sprite:new{
519
  x = 42.702625, y = 537.588500,
520
  width = 14.234208, height = 15.329147,
521
  visible = false
522
}
523
38 by Josh C
gate
524
gateup = Fill:new{
525
  x = 517.393430, y = 236.349990,
526
  width = 33.179535, height = 191.703980,
527
  fill = {108,57,22,255},
528
  gateup = true
529
}
530
531
gatedown = Fill:new{
532
  x = 354.836700, y = 427.650760,
533
  width = 164.054370, height = 19.354729,
534
  fill = {108,57,22,255},
535
  visible = false
536
}
537