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{ |
|
62 |
x = 443.406680, y = 1011.522000, |
|
63 |
width = 345.569980, height = 48.469631, |
|
64 |
target='lake', |
|
65 |
targetX = 47, |
|
66 |
targetY = 402 |
|
67 |
}, |
|
68 |
||
69 |
}, |
|
70 |
shore = { |
|
71 |
||
72 |
Displacer:new{ |
|
73 |
x = 171.725940, y = 132.299380, |
|
74 |
width = 19.192898, height = 16.162441 |
|
75 |
}, |
|
76 |
||
13
by Josh C
pull data from svg to place objects into the world |
77 |
}, |
21
by Josh C
level tweaks |
78 |
flower = { |
79 |
}, |
|
80 |
shore = { |
|
81 |
||
82 |
Displacer:new{ |
|
83 |
x = 171.725940, y = 132.299380, |
|
84 |
width = 19.192898, height = 16.162441 |
|
14
by Josh C
some transitions in svg |
85 |
}, |
13
by Josh C
pull data from svg to place objects into the world |
86 |
|
87 |
}, |
|
22
by Josh C
foresthut |
88 |
lakeroad = { |
89 |
||
90 |
Displacer:new{ |
|
91 |
x = 1.140190, y = 410.728450, |
|
92 |
width = 802.693730, height = 192.692110 |
|
93 |
}, |
|
94 |
||
95 |
||
96 |
Displacer:new{ |
|
97 |
x = 401.346860, y = 189.531620, |
|
98 |
width = 400.206670, height = 94.635765 |
|
99 |
}, |
|
100 |
||
101 |
||
102 |
Displacer:new{ |
|
103 |
x = 403.627230, y = 357.139530, |
|
104 |
width = 60.430069, height = 53.588928 |
|
105 |
}, |
|
106 |
||
107 |
||
108 |
Displacer:new{ |
|
109 |
x = 401.346860, y = 279.606630, |
|
110 |
width = 23.943989, height = 79.813293 |
|
111 |
}, |
|
112 |
||
113 |
||
114 |
Transition:new{ |
|
115 |
x = 782.170290, y = 276.186070, |
|
116 |
width = 20.523447, height = 140.243330, |
|
117 |
target = 'village' |
|
118 |
}, |
|
119 |
||
120 |
}, |
|
13
by Josh C
pull data from svg to place objects into the world |
121 |
forest1 = { |
14
by Josh C
some transitions in svg |
122 |
|
15
by Josh C
more transitions and collisions |
123 |
Displacer:new{ |
124 |
x = 272.000000, y = 296.000000, |
|
125 |
width = 67.000000, height = 70.000000 |
|
126 |
}, |
|
127 |
||
128 |
||
129 |
Displacer:new{ |
|
130 |
x = 621.000000, y = 492.000000, |
|
131 |
width = 96.000000, height = 29.000000 |
|
132 |
}, |
|
133 |
||
134 |
||
135 |
Displacer:new{ |
|
136 |
x = 76.000000, y = 484.000000, |
|
137 |
width = 132.000000, height = 23.000000 |
|
138 |
}, |
|
139 |
||
140 |
||
14
by Josh C
some transitions in svg |
141 |
Transition:new{ |
142 |
x = -1.000000, y = 129.000000, |
|
143 |
width = 28.000000, height = 454.000000, |
|
22
by Josh C
foresthut |
144 |
target = 'foresthut', |
145 |
targetX = 745, |
|
146 |
targetY = 430 |
|
14
by Josh C
some transitions in svg |
147 |
}, |
148 |
||
149 |
||
150 |
Transition:new{ |
|
151 |
x = 773.000000, y = 134.000000, |
|
152 |
width = 28.000000, height = 454.000000, |
|
15
by Josh C
more transitions and collisions |
153 |
target = 'shore', |
154 |
targetY = 133, |
|
155 |
targetX = 30 |
|
14
by Josh C
some transitions in svg |
156 |
}, |
157 |
||
19
by Josh C
inventory (and a flower) |
158 |
|
159 |
Flower:new{ |
|
21
by Josh C
level tweaks |
160 |
x = 355.051060, y = 333.101410, |
161 |
}, |
|
162 |
||
163 |
}, |
|
23
by Josh C
bridge |
164 |
bridge = { |
165 |
||
166 |
Displacer:new{ |
|
167 |
x = 351.853060, y = 284.050320, |
|
168 |
width = 72.704330, height = 100.529450 |
|
169 |
}, |
|
170 |
||
171 |
||
172 |
Displacer:new{ |
|
173 |
x = 410.196040, y = 273.279300, |
|
174 |
width = 387.756440, height = 71.806747 |
|
175 |
}, |
|
176 |
||
177 |
||
178 |
Displacer:new{ |
|
179 |
x = 395.834690, y = 464.464750, |
|
180 |
width = 46.674385, height = 132.842480 |
|
181 |
}, |
|
182 |
||
183 |
||
184 |
Displacer:new{ |
|
185 |
x = 443.406650, y = 372.013580, |
|
186 |
width = 87.065681, height = 92.451187 |
|
187 |
}, |
|
188 |
||
189 |
||
190 |
Transition:new{ |
|
191 |
x = 791.669370, y = 347.778810, |
|
192 |
width = 12.566180, height = 245.040530, |
|
193 |
target='foresthut', |
|
194 |
targetX = 47, |
|
195 |
targetY = 402 |
|
196 |
}, |
|
197 |
||
198 |
}, |
|
21
by Josh C
level tweaks |
199 |
lake = { |
200 |
||
201 |
Displacer:new{ |
|
202 |
x = 1.140190, y = 410.728450, |
|
203 |
width = 802.693730, height = 192.692110 |
|
204 |
}, |
|
205 |
||
206 |
||
207 |
Displacer:new{ |
|
208 |
x = 401.346860, y = 189.531620, |
|
209 |
width = 400.206670, height = 94.635765 |
|
210 |
}, |
|
211 |
||
212 |
||
213 |
Displacer:new{ |
|
214 |
x = 403.627230, y = 357.139530, |
|
215 |
width = 60.430069, height = 53.588928 |
|
216 |
}, |
|
217 |
||
218 |
||
219 |
Displacer:new{ |
|
220 |
x = 401.346860, y = 279.606630, |
|
221 |
width = 23.943989, height = 79.813293 |
|
222 |
}, |
|
223 |
||
224 |
||
225 |
Transition:new{ |
|
226 |
x = 782.170290, y = 276.186070, |
|
227 |
width = 20.523447, height = 140.243330, |
|
228 |
target = 'village' |
|
229 |
}, |
|
230 |
||
19
by Josh C
inventory (and a flower) |
231 |
}, |
22
by Josh C
foresthut |
232 |
foresthut = { |
233 |
||
234 |
Displacer:new{ |
|
235 |
x = 10.420785, y = 557.369510, |
|
236 |
width = 777.769530, height = 50.209240 |
|
237 |
}, |
|
238 |
||
239 |
||
240 |
Displacer:new{ |
|
241 |
x = 624.299800, y = 248.535320, |
|
242 |
width = 165.785220, height = 16.104851 |
|
243 |
}, |
|
244 |
||
245 |
||
246 |
Displacer:new{ |
|
247 |
x = 528.618040, y = 253.272050, |
|
248 |
width = 96.629105, height = 45.472519 |
|
249 |
}, |
|
250 |
||
251 |
||
252 |
Displacer:new{ |
|
253 |
x = 459.461910, y = 228.641110, |
|
254 |
width = 34.104382, height = 62.524715 |
|
255 |
}, |
|
256 |
||
257 |
||
258 |
Displacer:new{ |
|
259 |
x = 4.736721, y = 227.693760, |
|
260 |
width = 452.830510, height = 30.315012 |
|
261 |
}, |
|
262 |
||
263 |
||
264 |
Displacer:new{ |
|
265 |
x = 291.781980, y = 327.164890, |
|
266 |
width = 67.261436, height = 29.367668 |
|
267 |
}, |
|
268 |
||
269 |
||
270 |
Displacer:new{ |
|
271 |
x = 182.837420, y = 253.272050, |
|
272 |
width = 70.103462, height = 56.840649 |
|
273 |
}, |
|
274 |
||
275 |
||
276 |
Displacer:new{ |
|
277 |
x = 35.051731, y = 493.897460, |
|
278 |
width = 105.155200, height = 38.841110 |
|
279 |
}, |
|
280 |
||
281 |
||
282 |
Displacer:new{ |
|
283 |
x = 655.562130, y = 502.423550, |
|
284 |
width = 92.839722, height = 29.367668 |
|
285 |
}, |
|
286 |
||
287 |
||
288 |
Transition:new{ |
|
289 |
x = 789.137630, y = 253.272050, |
|
290 |
width = 22.736259, height = 344.833250, |
|
291 |
target = 'forest1' |
|
292 |
}, |
|
293 |
||
294 |
||
295 |
Transition:new{ |
|
296 |
x = -16.104849, y = 254.219410, |
|
297 |
width = 22.736259, height = 344.833250, |
|
23
by Josh C
bridge |
298 |
target = 'bridge', |
299 |
targetX = 735, |
|
300 |
targetY = 434 |
|
301 |
}, |
|
302 |
||
303 |
}, |
|
304 |
lake = { |
|
305 |
||
306 |
Displacer:new{ |
|
307 |
x = 1.140190, y = 410.728450, |
|
308 |
width = 802.693730, height = 192.692110 |
|
309 |
}, |
|
310 |
||
311 |
||
312 |
Displacer:new{ |
|
313 |
x = 401.346860, y = 189.531620, |
|
314 |
width = 400.206670, height = 94.635765 |
|
315 |
}, |
|
316 |
||
317 |
||
318 |
Displacer:new{ |
|
319 |
x = 403.627230, y = 357.139530, |
|
320 |
width = 60.430069, height = 53.588928 |
|
321 |
}, |
|
322 |
||
323 |
||
324 |
Displacer:new{ |
|
325 |
x = 401.346860, y = 279.606630, |
|
326 |
width = 23.943989, height = 79.813293 |
|
327 |
}, |
|
328 |
||
329 |
||
330 |
Transition:new{ |
|
331 |
x = 782.170290, y = 276.186070, |
|
332 |
width = 20.523447, height = 140.243330, |
|
333 |
target = 'village' |
|
22
by Josh C
foresthut |
334 |
}, |
335 |
||
336 |
}, |
|
13
by Josh C
pull data from svg to place objects into the world |
337 |
} |