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 |
}, |
22
by Josh C
foresthut |
26 |
bridge = { |
23
by Josh C
bridge |
27 |
|
28 |
Displacer:new{ |
|
29 |
x = 351.853060, y = 284.050320, |
|
30 |
width = 72.704330, height = 100.529450 |
|
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 = 395.834690, y = 464.464750, |
|
42 |
width = 46.674385, height = 132.842480 |
|
43 |
}, |
|
44 |
||
45 |
||
46 |
Displacer:new{ |
|
47 |
x = 443.406650, y = 372.013580, |
|
48 |
width = 87.065681, height = 92.451187 |
|
49 |
}, |
|
50 |
||
51 |
||
52 |
Transition:new{ |
|
53 |
x = 791.669370, y = 347.778810, |
|
54 |
width = 12.566180, height = 245.040530, |
|
55 |
target='foresthut', |
|
56 |
targetX = 47, |
|
57 |
targetY = 402 |
|
58 |
}, |
|
59 |
||
60 |
||
61 |
Transition:new{ |
|
24
by Josh C
level tweaks & fixes |
62 |
x = 445.201810, y = 547.940120, |
63 |
width = 344.672330, height = 62.830990, |
|
23
by Josh C
bridge |
64 |
target='lake', |
28
by Josh C
new lake |
65 |
targetX = 620, |
66 |
targetY = 336 |
|
23
by Josh C
bridge |
67 |
}, |
68 |
||
13
by Josh C
pull data from svg to place objects into the world |
69 |
}, |
25
by Josh C
collision tweaks |
70 |
bridgeold = { |
71 |
||
72 |
Displacer:new{ |
|
73 |
x = 351.853060, y = 284.050320, |
|
74 |
width = 72.704330, height = 100.529450 |
|
75 |
}, |
|
76 |
||
77 |
||
78 |
Displacer:new{ |
|
79 |
x = 410.196040, y = 273.279300, |
|
80 |
width = 387.756440, height = 71.806747 |
|
81 |
}, |
|
82 |
||
83 |
||
84 |
Displacer:new{ |
|
85 |
x = 395.834690, y = 464.464750, |
|
86 |
width = 46.674385, height = 132.842480 |
|
87 |
}, |
|
88 |
||
89 |
||
90 |
Displacer:new{ |
|
91 |
x = 443.406650, y = 372.013580, |
|
92 |
width = 87.065681, height = 92.451187 |
|
93 |
}, |
|
94 |
||
95 |
||
96 |
Transition:new{ |
|
97 |
x = 791.669370, y = 347.778810, |
|
98 |
width = 12.566180, height = 245.040530, |
|
99 |
target='foresthut', |
|
100 |
targetX = 47, |
|
101 |
targetY = 402 |
|
102 |
}, |
|
103 |
||
104 |
||
105 |
Transition:new{ |
|
106 |
x = 445.201810, y = 547.940120, |
|
107 |
width = 344.672330, height = 62.830990, |
|
108 |
target='lake', |
|
109 |
targetX = 743, |
|
110 |
targetY = 328 |
|
111 |
}, |
|
112 |
||
113 |
}, |
|
21
by Josh C
level tweaks |
114 |
flower = { |
115 |
}, |
|
116 |
shore = { |
|
117 |
||
118 |
Displacer:new{ |
|
119 |
x = 171.725940, y = 132.299380, |
|
120 |
width = 19.192898, height = 16.162441 |
|
14
by Josh C
some transitions in svg |
121 |
}, |
13
by Josh C
pull data from svg to place objects into the world |
122 |
|
123 |
}, |
|
22
by Josh C
foresthut |
124 |
lakeroad = { |
125 |
||
126 |
Displacer:new{ |
|
127 |
x = 1.140190, y = 410.728450, |
|
128 |
width = 802.693730, height = 192.692110 |
|
129 |
}, |
|
130 |
||
131 |
||
132 |
Displacer:new{ |
|
133 |
x = 401.346860, y = 189.531620, |
|
134 |
width = 400.206670, height = 94.635765 |
|
135 |
}, |
|
136 |
||
137 |
||
138 |
Displacer:new{ |
|
139 |
x = 403.627230, y = 357.139530, |
|
140 |
width = 60.430069, height = 53.588928 |
|
141 |
}, |
|
142 |
||
143 |
||
144 |
Displacer:new{ |
|
145 |
x = 401.346860, y = 279.606630, |
|
146 |
width = 23.943989, height = 79.813293 |
|
147 |
}, |
|
148 |
||
149 |
||
150 |
Transition:new{ |
|
151 |
x = 782.170290, y = 276.186070, |
|
152 |
width = 20.523447, height = 140.243330, |
|
153 |
target = 'village' |
|
154 |
}, |
|
155 |
||
156 |
}, |
|
13
by Josh C
pull data from svg to place objects into the world |
157 |
forest1 = { |
14
by Josh C
some transitions in svg |
158 |
|
15
by Josh C
more transitions and collisions |
159 |
Displacer:new{ |
160 |
x = 272.000000, y = 296.000000, |
|
161 |
width = 67.000000, height = 70.000000 |
|
162 |
}, |
|
163 |
||
164 |
||
165 |
Displacer:new{ |
|
166 |
x = 621.000000, y = 492.000000, |
|
167 |
width = 96.000000, height = 29.000000 |
|
168 |
}, |
|
169 |
||
170 |
||
171 |
Displacer:new{ |
|
25
by Josh C
collision tweaks |
172 |
x = 75.025925, y = 533.677860, |
15
by Josh C
more transitions and collisions |
173 |
width = 132.000000, height = 23.000000 |
174 |
}, |
|
175 |
||
176 |
||
14
by Josh C
some transitions in svg |
177 |
Transition:new{ |
178 |
x = -1.000000, y = 129.000000, |
|
179 |
width = 28.000000, height = 454.000000, |
|
22
by Josh C
foresthut |
180 |
target = 'foresthut', |
181 |
targetX = 745, |
|
182 |
targetY = 430 |
|
14
by Josh C
some transitions in svg |
183 |
}, |
184 |
||
185 |
||
186 |
Transition:new{ |
|
187 |
x = 773.000000, y = 134.000000, |
|
188 |
width = 28.000000, height = 454.000000, |
|
15
by Josh C
more transitions and collisions |
189 |
target = 'shore', |
190 |
targetY = 133, |
|
191 |
targetX = 30 |
|
14
by Josh C
some transitions in svg |
192 |
}, |
193 |
||
19
by Josh C
inventory (and a flower) |
194 |
|
195 |
Flower:new{ |
|
21
by Josh C
level tweaks |
196 |
x = 355.051060, y = 333.101410, |
197 |
}, |
|
198 |
||
199 |
}, |
|
29
by Josh C
gate |
200 |
gate = { |
201 |
||
202 |
Displacer:new{ |
|
203 |
x = 338.751280, y = 372.631590, |
|
204 |
width = 34.059235, height = 60.754307 |
|
205 |
}, |
|
206 |
||
207 |
||
208 |
Transition:new{ |
|
209 |
x = 1.841040, y = 348.698090, |
|
210 |
width = 21.171955, height = 89.290421, |
|
211 |
target='lake', |
|
212 |
targetX=758, |
|
213 |
targetY=453 |
|
214 |
}, |
|
215 |
||
216 |
}, |
|
21
by Josh C
level tweaks |
217 |
lake = { |
218 |
||
219 |
Displacer:new{ |
|
28
by Josh C
new lake |
220 |
x = 1.140190, y = 532.673520, |
221 |
width = 802.693730, height = 70.747047 |
|
222 |
}, |
|
223 |
||
224 |
||
225 |
Displacer:new{ |
|
226 |
x = 199.036710, y = 475.319240, |
|
227 |
width = 88.884743, height = 62.226845 |
|
228 |
}, |
|
229 |
||
230 |
||
231 |
Displacer:new{ |
|
232 |
x = 254.349850, y = 415.082730, |
|
233 |
width = 161.585140, height = 76.176979 |
|
234 |
}, |
|
235 |
||
236 |
||
237 |
Displacer:new{ |
|
238 |
x = 327.690250, y = 337.549840, |
|
21
by Josh C
level tweaks |
239 |
width = 23.943989, height = 79.813293 |
240 |
}, |
|
241 |
||
242 |
||
24
by Josh C
level tweaks & fixes |
243 |
Displacer:new{ |
28
by Josh C
new lake |
244 |
x = 441.939640, y = 545.003050, |
24
by Josh C
level tweaks & fixes |
245 |
width = 77.584961, height = 16.695486 |
246 |
}, |
|
247 |
||
248 |
||
28
by Josh C
new lake |
249 |
Displacer:new{ |
250 |
x = 293.644320, y = 354.478000, |
|
251 |
width = 126.689360, height = 22.588020 |
|
252 |
}, |
|
253 |
||
254 |
||
255 |
Displacer:new{ |
|
256 |
x = 321.142820, y = 298.498960, |
|
257 |
width = 66.781998, height = 55.979023 |
|
258 |
}, |
|
259 |
||
260 |
||
261 |
Displacer:new{ |
|
262 |
x = 314.268190, y = 206.182680, |
|
263 |
width = 193.471360, height = 54.996933 |
|
264 |
}, |
|
265 |
||
266 |
||
267 |
Displacer:new{ |
|
268 |
x = 318.112060, y = 260.220860, |
|
269 |
width = 34.470348, height = 39.394684 |
|
270 |
}, |
|
271 |
||
272 |
||
273 |
Transition:new{ |
|
274 |
x = 782.170290, y = 295.827820, |
|
275 |
width = 20.523447, height = 239.434230, |
|
29
by Josh C
gate |
276 |
target = 'gate' |
28
by Josh C
new lake |
277 |
}, |
278 |
||
279 |
||
280 |
Transition:new{ |
|
281 |
x = 508.191440, y = 257.266270, |
|
282 |
width = 275.762790, height = 30.530880, |
|
283 |
target='bridge', |
|
284 |
targetX=555, |
|
285 |
targetY=487 |
|
21
by Josh C
level tweaks |
286 |
}, |
287 |
||
19
by Josh C
inventory (and a flower) |
288 |
}, |
22
by Josh C
foresthut |
289 |
foresthut = { |
290 |
||
291 |
Displacer:new{ |
|
292 |
x = 10.420785, y = 557.369510, |
|
293 |
width = 777.769530, height = 50.209240 |
|
294 |
}, |
|
295 |
||
296 |
||
297 |
Displacer:new{ |
|
298 |
x = 624.299800, y = 248.535320, |
|
299 |
width = 165.785220, height = 16.104851 |
|
300 |
}, |
|
301 |
||
302 |
||
303 |
Displacer:new{ |
|
304 |
x = 528.618040, y = 253.272050, |
|
305 |
width = 96.629105, height = 45.472519 |
|
306 |
}, |
|
307 |
||
308 |
||
309 |
Displacer:new{ |
|
310 |
x = 459.461910, y = 228.641110, |
|
311 |
width = 34.104382, height = 62.524715 |
|
312 |
}, |
|
313 |
||
314 |
||
315 |
Displacer:new{ |
|
316 |
x = 4.736721, y = 227.693760, |
|
317 |
width = 452.830510, height = 30.315012 |
|
318 |
}, |
|
319 |
||
320 |
||
321 |
Displacer:new{ |
|
25
by Josh C
collision tweaks |
322 |
x = 290.823460, y = 260.068940, |
323 |
width = 67.261436, height = 88.795479 |
|
22
by Josh C
foresthut |
324 |
}, |
325 |
||
326 |
||
327 |
Displacer:new{ |
|
328 |
x = 182.837420, y = 253.272050, |
|
329 |
width = 70.103462, height = 56.840649 |
|
330 |
}, |
|
331 |
||
332 |
||
333 |
Displacer:new{ |
|
334 |
x = 35.051731, y = 493.897460, |
|
335 |
width = 105.155200, height = 38.841110 |
|
336 |
}, |
|
337 |
||
338 |
||
339 |
Displacer:new{ |
|
340 |
x = 655.562130, y = 502.423550, |
|
341 |
width = 92.839722, height = 29.367668 |
|
342 |
}, |
|
343 |
||
344 |
||
345 |
Transition:new{ |
|
346 |
x = 789.137630, y = 253.272050, |
|
347 |
width = 22.736259, height = 344.833250, |
|
348 |
target = 'forest1' |
|
349 |
}, |
|
350 |
||
351 |
||
352 |
Transition:new{ |
|
353 |
x = -16.104849, y = 254.219410, |
|
354 |
width = 22.736259, height = 344.833250, |
|
23
by Josh C
bridge |
355 |
target = 'bridge', |
356 |
targetX = 735, |
|
357 |
targetY = 434 |
|
358 |
}, |
|
359 |
||
360 |
}, |
|
13
by Josh C
pull data from svg to place objects into the world |
361 |
} |