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 |
}, |
26 |
forest2 = { |
|
27 |
}, |
|
18
by Josh C
village, lake |
28 |
lake = { |
29 |
||
30 |
Displacer:new{ |
|
31 |
x = 1.140190, y = 410.728450, |
|
32 |
width = 802.693730, height = 192.692110 |
|
33 |
}, |
|
34 |
||
35 |
||
36 |
Displacer:new{ |
|
37 |
x = 401.346860, y = 189.531620, |
|
38 |
width = 400.206670, height = 94.635765 |
|
39 |
}, |
|
40 |
||
41 |
||
42 |
Displacer:new{ |
|
43 |
x = 403.627230, y = 357.139530, |
|
44 |
width = 60.430069, height = 53.588928 |
|
45 |
}, |
|
46 |
||
47 |
||
48 |
Displacer:new{ |
|
49 |
x = 401.346860, y = 279.606630, |
|
50 |
width = 23.943989, height = 79.813293 |
|
51 |
}, |
|
52 |
||
53 |
||
54 |
Transition:new{ |
|
55 |
x = 782.170290, y = 276.186070, |
|
56 |
width = 20.523447, height = 140.243330, |
|
57 |
target = 'village' |
|
14
by Josh C
some transitions in svg |
58 |
}, |
13
by Josh C
pull data from svg to place objects into the world |
59 |
|
60 |
}, |
|
61 |
forest1 = { |
|
14
by Josh C
some transitions in svg |
62 |
|
15
by Josh C
more transitions and collisions |
63 |
Displacer:new{ |
64 |
x = 272.000000, y = 296.000000, |
|
65 |
width = 67.000000, height = 70.000000 |
|
66 |
}, |
|
67 |
||
68 |
||
69 |
Displacer:new{ |
|
70 |
x = 621.000000, y = 492.000000, |
|
71 |
width = 96.000000, height = 29.000000 |
|
72 |
}, |
|
73 |
||
74 |
||
75 |
Displacer:new{ |
|
76 |
x = 76.000000, y = 484.000000, |
|
77 |
width = 132.000000, height = 23.000000 |
|
78 |
}, |
|
79 |
||
80 |
||
14
by Josh C
some transitions in svg |
81 |
Transition:new{ |
82 |
x = -1.000000, y = 129.000000, |
|
83 |
width = 28.000000, height = 454.000000, |
|
84 |
target = 'village' |
|
85 |
}, |
|
86 |
||
87 |
||
88 |
Transition:new{ |
|
89 |
x = 773.000000, y = 134.000000, |
|
90 |
width = 28.000000, height = 454.000000, |
|
15
by Josh C
more transitions and collisions |
91 |
target = 'shore', |
92 |
targetY = 133, |
|
93 |
targetX = 30 |
|
14
by Josh C
some transitions in svg |
94 |
}, |
95 |
||
19
by Josh C
inventory (and a flower) |
96 |
|
97 |
Flower:new{ |
|
98 |
x = 535.985600, y = 481.160920, |
|
99 |
}, |
|
100 |
||
13
by Josh C
pull data from svg to place objects into the world |
101 |
}, |
18
by Josh C
village, lake |
102 |
shore = { |
103 |
||
104 |
Displacer:new{ |
|
105 |
x = 171.725940, y = 132.299380, |
|
106 |
width = 19.192898, height = 16.162441 |
|
107 |
}, |
|
108 |
||
13
by Josh C
pull data from svg to place objects into the world |
109 |
}, |
19
by Josh C
inventory (and a flower) |
110 |
flower = { |
111 |
}, |
|
13
by Josh C
pull data from svg to place objects into the world |
112 |
} |