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