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', |
24
by Josh C
level tweaks & fixes |
65 |
targetX = 743, |
66 |
targetY = 328 |
|
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 |
}, |
|
200 |
lake = { |
|
201 |
||
202 |
Displacer:new{ |
|
203 |
x = 1.140190, y = 410.728450, |
|
204 |
width = 802.693730, height = 192.692110 |
|
205 |
}, |
|
206 |
||
207 |
||
208 |
Displacer:new{ |
|
209 |
x = 401.346860, y = 189.531620, |
|
210 |
width = 400.206670, height = 94.635765 |
|
211 |
}, |
|
212 |
||
213 |
||
214 |
Displacer:new{ |
|
24
by Josh C
level tweaks & fixes |
215 |
x = 403.627230, y = 335.533600, |
216 |
width = 81.053925, height = 76.176979 |
|
21
by Josh C
level tweaks |
217 |
}, |
218 |
||
219 |
||
220 |
Displacer:new{ |
|
221 |
x = 401.346860, y = 279.606630, |
|
222 |
width = 23.943989, height = 79.813293 |
|
223 |
}, |
|
224 |
||
225 |
||
24
by Josh C
level tweaks & fixes |
226 |
Displacer:new{ |
227 |
x = 424.262050, y = 283.767640, |
|
228 |
width = 77.584961, height = 16.695486 |
|
229 |
}, |
|
230 |
||
231 |
||
21
by Josh C
level tweaks |
232 |
Transition:new{ |
233 |
x = 782.170290, y = 276.186070, |
|
234 |
width = 20.523447, height = 140.243330, |
|
235 |
target = 'village' |
|
236 |
}, |
|
237 |
||
19
by Josh C
inventory (and a flower) |
238 |
}, |
22
by Josh C
foresthut |
239 |
foresthut = { |
240 |
||
241 |
Displacer:new{ |
|
242 |
x = 10.420785, y = 557.369510, |
|
243 |
width = 777.769530, height = 50.209240 |
|
244 |
}, |
|
245 |
||
246 |
||
247 |
Displacer:new{ |
|
248 |
x = 624.299800, y = 248.535320, |
|
249 |
width = 165.785220, height = 16.104851 |
|
250 |
}, |
|
251 |
||
252 |
||
253 |
Displacer:new{ |
|
254 |
x = 528.618040, y = 253.272050, |
|
255 |
width = 96.629105, height = 45.472519 |
|
256 |
}, |
|
257 |
||
258 |
||
259 |
Displacer:new{ |
|
260 |
x = 459.461910, y = 228.641110, |
|
261 |
width = 34.104382, height = 62.524715 |
|
262 |
}, |
|
263 |
||
264 |
||
265 |
Displacer:new{ |
|
266 |
x = 4.736721, y = 227.693760, |
|
267 |
width = 452.830510, height = 30.315012 |
|
268 |
}, |
|
269 |
||
270 |
||
271 |
Displacer:new{ |
|
25
by Josh C
collision tweaks |
272 |
x = 290.823460, y = 260.068940, |
273 |
width = 67.261436, height = 88.795479 |
|
22
by Josh C
foresthut |
274 |
}, |
275 |
||
276 |
||
277 |
Displacer:new{ |
|
278 |
x = 182.837420, y = 253.272050, |
|
279 |
width = 70.103462, height = 56.840649 |
|
280 |
}, |
|
281 |
||
282 |
||
283 |
Displacer:new{ |
|
284 |
x = 35.051731, y = 493.897460, |
|
285 |
width = 105.155200, height = 38.841110 |
|
286 |
}, |
|
287 |
||
288 |
||
289 |
Displacer:new{ |
|
290 |
x = 655.562130, y = 502.423550, |
|
291 |
width = 92.839722, height = 29.367668 |
|
292 |
}, |
|
293 |
||
294 |
||
295 |
Transition:new{ |
|
296 |
x = 789.137630, y = 253.272050, |
|
297 |
width = 22.736259, height = 344.833250, |
|
298 |
target = 'forest1' |
|
299 |
}, |
|
300 |
||
301 |
||
302 |
Transition:new{ |
|
303 |
x = -16.104849, y = 254.219410, |
|
304 |
width = 22.736259, height = 344.833250, |
|
23
by Josh C
bridge |
305 |
target = 'bridge', |
306 |
targetX = 735, |
|
307 |
targetY = 434 |
|
308 |
}, |
|
309 |
||
310 |
}, |
|
13
by Josh C
pull data from svg to place objects into the world |
311 |
} |