Merge map "show recipe" icons with like recipes when a large block is shown very zoomed out

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
gallomimia
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Fri Apr 22, 2016 6:20 pm
Contact:

Merge map "show recipe" icons with like recipes when a large block is shown very zoomed out

Post by gallomimia »

Topic says it all. Keep those icons on the map at all zoom levels please. To do this, merge them together and keep the icons the same size when zoomed out very far.

User avatar
NotRexButCaesar
Smart Inserter
Smart Inserter
Posts: 1046
Joined: Sun Feb 16, 2020 12:47 am
Contact:

Re: Merge map "show recipe" icons with like recipes when a large block is shown very zoomed out

Post by NotRexButCaesar »

This sounds like it could be performance heavy: the map icons already add ~1 ms to update time without merging.
: Alea jacta est. Determine what you intend to accomplish with an action before execution.
Have you ever heard the gospel? Most have not.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12266
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Merge map "show recipe" icons with like recipes when a large block is shown very zoomed out

Post by ssilk »

I place an tag on the map for this and I would be irritated from all of those icons.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5201
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Merge map "show recipe" icons with like recipes when a large block is shown very zoomed out

Post by eradicator »

+1
ssilk wrote:
Sun Jul 18, 2021 10:39 am
I place an tag on the map for this and I would be irritated from all of those icons.
Do you use tags AND the map overlay? Your answer sounds kinda like "you just need to get used to it" ;).
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12266
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Merge map "show recipe" icons with like recipes when a large block is shown very zoomed out

Post by ssilk »

It depends on what I’m doing, which kind of overlay I turn on.

In the end it’s a kind of “clean work”, if you keep the readability of your factory high. It spares you and others a lot of time with searching. It’s something you constantly should do, when programming or when working with software. And placing tags to group things together or paste a kind of description is one aspect of that. :)
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

SoShootMe
Fast Inserter
Fast Inserter
Posts: 189
Joined: Mon Aug 03, 2020 4:16 pm
Contact:

Re: Merge map "show recipe" icons with like recipes when a large block is shown very zoomed out

Post by SoShootMe »

gallomimia wrote:
Sat Jul 17, 2021 2:32 am
To do this, merge them together and keep the icons the same size when zoomed out very far.
How should the game decide what to show for, as an example, electronic circuit production using direct insertion of copper wire, similar to this?
ssilk wrote:
Sun Jul 18, 2021 10:39 am
I place an tag on the map for this and I would be irritated from all of those icons.
Tags are a simple solution to the problem of questions like the above. It's not automatic as per the suggestion but whatever is shown is less likely to be "wrong" (unless eg you change your mind :D).

However, I guess the use case behind gallomimia's suggestion is as an aid to understanding a large, distributed factory, but "when zoomed out very far" tag icons are scaled to (more or less) nothing and tag names are no longer shown, so they don't really achieve this. Tags would work better for this purpose, and perhaps in general, if the text remained the same size and visible at all zoom levels, the same as player names (and perhaps also show the icon at a constant size that is similar to the text).

gallomimia
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Fri Apr 22, 2016 6:20 pm
Contact:

Re: Merge map "show recipe" icons with like recipes when a large block is shown very zoomed out

Post by gallomimia »

SoShootMe wrote:
Thu Jul 22, 2021 10:28 am
How should the game decide what to show for, as an example, electronic circuit production using direct insertion of copper wire, similar to this?
I thought the decision, needing to be really simple and lightweight, should be obvious: if there's two icons close together that are the same, and would overlap if we zoom out, merge them. Enough zooming out should make units that produce intermediary products show them and the final product. It's a thing that could easily be "baked in" to a factory until changes get made. It might even be able to be done deterministically, but shouldn't really matter since it's a client-side thing that doesn't affect the game state.

It's a fairly edgecase scenario, and you're right that tags are easily more useful than this. I just think it might be possible to get it done automatically, and I feel that such a premium, well thought out feature would fit in with the types of professional finishing touches that I've come to expect from Wube.

posila
Factorio Staff
Factorio Staff
Posts: 5071
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Merge map "show recipe" icons with like recipes when a large block is shown very zoomed out

Post by posila »

gallomimia wrote:
Wed Aug 18, 2021 3:35 pm
I thought the decision, needing to be really simple and lightweight, should be obvious: if there's two icons close together that are the same, and would overlap if we zoom out, merge them.
While obvious and simple, it's not lightweight at all. The simple implementation would check each icon against all other ones to detect the overlap, but that is very not lightweight. Probably faster solution exists using some spatial data structures, but that's not simple solution :)

SoShootMe
Fast Inserter
Fast Inserter
Posts: 189
Joined: Mon Aug 03, 2020 4:16 pm
Contact:

Re: Merge map "show recipe" icons with like recipes when a large block is shown very zoomed out

Post by SoShootMe »

gallomimia wrote:
Wed Aug 18, 2021 3:35 pm
SoShootMe wrote:
Thu Jul 22, 2021 10:28 am
How should the game decide what to show for, as an example, electronic circuit production using direct insertion of copper wire, similar to this?
I thought the decision, needing to be really simple and lightweight, should be obvious: if there's two icons close together that are the same, and would overlap if we zoom out, merge them. Enough zooming out should make units that produce intermediary products show them and the final product.
I think for the example I gave of electronic circuits this would be fine, but for a production area built with more stages the useful information may be "diluted".

I also have a feeling that while merging is conceptually simple, for any algorithm there will be at least some cases where it does not give the "right" result - that is, there may be more than one way to merge icons such that the resulting groups of merged icons do not overlap, and the best one is subjective. A problem that tags, being manual, very neatly sidestep :).

Post Reply

Return to “Ideas and Suggestions”