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 |
}, |
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{ |
|
128 |
x = 76.000000, y = 484.000000, |
|
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 |
}, |
|
156 |
lake = { |
|
157 |
||
158 |
Displacer:new{ |
|
159 |
x = 1.140190, y = 410.728450, |
|
160 |
width = 802.693730, height = 192.692110 |
|
161 |
}, |
|
162 |
||
163 |
||
164 |
Displacer:new{ |
|
165 |
x = 401.346860, y = 189.531620, |
|
166 |
width = 400.206670, height = 94.635765 |
|
167 |
}, |
|
168 |
||
169 |
||
170 |
Displacer:new{ |
|
24
by Josh C
level tweaks & fixes |
171 |
x = 403.627230, y = 335.533600, |
172 |
width = 81.053925, height = 76.176979 |
|
21
by Josh C
level tweaks |
173 |
}, |
174 |
||
175 |
||
176 |
Displacer:new{ |
|
177 |
x = 401.346860, y = 279.606630, |
|
178 |
width = 23.943989, height = 79.813293 |
|
179 |
}, |
|
180 |
||
181 |
||
24
by Josh C
level tweaks & fixes |
182 |
Displacer:new{ |
183 |
x = 424.262050, y = 283.767640, |
|
184 |
width = 77.584961, height = 16.695486 |
|
185 |
}, |
|
186 |
||
187 |
||
21
by Josh C
level tweaks |
188 |
Transition:new{ |
189 |
x = 782.170290, y = 276.186070, |
|
190 |
width = 20.523447, height = 140.243330, |
|
191 |
target = 'village' |
|
192 |
}, |
|
193 |
||
19
by Josh C
inventory (and a flower) |
194 |
}, |
22
by Josh C
foresthut |
195 |
foresthut = { |
196 |
||
197 |
Displacer:new{ |
|
198 |
x = 10.420785, y = 557.369510, |
|
199 |
width = 777.769530, height = 50.209240 |
|
200 |
}, |
|
201 |
||
202 |
||
203 |
Displacer:new{ |
|
204 |
x = 624.299800, y = 248.535320, |
|
205 |
width = 165.785220, height = 16.104851 |
|
206 |
}, |
|
207 |
||
208 |
||
209 |
Displacer:new{ |
|
210 |
x = 528.618040, y = 253.272050, |
|
211 |
width = 96.629105, height = 45.472519 |
|
212 |
}, |
|
213 |
||
214 |
||
215 |
Displacer:new{ |
|
216 |
x = 459.461910, y = 228.641110, |
|
217 |
width = 34.104382, height = 62.524715 |
|
218 |
}, |
|
219 |
||
220 |
||
221 |
Displacer:new{ |
|
222 |
x = 4.736721, y = 227.693760, |
|
223 |
width = 452.830510, height = 30.315012 |
|
224 |
}, |
|
225 |
||
226 |
||
227 |
Displacer:new{ |
|
228 |
x = 291.781980, y = 327.164890, |
|
229 |
width = 67.261436, height = 29.367668 |
|
230 |
}, |
|
231 |
||
232 |
||
233 |
Displacer:new{ |
|
234 |
x = 182.837420, y = 253.272050, |
|
235 |
width = 70.103462, height = 56.840649 |
|
236 |
}, |
|
237 |
||
238 |
||
239 |
Displacer:new{ |
|
240 |
x = 35.051731, y = 493.897460, |
|
241 |
width = 105.155200, height = 38.841110 |
|
242 |
}, |
|
243 |
||
244 |
||
245 |
Displacer:new{ |
|
246 |
x = 655.562130, y = 502.423550, |
|
247 |
width = 92.839722, height = 29.367668 |
|
248 |
}, |
|
249 |
||
250 |
||
251 |
Transition:new{ |
|
252 |
x = 789.137630, y = 253.272050, |
|
253 |
width = 22.736259, height = 344.833250, |
|
254 |
target = 'forest1' |
|
255 |
}, |
|
256 |
||
257 |
||
258 |
Transition:new{ |
|
259 |
x = -16.104849, y = 254.219410, |
|
260 |
width = 22.736259, height = 344.833250, |
|
23
by Josh C
bridge |
261 |
target = 'bridge', |
262 |
targetX = 735, |
|
263 |
targetY = 434 |
|
264 |
}, |
|
265 |
||
266 |
}, |
|
13
by Josh C
pull data from svg to place objects into the world |
267 |
} |