bzr branch
http://9ix.org/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 |
||
137 |
FairyActivator:new{ |
|
21
by Josh C
level tweaks |
138 |
x = 171.725940, y = 132.299380, |
42
by Josh C
be moved |
139 |
width = 19.192898, height = 16.162441, |
14
by Josh C
some transitions in svg |
140 |
}, |
13
by Josh C
pull data from svg to place objects into the world |
141 |
|
142 |
}, |
|
22
by Josh C
foresthut |
143 |
lakeroad = { |
144 |
||
145 |
Displacer:new{ |
|
146 |
x = 1.140190, y = 410.728450, |
|
147 |
width = 802.693730, height = 192.692110 |
|
148 |
}, |
|
149 |
||
150 |
||
151 |
Displacer:new{ |
|
152 |
x = 401.346860, y = 189.531620, |
|
153 |
width = 400.206670, height = 94.635765 |
|
154 |
}, |
|
155 |
||
156 |
||
157 |
Displacer:new{ |
|
158 |
x = 403.627230, y = 357.139530, |
|
159 |
width = 60.430069, height = 53.588928 |
|
160 |
}, |
|
161 |
||
162 |
||
163 |
Displacer:new{ |
|
164 |
x = 401.346860, y = 279.606630, |
|
165 |
width = 23.943989, height = 79.813293 |
|
166 |
}, |
|
167 |
||
168 |
||
169 |
Transition:new{ |
|
170 |
x = 782.170290, y = 276.186070, |
|
171 |
width = 20.523447, height = 140.243330, |
|
172 |
target = 'village' |
|
173 |
}, |
|
174 |
||
175 |
}, |
|
13
by Josh C
pull data from svg to place objects into the world |
176 |
forest1 = { |
14
by Josh C
some transitions in svg |
177 |
|
15
by Josh C
more transitions and collisions |
178 |
Displacer:new{ |
179 |
x = 272.000000, y = 296.000000, |
|
180 |
width = 67.000000, height = 70.000000 |
|
181 |
}, |
|
182 |
||
183 |
||
184 |
Displacer:new{ |
|
185 |
x = 621.000000, y = 492.000000, |
|
186 |
width = 96.000000, height = 29.000000 |
|
187 |
}, |
|
188 |
||
189 |
||
190 |
Displacer:new{ |
|
25
by Josh C
collision tweaks |
191 |
x = 75.025925, y = 533.677860, |
15
by Josh C
more transitions and collisions |
192 |
width = 132.000000, height = 23.000000 |
193 |
}, |
|
194 |
||
195 |
||
14
by Josh C
some transitions in svg |
196 |
Transition:new{ |
197 |
x = -1.000000, y = 129.000000, |
|
198 |
width = 28.000000, height = 454.000000, |
|
22
by Josh C
foresthut |
199 |
target = 'foresthut', |
200 |
targetX = 745, |
|
201 |
targetY = 430 |
|
14
by Josh C
some transitions in svg |
202 |
}, |
203 |
||
204 |
||
205 |
Transition:new{ |
|
206 |
x = 773.000000, y = 134.000000, |
|
207 |
width = 28.000000, height = 454.000000, |
|
15
by Josh C
more transitions and collisions |
208 |
target = 'shore', |
209 |
targetY = 133, |
|
210 |
targetX = 30 |
|
14
by Josh C
some transitions in svg |
211 |
}, |
212 |
||
19
by Josh C
inventory (and a flower) |
213 |
|
214 |
Flower:new{ |
|
21
by Josh C
level tweaks |
215 |
x = 355.051060, y = 333.101410, |
216 |
}, |
|
217 |
||
218 |
}, |
|
29
by Josh C
gate |
219 |
gate = { |
220 |
||
221 |
Transition:new{ |
|
222 |
x = 1.841040, y = 348.698090, |
|
223 |
width = 21.171955, height = 89.290421, |
|
224 |
target='lake', |
|
225 |
targetX=758, |
|
226 |
targetY=453 |
|
227 |
}, |
|
228 |
||
38
by Josh C
gate |
229 |
|
230 |
Transition:new{ |
|
231 |
x = 529.029240, y = 373.273160, |
|
232 |
width = 18.433075, height = 51.612610, |
|
233 |
target = 'castle' |
|
234 |
}, |
|
235 |
||
236 |
||
237 |
GateTrigger:new{ |
|
238 |
x = 338.751280, y = 372.631590, |
|
239 |
width = 34.059235, height = 60.754307, |
|
240 |
}, |
|
241 |
||
29
by Josh C
gate |
242 |
}, |
32
by Josh C
sheep! |
243 |
sheep = { |
244 |
||
245 |
Displacer:new{ |
|
246 |
x = -0.903934, y = 205.884830, |
|
247 |
width = 293.778470, height = 44.292755 |
|
248 |
}, |
|
249 |
||
250 |
||
251 |
Displacer:new{ |
|
252 |
x = 349.822420, y = 204.076970, |
|
253 |
width = 322.704410, height = 47.004555 |
|
254 |
}, |
|
255 |
||
256 |
||
257 |
Displacer:new{ |
|
258 |
x = 649.024540, y = 251.985460, |
|
259 |
width = 38.869144, height = 93.105171 |
|
260 |
}, |
|
261 |
||
262 |
||
263 |
Displacer:new{ |
|
264 |
x = 788.230350, y = 410.173890, |
|
265 |
width = 18.078678, height = 192.537920 |
|
266 |
}, |
|
267 |
||
268 |
||
269 |
Displacer:new{ |
|
270 |
x = -7.231471, y = 586.440980, |
|
271 |
width = 802.693300, height = 19.886545 |
|
272 |
}, |
|
273 |
||
274 |
||
275 |
Displacer:new{ |
|
276 |
x = -7.231471, y = 249.273650, |
|
277 |
width = 12.655074, height = 338.975190 |
|
278 |
}, |
|
279 |
||
280 |
||
281 |
Transition:new{ |
|
282 |
x = 703.260560, y = 347.802460, |
|
283 |
width = 100.336660, height = 51.524231, |
|
284 |
target = 'bridge', |
|
285 |
targetX = 107, |
|
286 |
targetY = 400 |
|
287 |
}, |
|
288 |
||
289 |
||
290 |
Transition:new{ |
|
291 |
x = 300.106050, y = 219.443850, |
|
292 |
width = 42.484894, height = 24.406214, |
|
293 |
target='cave' |
|
294 |
}, |
|
295 |
||
296 |
}, |
|
30
by Josh C
castle interior |
297 |
castle = { |
298 |
||
299 |
Displacer:new{ |
|
300 |
x = 673.720150, y = 410.580200, |
|
301 |
width = 47.098976, height = 63.481228 |
|
302 |
}, |
|
303 |
||
304 |
||
305 |
Transition:new{ |
|
306 |
x = 73.720139, y = 401.365170, |
|
307 |
width = 17.406143, height = 72.696243, |
|
308 |
target='gate', |
|
309 |
targetX=239, |
|
310 |
targetY=388 |
|
311 |
}, |
|
312 |
||
39
by Josh C
cat |
313 |
|
314 |
Cat:new{ |
|
315 |
x = 590.784970, y = 442.320830, |
|
316 |
}, |
|
317 |
||
30
by Josh C
castle interior |
318 |
}, |
21
by Josh C
level tweaks |
319 |
lake = { |
320 |
||
321 |
Displacer:new{ |
|
28
by Josh C
new lake |
322 |
x = 1.140190, y = 532.673520, |
323 |
width = 802.693730, height = 70.747047 |
|
324 |
}, |
|
325 |
||
326 |
||
327 |
Displacer:new{ |
|
328 |
x = 199.036710, y = 475.319240, |
|
329 |
width = 88.884743, height = 62.226845 |
|
330 |
}, |
|
331 |
||
332 |
||
333 |
Displacer:new{ |
|
334 |
x = 254.349850, y = 415.082730, |
|
335 |
width = 161.585140, height = 76.176979 |
|
336 |
}, |
|
337 |
||
338 |
||
339 |
Displacer:new{ |
|
340 |
x = 327.690250, y = 337.549840, |
|
21
by Josh C
level tweaks |
341 |
width = 23.943989, height = 79.813293 |
342 |
}, |
|
343 |
||
344 |
||
24
by Josh C
level tweaks & fixes |
345 |
Displacer:new{ |
28
by Josh C
new lake |
346 |
x = 441.939640, y = 545.003050, |
24
by Josh C
level tweaks & fixes |
347 |
width = 77.584961, height = 16.695486 |
348 |
}, |
|
349 |
||
350 |
||
28
by Josh C
new lake |
351 |
Displacer:new{ |
352 |
x = 293.644320, y = 354.478000, |
|
353 |
width = 126.689360, height = 22.588020 |
|
354 |
}, |
|
355 |
||
356 |
||
357 |
Displacer:new{ |
|
358 |
x = 321.142820, y = 298.498960, |
|
359 |
width = 66.781998, height = 55.979023 |
|
360 |
}, |
|
361 |
||
362 |
||
363 |
Displacer:new{ |
|
364 |
x = 314.268190, y = 206.182680, |
|
365 |
width = 193.471360, height = 54.996933 |
|
366 |
}, |
|
367 |
||
368 |
||
369 |
Displacer:new{ |
|
370 |
x = 318.112060, y = 260.220860, |
|
371 |
width = 34.470348, height = 39.394684 |
|
372 |
}, |
|
373 |
||
374 |
||
375 |
Transition:new{ |
|
376 |
x = 782.170290, y = 295.827820, |
|
377 |
width = 20.523447, height = 239.434230, |
|
29
by Josh C
gate |
378 |
target = 'gate' |
28
by Josh C
new lake |
379 |
}, |
380 |
||
381 |
||
382 |
Transition:new{ |
|
383 |
x = 508.191440, y = 257.266270, |
|
384 |
width = 275.762790, height = 30.530880, |
|
385 |
target='bridge', |
|
386 |
targetX=555, |
|
387 |
targetY=487 |
|
21
by Josh C
level tweaks |
388 |
}, |
389 |
||
34
by Josh C
GET FISH |
390 |
|
391 |
Fish:new{ |
|
392 |
x = 348.519870, y = 380.005310, |
|
393 |
width = 11.818405, height = 32.500614, |
|
394 |
}, |
|
395 |
||
396 |
}, |
|
397 |
fish = { |
|
19
by Josh C
inventory (and a flower) |
398 |
}, |
22
by Josh C
foresthut |
399 |
foresthut = { |
400 |
||
401 |
Displacer:new{ |
|
402 |
x = 10.420785, y = 557.369510, |
|
403 |
width = 777.769530, height = 50.209240 |
|
404 |
}, |
|
405 |
||
406 |
||
407 |
Displacer:new{ |
|
408 |
x = 624.299800, y = 248.535320, |
|
409 |
width = 165.785220, height = 16.104851 |
|
410 |
}, |
|
411 |
||
412 |
||
413 |
Displacer:new{ |
|
41
by Josh C
fairy |
414 |
x = 494.535890, y = 253.272050, |
415 |
width = 130.711270, height = 45.472519 |
|
22
by Josh C
foresthut |
416 |
}, |
417 |
||
418 |
||
419 |
Displacer:new{ |
|
41
by Josh C
fairy |
420 |
x = 359.108890, y = 228.641110, |
421 |
width = 134.457460, height = 68.205078 |
|
22
by Josh C
foresthut |
422 |
}, |
423 |
||
424 |
||
425 |
Displacer:new{ |
|
426 |
x = 4.736721, y = 227.693760, |
|
427 |
width = 452.830510, height = 30.315012 |
|
428 |
}, |
|
429 |
||
430 |
||
431 |
Displacer:new{ |
|
25
by Josh C
collision tweaks |
432 |
x = 290.823460, y = 260.068940, |
433 |
width = 67.261436, height = 88.795479 |
|
22
by Josh C
foresthut |
434 |
}, |
435 |
||
436 |
||
437 |
Displacer:new{ |
|
438 |
x = 182.837420, y = 253.272050, |
|
439 |
width = 70.103462, height = 56.840649 |
|
440 |
}, |
|
441 |
||
442 |
||
443 |
Displacer:new{ |
|
444 |
x = 35.051731, y = 493.897460, |
|
445 |
width = 105.155200, height = 38.841110 |
|
446 |
}, |
|
447 |
||
448 |
||
449 |
Displacer:new{ |
|
450 |
x = 655.562130, y = 502.423550, |
|
451 |
width = 92.839722, height = 29.367668 |
|
452 |
}, |
|
453 |
||
454 |
||
455 |
Transition:new{ |
|
456 |
x = 789.137630, y = 253.272050, |
|
457 |
width = 22.736259, height = 344.833250, |
|
458 |
target = 'forest1' |
|
459 |
}, |
|
460 |
||
461 |
||
462 |
Transition:new{ |
|
463 |
x = -16.104849, y = 254.219410, |
|
464 |
width = 22.736259, height = 344.833250, |
|
23
by Josh C
bridge |
465 |
target = 'bridge', |
466 |
targetX = 735, |
|
467 |
targetY = 434 |
|
468 |
}, |
|
469 |
||
41
by Josh C
fairy |
470 |
|
471 |
Fairy:new{ |
|
472 |
x = 395.731810, y = 304.621250, |
|
473 |
width = 40.709251, height = 58.697060, |
|
474 |
}, |
|
475 |
||
23
by Josh C
bridge |
476 |
}, |
36
by Josh C
flag |
477 |
flag = { |
478 |
}, |
|
39
by Josh C
cat |
479 |
cat48 = { |
480 |
}, |
|
13
by Josh C
pull data from svg to place objects into the world |
481 |
} |
38
by Josh C
gate |
482 |
|
42
by Josh C
be moved |
483 |
fairytarget = Sprite:new{ |
484 |
x = 42.702625, y = 537.588500, |
|
485 |
width = 14.234208, height = 15.329147, |
|
486 |
visible = false |
|
487 |
} |
|
488 |
||
38
by Josh C
gate |
489 |
gateup = Fill:new{ |
490 |
x = 517.393430, y = 236.349990, |
|
491 |
width = 33.179535, height = 191.703980, |
|
492 |
fill = {108,57,22,255}, |
|
493 |
gateup = true |
|
494 |
} |
|
495 |
||
496 |
gatedown = Fill:new{ |
|
497 |
x = 354.836700, y = 427.650760, |
|
498 |
width = 164.054370, height = 19.354729, |
|
499 |
fill = {108,57,22,255}, |
|
500 |
visible = false |
|
501 |
} |
|
502 |