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