Page 1 of 1

[Solved] Image Priority Question

Posted: Tue May 08, 2018 6:31 pm
by TheSAguy
Hi,

When I place one of my Entities, I spawn another entity right on top of it.
The initial entity is a 3x3 and the second created one is a 1x1 in the middle of the 3x3.

My problem is that the 3x3 entity of on top of the 1x1 and hiding it.
I thought by using priority = "very-low", on the 3x3 and priority = "extra-high" for the 1x1 would solve this, but it does not.

How would I ensure that the 1x1 is visible on top of the 3x3?
From the picture below, the 1v1 is the little burner miner that I want on top of the assembler:
Image


Thanks,

Re: Image Priority Question

Posted: Tue May 08, 2018 7:48 pm
by eradicator
render_layer is for the z-order of sprites, priority determines the atlas caching priority. The default render layer depends on the prototype.
https://wiki.factorio.com/Types/RenderLayer

If you can't get render_layer to produce the desired result try placing the drill at a position slightly higher than the middle of the assembler (requires off-grid flag), and compensate by .shift -ing the graphic back down.

Re: Image Priority Question

Posted: Tue May 08, 2018 9:29 pm
by TheSAguy
Thanks Eradicator,
A combination of the two worked.