Old revision #po9b54ecz | New revision #ppy92dfai | ||
---|---|---|---|
1 | spritelayout concrete_platform_layout { | 1 | spritelayout concrete_platform_layout { |
2 | ground { sprite: GROUNDSPRITE_TRACK; | 2 | ground { sprite: GROUNDSPRITE_TRACK; index: [0, -1] } |
3 | building { | 3 | building { |
4 | sprite: platform_set(0); | 4 | sprite: platform_set; |
5 | index: [0, 1] | ||
5 | yextent: 4; | 6 | yextent: 4; |
6 | |||
7 | |||
8 | |||
9 | } | 7 | } |
10 | childsprite { | 8 | childsprite { |
11 | sprite: cargo_set(0); | 9 | sprite: cargo_set; |
12 | xoffset: 32; | 10 | // index: 0; // default |
11 | xoffset: [32, 16]; | ||
13 | yoffset: -16; | 12 | yoffset: -16; |
14 | |||
15 | |||
16 | |||
17 | |||
18 | } | 13 | } |
19 | building { | 14 | building { |
20 | sprite: platform_set(2); | 15 | sprite: platform_set(2); |
21 | yoffset: 12; | 16 | index: [2, 3] |
17 | yoffset: 12; // if only one value is specified than x/yoffset and x/yextent are swapped automatically for "building" entries | ||
22 | yextent: 4; | 18 | yextent: 4; |
23 | |||
24 | |||
25 | |||
26 | } | 19 | } |
27 | } | 20 | } |