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