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 = { |
13
by Josh C
pull data from svg to place objects into the world |
27 |
}, |
21
by Josh C
level tweaks |
28 |
flower = { |
29 |
}, |
|
30 |
shore = { |
|
31 |
||
32 |
Displacer:new{ |
|
33 |
x = 171.725940, y = 132.299380, |
|
34 |
width = 19.192898, height = 16.162441 |
|
14
by Josh C
some transitions in svg |
35 |
}, |
13
by Josh C
pull data from svg to place objects into the world |
36 |
|
37 |
}, |
|
22
by Josh C
foresthut |
38 |
lakeroad = { |
39 |
||
40 |
Displacer:new{ |
|
41 |
x = 1.140190, y = 410.728450, |
|
42 |
width = 802.693730, height = 192.692110 |
|
43 |
}, |
|
44 |
||
45 |
||
46 |
Displacer:new{ |
|
47 |
x = 401.346860, y = 189.531620, |
|
48 |
width = 400.206670, height = 94.635765 |
|
49 |
}, |
|
50 |
||
51 |
||
52 |
Displacer:new{ |
|
53 |
x = 403.627230, y = 357.139530, |
|
54 |
width = 60.430069, height = 53.588928 |
|
55 |
}, |
|
56 |
||
57 |
||
58 |
Displacer:new{ |
|
59 |
x = 401.346860, y = 279.606630, |
|
60 |
width = 23.943989, height = 79.813293 |
|
61 |
}, |
|
62 |
||
63 |
||
64 |
Transition:new{ |
|
65 |
x = 782.170290, y = 276.186070, |
|
66 |
width = 20.523447, height = 140.243330, |
|
67 |
target = 'village' |
|
68 |
}, |
|
69 |
||
70 |
}, |
|
13
by Josh C
pull data from svg to place objects into the world |
71 |
forest1 = { |
14
by Josh C
some transitions in svg |
72 |
|
15
by Josh C
more transitions and collisions |
73 |
Displacer:new{ |
74 |
x = 272.000000, y = 296.000000, |
|
75 |
width = 67.000000, height = 70.000000 |
|
76 |
}, |
|
77 |
||
78 |
||
79 |
Displacer:new{ |
|
80 |
x = 621.000000, y = 492.000000, |
|
81 |
width = 96.000000, height = 29.000000 |
|
82 |
}, |
|
83 |
||
84 |
||
85 |
Displacer:new{ |
|
86 |
x = 76.000000, y = 484.000000, |
|
87 |
width = 132.000000, height = 23.000000 |
|
88 |
}, |
|
89 |
||
90 |
||
14
by Josh C
some transitions in svg |
91 |
Transition:new{ |
92 |
x = -1.000000, y = 129.000000, |
|
93 |
width = 28.000000, height = 454.000000, |
|
22
by Josh C
foresthut |
94 |
target = 'foresthut', |
95 |
targetX = 745, |
|
96 |
targetY = 430 |
|
14
by Josh C
some transitions in svg |
97 |
}, |
98 |
||
99 |
||
100 |
Transition:new{ |
|
101 |
x = 773.000000, y = 134.000000, |
|
102 |
width = 28.000000, height = 454.000000, |
|
15
by Josh C
more transitions and collisions |
103 |
target = 'shore', |
104 |
targetY = 133, |
|
105 |
targetX = 30 |
|
14
by Josh C
some transitions in svg |
106 |
}, |
107 |
||
19
by Josh C
inventory (and a flower) |
108 |
|
109 |
Flower:new{ |
|
21
by Josh C
level tweaks |
110 |
x = 355.051060, y = 333.101410, |
111 |
}, |
|
112 |
||
113 |
}, |
|
114 |
lake = { |
|
115 |
||
116 |
Displacer:new{ |
|
117 |
x = 1.140190, y = 410.728450, |
|
118 |
width = 802.693730, height = 192.692110 |
|
119 |
}, |
|
120 |
||
121 |
||
122 |
Displacer:new{ |
|
123 |
x = 401.346860, y = 189.531620, |
|
124 |
width = 400.206670, height = 94.635765 |
|
125 |
}, |
|
126 |
||
127 |
||
128 |
Displacer:new{ |
|
129 |
x = 403.627230, y = 357.139530, |
|
130 |
width = 60.430069, height = 53.588928 |
|
131 |
}, |
|
132 |
||
133 |
||
134 |
Displacer:new{ |
|
135 |
x = 401.346860, y = 279.606630, |
|
136 |
width = 23.943989, height = 79.813293 |
|
137 |
}, |
|
138 |
||
139 |
||
140 |
Transition:new{ |
|
141 |
x = 782.170290, y = 276.186070, |
|
142 |
width = 20.523447, height = 140.243330, |
|
143 |
target = 'village' |
|
144 |
}, |
|
145 |
||
19
by Josh C
inventory (and a flower) |
146 |
}, |
22
by Josh C
foresthut |
147 |
foresthut = { |
148 |
||
149 |
Displacer:new{ |
|
150 |
x = 10.420785, y = 557.369510, |
|
151 |
width = 777.769530, height = 50.209240 |
|
152 |
}, |
|
153 |
||
154 |
||
155 |
Displacer:new{ |
|
156 |
x = 624.299800, y = 248.535320, |
|
157 |
width = 165.785220, height = 16.104851 |
|
158 |
}, |
|
159 |
||
160 |
||
161 |
Displacer:new{ |
|
162 |
x = 528.618040, y = 253.272050, |
|
163 |
width = 96.629105, height = 45.472519 |
|
164 |
}, |
|
165 |
||
166 |
||
167 |
Displacer:new{ |
|
168 |
x = 459.461910, y = 228.641110, |
|
169 |
width = 34.104382, height = 62.524715 |
|
170 |
}, |
|
171 |
||
172 |
||
173 |
Displacer:new{ |
|
174 |
x = 4.736721, y = 227.693760, |
|
175 |
width = 452.830510, height = 30.315012 |
|
176 |
}, |
|
177 |
||
178 |
||
179 |
Displacer:new{ |
|
180 |
x = 291.781980, y = 327.164890, |
|
181 |
width = 67.261436, height = 29.367668 |
|
182 |
}, |
|
183 |
||
184 |
||
185 |
Displacer:new{ |
|
186 |
x = 182.837420, y = 253.272050, |
|
187 |
width = 70.103462, height = 56.840649 |
|
188 |
}, |
|
189 |
||
190 |
||
191 |
Displacer:new{ |
|
192 |
x = 35.051731, y = 493.897460, |
|
193 |
width = 105.155200, height = 38.841110 |
|
194 |
}, |
|
195 |
||
196 |
||
197 |
Displacer:new{ |
|
198 |
x = 655.562130, y = 502.423550, |
|
199 |
width = 92.839722, height = 29.367668 |
|
200 |
}, |
|
201 |
||
202 |
||
203 |
Transition:new{ |
|
204 |
x = 789.137630, y = 253.272050, |
|
205 |
width = 22.736259, height = 344.833250, |
|
206 |
target = 'forest1' |
|
207 |
}, |
|
208 |
||
209 |
||
210 |
Transition:new{ |
|
211 |
x = -16.104849, y = 254.219410, |
|
212 |
width = 22.736259, height = 344.833250, |
|
213 |
target = 'bridge' |
|
214 |
}, |
|
215 |
||
216 |
}, |
|
13
by Josh C
pull data from svg to place objects into the world |
217 |
} |