/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,
37
  target='sheep'
38
},
39
40
},
22 by Josh C
foresthut
41
bridge = {
23 by Josh C
bridge
42
43
Displacer:new{
32 by Josh C
sheep!
44
  x = 280.943910, y = 284.050320,
45
  width = 143.613510, height = 90.656021
23 by Josh C
bridge
46
},
47
48
49
Displacer:new{
50
  x = 410.196040, y = 273.279300,
51
  width = 387.756440, height = 71.806747
52
},
53
54
55
Displacer:new{
56
  x = 443.406650, y = 372.013580,
57
  width = 87.065681, height = 92.451187
58
},
59
60
32 by Josh C
sheep!
61
Displacer:new{
62
  x = 55.650227, y = 481.518860,
63
  width = 55.650227, height = 22.439608
64
},
65
66
67
Displacer:new{
68
  x = 283.636660, y = 450.103420,
69
  width = 111.300450, height = 145.408650
70
},
71
72
73
Displacer:new{
74
  x = 22.439608, y = 309.182680,
75
  width = 274.660800, height = 26.029943
76
},
77
78
79
Displacer:new{
80
  x = 57.445393, y = 592.819340,
81
  width = 195.673370, height = 15.258933
82
},
83
84
85
Displacer:new{
86
  x = 393.141940, y = 468.952730,
87
  width = 53.855045, height = 130.149750
88
},
89
90
23 by Josh C
bridge
91
Transition:new{
92
  x = 791.669370, y = 347.778810,
93
  width = 12.566180, height = 245.040530,
94
  target='foresthut',
31 by Josh C
cleanup
95
targetX = 138,
23 by Josh C
bridge
96
targetY = 402
97
},
98
99
100
Transition:new{
24 by Josh C
level tweaks & fixes
101
  x = 445.201810, y = 547.940120,
102
  width = 344.672330, height = 62.830990,
23 by Josh C
bridge
103
  target='lake',
28 by Josh C
new lake
104
targetX = 620,
105
targetY = 336
23 by Josh C
bridge
106
},
107
32 by Josh C
sheep!
108
109
Transition:new{
110
  x = 7.180675, y = 347.778810,
111
  width = 47.571968, height = 247.733250,
112
  target = 'sheep'
113
},
114
13 by Josh C
pull data from svg to place objects into the world
115
},
21 by Josh C
level tweaks
116
flower = {
117
},
118
shore = {
119
120
Displacer:new{
121
  x = 171.725940, y = 132.299380,
122
  width = 19.192898, height = 16.162441
14 by Josh C
some transitions in svg
123
},
13 by Josh C
pull data from svg to place objects into the world
124
125
},
22 by Josh C
foresthut
126
lakeroad = {
127
128
Displacer:new{
129
  x = 1.140190, y = 410.728450,
130
  width = 802.693730, height = 192.692110
131
},
132
133
134
Displacer:new{
135
  x = 401.346860, y = 189.531620,
136
  width = 400.206670, height = 94.635765
137
},
138
139
140
Displacer:new{
141
  x = 403.627230, y = 357.139530,
142
  width = 60.430069, height = 53.588928
143
},
144
145
146
Displacer:new{
147
  x = 401.346860, y = 279.606630,
148
  width = 23.943989, height = 79.813293
149
},
150
151
152
Transition:new{
153
  x = 782.170290, y = 276.186070,
154
  width = 20.523447, height = 140.243330,
155
  target = 'village'
156
},
157
158
},
13 by Josh C
pull data from svg to place objects into the world
159
forest1 = {
14 by Josh C
some transitions in svg
160
15 by Josh C
more transitions and collisions
161
Displacer:new{
162
  x = 272.000000, y = 296.000000,
163
  width = 67.000000, height = 70.000000
164
},
165
166
167
Displacer:new{
168
  x = 621.000000, y = 492.000000,
169
  width = 96.000000, height = 29.000000
170
},
171
172
173
Displacer:new{
25 by Josh C
collision tweaks
174
  x = 75.025925, y = 533.677860,
15 by Josh C
more transitions and collisions
175
  width = 132.000000, height = 23.000000
176
},
177
178
14 by Josh C
some transitions in svg
179
Transition:new{
180
  x = -1.000000, y = 129.000000,
181
  width = 28.000000, height = 454.000000,
22 by Josh C
foresthut
182
  target = 'foresthut',
183
targetX = 745,
184
targetY = 430
14 by Josh C
some transitions in svg
185
},
186
187
188
Transition:new{
189
  x = 773.000000, y = 134.000000,
190
  width = 28.000000, height = 454.000000,
15 by Josh C
more transitions and collisions
191
  target = 'shore',
192
targetY = 133,
193
targetX = 30
14 by Josh C
some transitions in svg
194
},
195
19 by Josh C
inventory (and a flower)
196
197
Flower:new{
21 by Josh C
level tweaks
198
  x = 355.051060, y = 333.101410,
199
},
200
201
},
29 by Josh C
gate
202
gate = {
203
204
Displacer:new{
205
  x = 338.751280, y = 372.631590,
206
  width = 34.059235, height = 60.754307
207
},
208
209
210
Transition:new{
211
  x = 1.841040, y = 348.698090,
212
  width = 21.171955, height = 89.290421,
213
  target='lake',
214
targetX=758,
215
targetY=453
216
},
217
218
},
32 by Josh C
sheep!
219
sheep = {
220
221
Displacer:new{
222
  x = -0.903934, y = 205.884830,
223
  width = 293.778470, height = 44.292755
224
},
225
226
227
Displacer:new{
228
  x = 349.822420, y = 204.076970,
229
  width = 322.704410, height = 47.004555
230
},
231
232
233
Displacer:new{
234
  x = 649.024540, y = 251.985460,
235
  width = 38.869144, height = 93.105171
236
},
237
238
239
Displacer:new{
240
  x = 788.230350, y = 410.173890,
241
  width = 18.078678, height = 192.537920
242
},
243
244
245
Displacer:new{
246
  x = -7.231471, y = 586.440980,
247
  width = 802.693300, height = 19.886545
248
},
249
250
251
Displacer:new{
252
  x = -7.231471, y = 249.273650,
253
  width = 12.655074, height = 338.975190
254
},
255
256
257
Transition:new{
258
  x = 703.260560, y = 347.802460,
259
  width = 100.336660, height = 51.524231,
260
  target = 'bridge',
261
targetX = 107,
262
targetY = 400
263
},
264
265
266
Transition:new{
267
  x = 300.106050, y = 219.443850,
268
  width = 42.484894, height = 24.406214,
269
  target='cave'
270
},
271
272
},
30 by Josh C
castle interior
273
castle = {
274
275
Displacer:new{
276
  x = 673.720150, y = 410.580200,
277
  width = 47.098976, height = 63.481228
278
},
279
280
281
Transition:new{
282
  x = 73.720139, y = 401.365170,
283
  width = 17.406143, height = 72.696243,
284
  target='gate',
285
targetX=239,
286
targetY=388
287
},
288
289
},
21 by Josh C
level tweaks
290
lake = {
291
292
Displacer:new{
28 by Josh C
new lake
293
  x = 1.140190, y = 532.673520,
294
  width = 802.693730, height = 70.747047
295
},
296
297
298
Displacer:new{
299
  x = 199.036710, y = 475.319240,
300
  width = 88.884743, height = 62.226845
301
},
302
303
304
Displacer:new{
305
  x = 254.349850, y = 415.082730,
306
  width = 161.585140, height = 76.176979
307
},
308
309
310
Displacer:new{
311
  x = 327.690250, y = 337.549840,
21 by Josh C
level tweaks
312
  width = 23.943989, height = 79.813293
313
},
314
315
24 by Josh C
level tweaks & fixes
316
Displacer:new{
28 by Josh C
new lake
317
  x = 441.939640, y = 545.003050,
24 by Josh C
level tweaks & fixes
318
  width = 77.584961, height = 16.695486
319
},
320
321
28 by Josh C
new lake
322
Displacer:new{
323
  x = 293.644320, y = 354.478000,
324
  width = 126.689360, height = 22.588020
325
},
326
327
328
Displacer:new{
329
  x = 321.142820, y = 298.498960,
330
  width = 66.781998, height = 55.979023
331
},
332
333
334
Displacer:new{
335
  x = 314.268190, y = 206.182680,
336
  width = 193.471360, height = 54.996933
337
},
338
339
340
Displacer:new{
341
  x = 318.112060, y = 260.220860,
342
  width = 34.470348, height = 39.394684
343
},
344
345
346
Transition:new{
347
  x = 782.170290, y = 295.827820,
348
  width = 20.523447, height = 239.434230,
29 by Josh C
gate
349
  target = 'gate'
28 by Josh C
new lake
350
},
351
352
353
Transition:new{
354
  x = 508.191440, y = 257.266270,
355
  width = 275.762790, height = 30.530880,
356
  target='bridge',
357
targetX=555,
358
targetY=487
21 by Josh C
level tweaks
359
},
360
19 by Josh C
inventory (and a flower)
361
},
22 by Josh C
foresthut
362
foresthut = {
363
364
Displacer:new{
365
  x = 10.420785, y = 557.369510,
366
  width = 777.769530, height = 50.209240
367
},
368
369
370
Displacer:new{
371
  x = 624.299800, y = 248.535320,
372
  width = 165.785220, height = 16.104851
373
},
374
375
376
Displacer:new{
377
  x = 528.618040, y = 253.272050,
378
  width = 96.629105, height = 45.472519
379
},
380
381
382
Displacer:new{
383
  x = 459.461910, y = 228.641110,
384
  width = 34.104382, height = 62.524715
385
},
386
387
388
Displacer:new{
389
  x = 4.736721, y = 227.693760,
390
  width = 452.830510, height = 30.315012
391
},
392
393
394
Displacer:new{
25 by Josh C
collision tweaks
395
  x = 290.823460, y = 260.068940,
396
  width = 67.261436, height = 88.795479
22 by Josh C
foresthut
397
},
398
399
400
Displacer:new{
401
  x = 182.837420, y = 253.272050,
402
  width = 70.103462, height = 56.840649
403
},
404
405
406
Displacer:new{
407
  x = 35.051731, y = 493.897460,
408
  width = 105.155200, height = 38.841110
409
},
410
411
412
Displacer:new{
413
  x = 655.562130, y = 502.423550,
414
  width = 92.839722, height = 29.367668
415
},
416
417
418
Transition:new{
419
  x = 789.137630, y = 253.272050,
420
  width = 22.736259, height = 344.833250,
421
  target = 'forest1'
422
},
423
424
425
Transition:new{
426
  x = -16.104849, y = 254.219410,
427
  width = 22.736259, height = 344.833250,
23 by Josh C
bridge
428
  target = 'bridge',
429
targetX = 735,
430
targetY = 434
431
},
432
433
},
13 by Josh C
pull data from svg to place objects into the world
434
}