Page 1 of 1

[2.0.23] Blueprint with roboport pixels don't align

Posted: Tue Dec 10, 2024 3:26 pm
by BattleFluffy
I was placing a roboport grid, and noticed that the preview of the roboports does not perfectly line up with the pixels of the existing roboports.

Here's an image to show what I mean:
hover bug.png
hover bug.png (71.02 KiB) Viewed 905 times
I expected that when I hover the existing roboport grid with my blueprint, there will be no pixels "peeking out" from random spots behind the overlapping area.

Here's the blueprint string I was using:

Code: Select all

0eNqtluFOgzAUhd+lv4sZpQXKqxhjYF6XJqXFUtRl4d1ti5tGqdJp9mOH5vLd251T2Al1coLBCGVRc0KjaofM6uxgxIO/fkUN22F09F8zRm03ajlZyHzdINQBNdZMgNGgR2GFVpkB2VrxDF8gBQ2QgjqI2Gs1oubWdRMH1UpfotoeUIOM7vSgjUW+TD2AuzOf7zACZR0elrvCxfFeTX0HxhXg891j30qZybYf0MdE7wOQGxYmyJyYZ/yNQrZRql8wxSYM+20aesF04pCBhL01Yp8NWsLKUAsqXwOxJFD1A6lMIbGfZqrwN7sjeyIuBgaeJhjt/aOQFswYQup6i3OGPmKy1qve0Iv9VzOelEQS8T7fpUUxysnTshjlkPQwErpKKq5IYwRFr4hjBMWSbKNV5Gcq02yLcqo026KcOt02yldJ/Arb1lFkd4VtEVS++THC/n60Cdn+IElu515wL8KEt9stxcx/7nBQ7ux56ZfKi3LHyMvSSxqkLzsvL7pedPGpJmi+aM92XgRdf1rn53U3krDQe58ufw8wenY7CdtlJeGUc0Y5qUu6m+c3tgCqXA==
Minor visual bug. I think it may have been like this for a while as I recall seeing it before, but today I realized it's probably not intended.

Re: [2.0.23] Blueprint with roboport pixels don't align

Posted: Tue Dec 10, 2024 3:36 pm
by BattleFluffy
Actually I think it may affect all things? The pixels on poles and lamps look misaligned and inconsistent too, although its harder to see those.

Re: [2.0.23] Blueprint with roboport pixels don't align

Posted: Tue Dec 10, 2024 3:51 pm
by IsaacOscar
I don't think this is a bug, as when you zoom in to normal view, you can usually see the ghost as well as the real entity underneath it. I suspect this is done by offsetting the position of the ghost slightly, which is what you see on the map.

Re: [2.0.23] Blueprint with roboport pixels don't align

Posted: Tue Dec 10, 2024 4:13 pm
by Muche
It seems to depend on zoom scale; position of the blueprint (not the entity); whether the entity is in radar coverage; and when it does happen, it affects the whole horizontal/vertical line, not just one entity, regardless of BP's h/v position.
BPline-zoom5040.png
BPline-zoom5040.png (43.79 KiB) Viewed 855 times

Re: [2.0.23] Blueprint with roboport pixels don't align

Posted: Tue Dec 10, 2024 5:00 pm
by BattleFluffy
IsaacOscar wrote: Tue Dec 10, 2024 3:51 pm I don't think this is a bug, as when you zoom in to normal view, you can usually see the ghost as well as the real entity underneath it. I suspect this is done by offsetting the position of the ghost slightly, which is what you see on the map.
Offsetting the position slightly so the entities beneath are visible would make sense. However, the thing that makes me think "this must be a bug" is that the offset of the pixels is inconsistent between different roboports.
Some roboports are peeking out from the left top. Others, only the top. Others, not at all, etc. That doesn't seem like it's intended behaviour.

Your screenshot illustrates this well. :>

Re: [2.0.23] Blueprint with roboport pixels don't align

Posted: Tue Dec 10, 2024 5:09 pm
by Rseding91
Thanks for the report. Unfortunately this is going into minor issues since there is no clear solution for it. The way the map is rendered is slightly different than the way the blueprint preview in the chart is rendered and they don't always pixel-perfect align at different zoom levels.

Re: [2.0.23] Blueprint with roboport pixels don't align

Posted: Tue Dec 10, 2024 7:00 pm
by BattleFluffy
No problem, fully agree it's minor issue. Thanks for the reply :>