[0.16.27] Inserter behind pole draws in front of it

Things that we don't consider worth fixing at this moment.
Zeblote
Filter Inserter
Filter Inserter
Posts: 973
Joined: Fri Oct 31, 2014 11:55 am
Contact:

[0.16.27] Inserter behind pole draws in front of it

Post by Zeblote »

Image
malventano
Filter Inserter
Filter Inserter
Posts: 353
Joined: Thu Apr 27, 2017 4:31 pm
Contact:

Re: [0.16.27] Inserter behind pole draws in front of it

Post by malventano »

Any idea why this ended up in 'Won't fix'? Seems like a pretty obvious bug.
Allyn Malventano
---
Want to improve fluid flow between pumps / across longer distances? Try my Manifolds mod.
posila
Factorio Staff
Factorio Staff
Posts: 5409
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.16.27] Inserter behind pole draws in front of it

Post by posila »

It is limitation of 2D sprite-based engine. We want inserter hand to be drawn over machines when dropping to them and sadly that means it is drawn also over power-pole like this.
Zeblote
Filter Inserter
Filter Inserter
Posts: 973
Joined: Fri Oct 31, 2014 11:55 am
Contact:

Re: [0.16.27] Inserter behind pole draws in front of it

Post by Zeblote »

posila wrote:It is limitation of 2D sprite-based engine. We want inserter hand to be drawn over machines when dropping to them and sadly that means it is drawn also over power-pole like this.
It seems like most of these issues could be fixed by sorting sprites based on their y coordinate before batching. Is there a reason why you aren't doing this / why that wouldn't work?
Rseding91
Factorio Staff
Factorio Staff
Posts: 14619
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.16.27] Inserter behind pole draws in front of it

Post by Rseding91 »

Zeblote wrote:
posila wrote:It is limitation of 2D sprite-based engine. We want inserter hand to be drawn over machines when dropping to them and sadly that means it is drawn also over power-pole like this.
It seems like most of these issues could be fixed by sorting sprites based on their y coordinate before batching. Is there a reason why you aren't doing this / why that wouldn't work?
We already do. But as he said: the inserter should be over machines when it tries to drop into them which means it should still be on top even when the Y position would put it under and so it does this for electric poles.

It's non-solvable without having a z-layer per pixel rendered which isn't going to happen with sprite based rendering.
If you want to get ahold of me I'm almost always on Discord.
User avatar
ickputzdirwech
Filter Inserter
Filter Inserter
Posts: 794
Joined: Sun May 07, 2017 10:16 am
Contact:

Re: [0.16.27] Inserter behind pole draws in front of it

Post by ickputzdirwech »

This is a duplicate of 28783.
Mods: Shortcuts for 1.1, ick's Sea Block, ick's vanilla tweaks
Tools: Atom language pack
Text quickly seems cold and unfriendly. Be careful how you write and interpret what others have written.
- A reminder for me and all who read what I write
Post Reply

Return to “Won't fix.”