[0.16.27] Inserter behind pole draws in front of it
-
- 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
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.
---
Want to improve fluid flow between pumps / across longer distances? Try my Manifolds mod.
Re: [0.16.27] Inserter behind pole draws in front of it
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.
Re: [0.16.27] Inserter behind pole draws in front of it
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?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.
Re: [0.16.27] Inserter behind pole draws in front of it
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.Zeblote wrote: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?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'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.
- ickputzdirwech
- 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
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
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