/ld26

To get this branch, use:
bzr branch http://9ix.org/bzr/ld26

« back to all changes in this revision

Viewing changes to svg_levels.lua

  • Committer: Josh C
  • Date: 2013-04-27 23:43:03 UTC
  • Revision ID: josh@9ix.org-20130427234303-35drcx68t13gb3b8
more transitions and collisions

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
svg_objects = {
4
4
village = {
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
 
 
25
 
},
26
 
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
 
 
77
 
},
78
 
flower = {
79
 
},
80
 
shore = {
81
 
 
82
 
Displacer:new{
83
 
  x = 171.725940, y = 132.299380,
84
 
  width = 19.192898, height = 16.162441
85
 
},
86
 
 
87
 
},
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'
 
5
},
 
6
forest2 = {
 
7
},
 
8
shore = {
 
9
 
 
10
Displacer:new{
 
11
  x = 171.725940, y = 132.299380,
 
12
  width = 19.192898, height = 16.162441
118
13
},
119
14
 
120
15
},
141
36
Transition:new{
142
37
  x = -1.000000, y = 129.000000,
143
38
  width = 28.000000, height = 454.000000,
144
 
  target = 'foresthut',
145
 
targetX = 745,
146
 
targetY = 430
 
39
  target = 'village'
147
40
},
148
41
 
149
42
 
155
48
targetX = 30
156
49
},
157
50
 
158
 
 
159
 
Flower:new{
160
 
  x = 355.051060, y = 333.101410,
161
 
},
162
 
 
163
 
},
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
 
},
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
 
 
231
 
},
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,
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'
334
 
},
335
 
 
 
51
},
 
52
lake = {
336
53
},
337
54
}