/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
 
cave = {
27
 
 
28
 
Displacer:new{
29
 
  x = 272.011660, y = 446.064150,
30
 
  width = 18.367348, height = 29.737610
31
 
},
32
 
 
33
 
 
34
 
Transition:new{
35
 
  x = 74.344025, y = 435.568510,
36
 
  width = 9.620992, height = 43.731777,
37
 
  target='sheep'
38
 
},
39
 
 
40
 
},
41
 
bridge = {
42
 
 
43
 
Displacer:new{
44
 
  x = 280.943910, y = 284.050320,
45
 
  width = 143.613510, height = 90.656021
46
 
},
47
 
 
48
 
 
49
 
Displacer:new{
50
 
  x = 410.196040, y = 273.279300,
51
 
  width = 387.756440, height = 71.806747
52
 
},
53
 
 
54
 
 
55
 
Displacer:new{
56
 
  x = 443.406650, y = 372.013580,
57
 
  width = 87.065681, height = 92.451187
58
 
},
59
 
 
60
 
 
61
 
Displacer:new{
62
 
  x = 55.650227, y = 481.518860,
63
 
  width = 55.650227, height = 22.439608
64
 
},
65
 
 
66
 
 
67
 
Displacer:new{
68
 
  x = 283.636660, y = 450.103420,
69
 
  width = 111.300450, height = 145.408650
70
 
},
71
 
 
72
 
 
73
 
Displacer:new{
74
 
  x = 22.439608, y = 309.182680,
75
 
  width = 274.660800, height = 26.029943
76
 
},
77
 
 
78
 
 
79
 
Displacer:new{
80
 
  x = 57.445393, y = 592.819340,
81
 
  width = 195.673370, height = 15.258933
82
 
},
83
 
 
84
 
 
85
 
Displacer:new{
86
 
  x = 393.141940, y = 468.952730,
87
 
  width = 53.855045, height = 130.149750
88
 
},
89
 
 
90
 
 
91
 
Transition:new{
92
 
  x = 791.669370, y = 347.778810,
93
 
  width = 12.566180, height = 245.040530,
94
 
  target='foresthut',
95
 
targetX = 138,
96
 
targetY = 402
97
 
},
98
 
 
99
 
 
100
 
Transition:new{
101
 
  x = 445.201810, y = 547.940120,
102
 
  width = 344.672330, height = 62.830990,
103
 
  target='lake',
104
 
targetX = 620,
105
 
targetY = 336
106
 
},
107
 
 
108
 
 
109
 
Transition:new{
110
 
  x = 7.180675, y = 347.778810,
111
 
  width = 47.571968, height = 247.733250,
112
 
  target = 'sheep'
113
 
},
114
 
 
115
 
},
116
 
flower = {
 
5
},
 
6
forest2 = {
117
7
},
118
8
shore = {
119
9
 
123
13
},
124
14
 
125
15
},
126
 
lakeroad = {
127
 
 
128
 
Displacer:new{
129
 
  x = 1.140190, y = 410.728450,
130
 
  width = 802.693730, height = 192.692110
131
 
},
132
 
 
133
 
 
134
 
Displacer:new{
135
 
  x = 401.346860, y = 189.531620,
136
 
  width = 400.206670, height = 94.635765
137
 
},
138
 
 
139
 
 
140
 
Displacer:new{
141
 
  x = 403.627230, y = 357.139530,
142
 
  width = 60.430069, height = 53.588928
143
 
},
144
 
 
145
 
 
146
 
Displacer:new{
147
 
  x = 401.346860, y = 279.606630,
148
 
  width = 23.943989, height = 79.813293
149
 
},
150
 
 
151
 
 
152
 
Transition:new{
153
 
  x = 782.170290, y = 276.186070,
154
 
  width = 20.523447, height = 140.243330,
155
 
  target = 'village'
156
 
},
157
 
 
158
 
},
159
16
forest1 = {
160
17
 
161
18
Displacer:new{
171
28
 
172
29
 
173
30
Displacer:new{
174
 
  x = 75.025925, y = 533.677860,
 
31
  x = 76.000000, y = 484.000000,
175
32
  width = 132.000000, height = 23.000000
176
33
},
177
34
 
179
36
Transition:new{
180
37
  x = -1.000000, y = 129.000000,
181
38
  width = 28.000000, height = 454.000000,
182
 
  target = 'foresthut',
183
 
targetX = 745,
184
 
targetY = 430
 
39
  target = 'village'
185
40
},
186
41
 
187
42
 
193
48
targetX = 30
194
49
},
195
50
 
196
 
 
197
 
Flower:new{
198
 
  x = 355.051060, y = 333.101410,
199
 
},
200
 
 
201
 
},
202
 
gate = {
203
 
 
204
 
Displacer:new{
205
 
  x = 338.751280, y = 372.631590,
206
 
  width = 34.059235, height = 60.754307
207
 
},
208
 
 
209
 
 
210
 
Transition:new{
211
 
  x = 1.841040, y = 348.698090,
212
 
  width = 21.171955, height = 89.290421,
213
 
  target='lake',
214
 
targetX=758,
215
 
targetY=453
216
 
},
217
 
 
218
 
},
219
 
sheep = {
220
 
 
221
 
Displacer:new{
222
 
  x = -0.903934, y = 205.884830,
223
 
  width = 293.778470, height = 44.292755
224
 
},
225
 
 
226
 
 
227
 
Displacer:new{
228
 
  x = 349.822420, y = 204.076970,
229
 
  width = 322.704410, height = 47.004555
230
 
},
231
 
 
232
 
 
233
 
Displacer:new{
234
 
  x = 649.024540, y = 251.985460,
235
 
  width = 38.869144, height = 93.105171
236
 
},
237
 
 
238
 
 
239
 
Displacer:new{
240
 
  x = 788.230350, y = 410.173890,
241
 
  width = 18.078678, height = 192.537920
242
 
},
243
 
 
244
 
 
245
 
Displacer:new{
246
 
  x = -7.231471, y = 586.440980,
247
 
  width = 802.693300, height = 19.886545
248
 
},
249
 
 
250
 
 
251
 
Displacer:new{
252
 
  x = -7.231471, y = 249.273650,
253
 
  width = 12.655074, height = 338.975190
254
 
},
255
 
 
256
 
 
257
 
Transition:new{
258
 
  x = 703.260560, y = 347.802460,
259
 
  width = 100.336660, height = 51.524231,
260
 
  target = 'bridge',
261
 
targetX = 107,
262
 
targetY = 400
263
 
},
264
 
 
265
 
 
266
 
Transition:new{
267
 
  x = 300.106050, y = 219.443850,
268
 
  width = 42.484894, height = 24.406214,
269
 
  target='cave'
270
 
},
271
 
 
272
 
},
273
 
castle = {
274
 
 
275
 
Displacer:new{
276
 
  x = 673.720150, y = 410.580200,
277
 
  width = 47.098976, height = 63.481228
278
 
},
279
 
 
280
 
 
281
 
Transition:new{
282
 
  x = 73.720139, y = 401.365170,
283
 
  width = 17.406143, height = 72.696243,
284
 
  target='gate',
285
 
targetX=239,
286
 
targetY=388
287
 
},
288
 
 
289
51
},
290
52
lake = {
291
 
 
292
 
Displacer:new{
293
 
  x = 1.140190, y = 532.673520,
294
 
  width = 802.693730, height = 70.747047
295
 
},
296
 
 
297
 
 
298
 
Displacer:new{
299
 
  x = 199.036710, y = 475.319240,
300
 
  width = 88.884743, height = 62.226845
301
 
},
302
 
 
303
 
 
304
 
Displacer:new{
305
 
  x = 254.349850, y = 415.082730,
306
 
  width = 161.585140, height = 76.176979
307
 
},
308
 
 
309
 
 
310
 
Displacer:new{
311
 
  x = 327.690250, y = 337.549840,
312
 
  width = 23.943989, height = 79.813293
313
 
},
314
 
 
315
 
 
316
 
Displacer:new{
317
 
  x = 441.939640, y = 545.003050,
318
 
  width = 77.584961, height = 16.695486
319
 
},
320
 
 
321
 
 
322
 
Displacer:new{
323
 
  x = 293.644320, y = 354.478000,
324
 
  width = 126.689360, height = 22.588020
325
 
},
326
 
 
327
 
 
328
 
Displacer:new{
329
 
  x = 321.142820, y = 298.498960,
330
 
  width = 66.781998, height = 55.979023
331
 
},
332
 
 
333
 
 
334
 
Displacer:new{
335
 
  x = 314.268190, y = 206.182680,
336
 
  width = 193.471360, height = 54.996933
337
 
},
338
 
 
339
 
 
340
 
Displacer:new{
341
 
  x = 318.112060, y = 260.220860,
342
 
  width = 34.470348, height = 39.394684
343
 
},
344
 
 
345
 
 
346
 
Transition:new{
347
 
  x = 782.170290, y = 295.827820,
348
 
  width = 20.523447, height = 239.434230,
349
 
  target = 'gate'
350
 
},
351
 
 
352
 
 
353
 
Transition:new{
354
 
  x = 508.191440, y = 257.266270,
355
 
  width = 275.762790, height = 30.530880,
356
 
  target='bridge',
357
 
targetX=555,
358
 
targetY=487
359
 
},
360
 
 
361
 
},
362
 
foresthut = {
363
 
 
364
 
Displacer:new{
365
 
  x = 10.420785, y = 557.369510,
366
 
  width = 777.769530, height = 50.209240
367
 
},
368
 
 
369
 
 
370
 
Displacer:new{
371
 
  x = 624.299800, y = 248.535320,
372
 
  width = 165.785220, height = 16.104851
373
 
},
374
 
 
375
 
 
376
 
Displacer:new{
377
 
  x = 528.618040, y = 253.272050,
378
 
  width = 96.629105, height = 45.472519
379
 
},
380
 
 
381
 
 
382
 
Displacer:new{
383
 
  x = 459.461910, y = 228.641110,
384
 
  width = 34.104382, height = 62.524715
385
 
},
386
 
 
387
 
 
388
 
Displacer:new{
389
 
  x = 4.736721, y = 227.693760,
390
 
  width = 452.830510, height = 30.315012
391
 
},
392
 
 
393
 
 
394
 
Displacer:new{
395
 
  x = 290.823460, y = 260.068940,
396
 
  width = 67.261436, height = 88.795479
397
 
},
398
 
 
399
 
 
400
 
Displacer:new{
401
 
  x = 182.837420, y = 253.272050,
402
 
  width = 70.103462, height = 56.840649
403
 
},
404
 
 
405
 
 
406
 
Displacer:new{
407
 
  x = 35.051731, y = 493.897460,
408
 
  width = 105.155200, height = 38.841110
409
 
},
410
 
 
411
 
 
412
 
Displacer:new{
413
 
  x = 655.562130, y = 502.423550,
414
 
  width = 92.839722, height = 29.367668
415
 
},
416
 
 
417
 
 
418
 
Transition:new{
419
 
  x = 789.137630, y = 253.272050,
420
 
  width = 22.736259, height = 344.833250,
421
 
  target = 'forest1'
422
 
},
423
 
 
424
 
 
425
 
Transition:new{
426
 
  x = -16.104849, y = 254.219410,
427
 
  width = 22.736259, height = 344.833250,
428
 
  target = 'bridge',
429
 
targetX = 735,
430
 
targetY = 434
431
 
},
432
 
 
433
53
},
434
54
}