Page 1 of 1

Graphics drawing order

Posted: Sun Jul 13, 2014 12:59 pm
by ThaPear
I'm having an issue with the order in which graphics are drawn, as seen in the image below.
I want my graphics to be drawn over the belts.

Another problem is that the top image is cut off on the right.

How can I resolve these issues?

Image

The images and entity definitions can be found in my mod thread

Re: Graphics drawing order

Posted: Sun Jul 13, 2014 4:50 pm
by kolli
I think the render layer of inserter entities is hard coded. What you could do is use one entity for the logic and another for the graphics.

Re: Graphics drawing order

Posted: Sun Jul 13, 2014 8:54 pm
by Rahjital
Simple-entities do have a working render_layer property, so if you go with kolli's suggestion, that's a good graphics entity to use. First you should try using the render_layer property on the inserter itself, though, the wiki informations tend to be rather out of date.