/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
Displacer:new{
29
  x = 272.011660, y = 446.064150,
30
  width = 18.367348, height = 29.737610
31
},
32
33
34
Transition:new{
35
  x = 74.344025, y = 435.568510,
36
  width = 9.620992, height = 43.731777,
34 by Josh C
GET FISH
37
  target='sheep',
38
targetX=253,
39
targetY=325
33 by Josh C
cave
40
},
41
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
},
21 by Josh C
level tweaks
117
flower = {
118
},
119
shore = {
120
121
Displacer:new{
122
  x = 171.725940, y = 132.299380,
123
  width = 19.192898, height = 16.162441
14 by Josh C
some transitions in svg
124
},
13 by Josh C
pull data from svg to place objects into the world
125
126
},
22 by Josh C
foresthut
127
lakeroad = {
128
129
Displacer:new{
130
  x = 1.140190, y = 410.728450,
131
  width = 802.693730, height = 192.692110
132
},
133
134
135
Displacer:new{
136
  x = 401.346860, y = 189.531620,
137
  width = 400.206670, height = 94.635765
138
},
139
140
141
Displacer:new{
142
  x = 403.627230, y = 357.139530,
143
  width = 60.430069, height = 53.588928
144
},
145
146
147
Displacer:new{
148
  x = 401.346860, y = 279.606630,
149
  width = 23.943989, height = 79.813293
150
},
151
152
153
Transition:new{
154
  x = 782.170290, y = 276.186070,
155
  width = 20.523447, height = 140.243330,
156
  target = 'village'
157
},
158
159
},
13 by Josh C
pull data from svg to place objects into the world
160
forest1 = {
14 by Josh C
some transitions in svg
161
15 by Josh C
more transitions and collisions
162
Displacer:new{
163
  x = 272.000000, y = 296.000000,
164
  width = 67.000000, height = 70.000000
165
},
166
167
168
Displacer:new{
169
  x = 621.000000, y = 492.000000,
170
  width = 96.000000, height = 29.000000
171
},
172
173
174
Displacer:new{
25 by Josh C
collision tweaks
175
  x = 75.025925, y = 533.677860,
15 by Josh C
more transitions and collisions
176
  width = 132.000000, height = 23.000000
177
},
178
179
14 by Josh C
some transitions in svg
180
Transition:new{
181
  x = -1.000000, y = 129.000000,
182
  width = 28.000000, height = 454.000000,
22 by Josh C
foresthut
183
  target = 'foresthut',
184
targetX = 745,
185
targetY = 430
14 by Josh C
some transitions in svg
186
},
187
188
189
Transition:new{
190
  x = 773.000000, y = 134.000000,
191
  width = 28.000000, height = 454.000000,
15 by Josh C
more transitions and collisions
192
  target = 'shore',
193
targetY = 133,
194
targetX = 30
14 by Josh C
some transitions in svg
195
},
196
19 by Josh C
inventory (and a flower)
197
198
Flower:new{
21 by Josh C
level tweaks
199
  x = 355.051060, y = 333.101410,
200
},
201
202
},
29 by Josh C
gate
203
gate = {
204
205
Displacer:new{
206
  x = 338.751280, y = 372.631590,
207
  width = 34.059235, height = 60.754307
208
},
209
210
211
Transition:new{
212
  x = 1.841040, y = 348.698090,
213
  width = 21.171955, height = 89.290421,
214
  target='lake',
215
targetX=758,
216
targetY=453
217
},
218
219
},
32 by Josh C
sheep!
220
sheep = {
221
222
Displacer:new{
223
  x = -0.903934, y = 205.884830,
224
  width = 293.778470, height = 44.292755
225
},
226
227
228
Displacer:new{
229
  x = 349.822420, y = 204.076970,
230
  width = 322.704410, height = 47.004555
231
},
232
233
234
Displacer:new{
235
  x = 649.024540, y = 251.985460,
236
  width = 38.869144, height = 93.105171
237
},
238
239
240
Displacer:new{
241
  x = 788.230350, y = 410.173890,
242
  width = 18.078678, height = 192.537920
243
},
244
245
246
Displacer:new{
247
  x = -7.231471, y = 586.440980,
248
  width = 802.693300, height = 19.886545
249
},
250
251
252
Displacer:new{
253
  x = -7.231471, y = 249.273650,
254
  width = 12.655074, height = 338.975190
255
},
256
257
258
Transition:new{
259
  x = 703.260560, y = 347.802460,
260
  width = 100.336660, height = 51.524231,
261
  target = 'bridge',
262
targetX = 107,
263
targetY = 400
264
},
265
266
267
Transition:new{
268
  x = 300.106050, y = 219.443850,
269
  width = 42.484894, height = 24.406214,
270
  target='cave'
271
},
272
273
},
30 by Josh C
castle interior
274
castle = {
275
276
Displacer:new{
277
  x = 673.720150, y = 410.580200,
278
  width = 47.098976, height = 63.481228
279
},
280
281
282
Transition:new{
283
  x = 73.720139, y = 401.365170,
284
  width = 17.406143, height = 72.696243,
285
  target='gate',
286
targetX=239,
287
targetY=388
288
},
289
290
},
21 by Josh C
level tweaks
291
lake = {
292
293
Displacer:new{
28 by Josh C
new lake
294
  x = 1.140190, y = 532.673520,
295
  width = 802.693730, height = 70.747047
296
},
297
298
299
Displacer:new{
300
  x = 199.036710, y = 475.319240,
301
  width = 88.884743, height = 62.226845
302
},
303
304
305
Displacer:new{
306
  x = 254.349850, y = 415.082730,
307
  width = 161.585140, height = 76.176979
308
},
309
310
311
Displacer:new{
312
  x = 327.690250, y = 337.549840,
21 by Josh C
level tweaks
313
  width = 23.943989, height = 79.813293
314
},
315
316
24 by Josh C
level tweaks & fixes
317
Displacer:new{
28 by Josh C
new lake
318
  x = 441.939640, y = 545.003050,
24 by Josh C
level tweaks & fixes
319
  width = 77.584961, height = 16.695486
320
},
321
322
28 by Josh C
new lake
323
Displacer:new{
324
  x = 293.644320, y = 354.478000,
325
  width = 126.689360, height = 22.588020
326
},
327
328
329
Displacer:new{
330
  x = 321.142820, y = 298.498960,
331
  width = 66.781998, height = 55.979023
332
},
333
334
335
Displacer:new{
336
  x = 314.268190, y = 206.182680,
337
  width = 193.471360, height = 54.996933
338
},
339
340
341
Displacer:new{
342
  x = 318.112060, y = 260.220860,
343
  width = 34.470348, height = 39.394684
344
},
345
346
347
Transition:new{
348
  x = 782.170290, y = 295.827820,
349
  width = 20.523447, height = 239.434230,
29 by Josh C
gate
350
  target = 'gate'
28 by Josh C
new lake
351
},
352
353
354
Transition:new{
355
  x = 508.191440, y = 257.266270,
356
  width = 275.762790, height = 30.530880,
357
  target='bridge',
358
targetX=555,
359
targetY=487
21 by Josh C
level tweaks
360
},
361
34 by Josh C
GET FISH
362
363
Fish:new{
364
  x = 348.519870, y = 380.005310,
365
  width = 11.818405, height = 32.500614,
366
},
367
368
},
369
fish = {
19 by Josh C
inventory (and a flower)
370
},
22 by Josh C
foresthut
371
foresthut = {
372
373
Displacer:new{
374
  x = 10.420785, y = 557.369510,
375
  width = 777.769530, height = 50.209240
376
},
377
378
379
Displacer:new{
380
  x = 624.299800, y = 248.535320,
381
  width = 165.785220, height = 16.104851
382
},
383
384
385
Displacer:new{
386
  x = 528.618040, y = 253.272050,
387
  width = 96.629105, height = 45.472519
388
},
389
390
391
Displacer:new{
392
  x = 459.461910, y = 228.641110,
393
  width = 34.104382, height = 62.524715
394
},
395
396
397
Displacer:new{
398
  x = 4.736721, y = 227.693760,
399
  width = 452.830510, height = 30.315012
400
},
401
402
403
Displacer:new{
25 by Josh C
collision tweaks
404
  x = 290.823460, y = 260.068940,
405
  width = 67.261436, height = 88.795479
22 by Josh C
foresthut
406
},
407
408
409
Displacer:new{
410
  x = 182.837420, y = 253.272050,
411
  width = 70.103462, height = 56.840649
412
},
413
414
415
Displacer:new{
416
  x = 35.051731, y = 493.897460,
417
  width = 105.155200, height = 38.841110
418
},
419
420
421
Displacer:new{
422
  x = 655.562130, y = 502.423550,
423
  width = 92.839722, height = 29.367668
424
},
425
426
427
Transition:new{
428
  x = 789.137630, y = 253.272050,
429
  width = 22.736259, height = 344.833250,
430
  target = 'forest1'
431
},
432
433
434
Transition:new{
435
  x = -16.104849, y = 254.219410,
436
  width = 22.736259, height = 344.833250,
23 by Josh C
bridge
437
  target = 'bridge',
438
targetX = 735,
439
targetY = 434
440
},
441
442
},
13 by Josh C
pull data from svg to place objects into the world
443
}