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