Old revision #pizr96hyh | 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 | 4 | sprite: platform_set; |
5 | | 5 | index: [0, 1] |
6 | yextent: 4; | 6 | yextent: 4; |
7 | } | 7 | } |
8 | childsprite { | 8 | childsprite { |
9 | sprite: cargo_set | 9 | sprite: cargo_set; |
10 | | 10 | // index: 0; // default |
11 | xoffset: [32, 16]; | 11 | xoffset: [32, 16]; |
12 | yoffset: -16; | 12 | yoffset: -16; |
13 | } | 13 | } |
14 | building { | 14 | building { |
15 | sprite: platform_set(2); | 15 | sprite: platform_set(2); |
16 | | 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 | 17 | yoffset: 12; // if only one value is specified than x/yoffset and x/yextent are swapped automatically for "building" entries |
18 | yextent: 4; | 18 | yextent: 4; |
19 | } | 19 | } |