Loading

Revision differences

Old revision #pizr96hyhNew revision #ppy92dfai
1spritelayout concrete_platform_layout {  1spritelayout concrete_platform_layout {  
2  ground { sprite: GROUNDSPRITE_TRACK; flip { sprite: -1; } }  2  ground { sprite: GROUNDSPRITE_TRACK; index: [0, -1] }
3  building {  3  building {  
4    sprite: platform_set(0);  4    sprite: platform_set;
5    orientation_offset: 1  5    index: [0, 1]
6    yextent: 4;  6    yextent: 4;  
7  }  7  }  
8  childsprite {  8  childsprite {  
9    sprite: cargo_set(0);  9    sprite: cargo_set;
10    orientation_offset: 1  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    orientation_offset: 1  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  }