[0.17.16] Wrongly defined render order for undergrounds and loaders
Posted: Wed Mar 20, 2019 1:06 pm
Hi, sorry to bang this drum repeatedly, but I think it qualifies as a bug.
Underground and loader sprites can have several components: shadows, belts, and the structure (the latter defined in direction_in and direction_out, for both types of entity).
Bug 1: For both undergrounds and loaders, the structure is drawn behind any non-belt sprites (e.g. furnaces, assemblers etc.) that are "further away" (i.e. further north). The non-belt, non-shadow components of undergrounds and loaders should have the same render priority as the main sheets in other types of entity, i.e. they should be drawn on top of other entities that are further north.
Bug 2: When undergrounds are packed together north to south, the structure is correctly rendered behind any "nearer" (i.e. further south) belts. However for loaders, they are drawn on top of nearer belts. The direction_in and direction_out sheets defined in loader sprites should have the same render order priority as they do in undergrounds.
Underground and loader sprites can have several components: shadows, belts, and the structure (the latter defined in direction_in and direction_out, for both types of entity).
Bug 1: For both undergrounds and loaders, the structure is drawn behind any non-belt sprites (e.g. furnaces, assemblers etc.) that are "further away" (i.e. further north). The non-belt, non-shadow components of undergrounds and loaders should have the same render priority as the main sheets in other types of entity, i.e. they should be drawn on top of other entities that are further north.
Bug 2: When undergrounds are packed together north to south, the structure is correctly rendered behind any "nearer" (i.e. further south) belts. However for loaders, they are drawn on top of nearer belts. The direction_in and direction_out sheets defined in loader sprites should have the same render order priority as they do in undergrounds.