Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Improving icon visibility #13008

Open
2 tasks done
hackedpassword opened this issue Feb 27, 2025 · 4 comments
Open
2 tasks done

Feature request: Improving icon visibility #13008

hackedpassword opened this issue Feb 27, 2025 · 4 comments
Labels

Comments

@hackedpassword
Copy link

Before creating

  • This is NOT a gameplay feature from Civ VI, BNW, or outside - see Roadmap
  • This is NOT a gameplay feature from Vanilla Civ V or from G&K - If so, it should be a comment in Missing features from Civ V - G&K #4697

Problem Description

Long-standing issue I've had with Unciv world screen icons. Some civs icons are hard to see at best in certain scenarios, impossible to tell without focused effort in others.

Combination of factors include:

  • Civ color 1 and 2 camouflaging into tile colors
  • Transparency for non-active units
  • Shape of unit icon becoming indistinguishable
  • Mod color palette may not be uniform with civ default palette (unmodded civ colors)

There may be other reasons also.

The end result, as a present example, using my current tileset mod with stronger primary colors, and Korea which uses strong primaries also, icon differentiation is sketch.

Image
Image

Related Issue Links

No response

Desired Solution

A proposed simple solution. Render the icon twice. First layer is the icon colored black, scaled +5% or so. Second layer is the usual icon render. We now have a black border to cleanly display the icon, same technique unitset icons generally apply for visibility.

Alternative Approaches

The whole circle area could have a 50% opaque backdrop too which might help. The icon border effect sounds more visually interesting.

I'd tried unbordered unit sprites not long ago, stripping down a few from FantasyHex as well as new sprites. Same result - where are the units? 👀👀👀😲 so I reapplied the borders but at 90% opacity for a slight anti-aliased effect against the tile. Subtle!

I suppose a cheaper solution could be applying such a border when building the atlas but that wouldn't be consistent unless applied at runtime, and that's still an android no-go.

Additional Context

Icons could be made isometric 3d, now that'd be fancy.

@yairm210
Copy link
Owner

I like that you put stealth bombers for this example ;)

@yairm210
Copy link
Owner

The unit icon is surrounded by a circle, currently that whole thing is transparent'd
I think the answer should be - the icons on the circle should be transparent, but not the circle itself
This could be fiddly to implement though :|

@hackedpassword
Copy link
Author

hackedpassword commented Mar 1, 2025 via email

@yairm210
Copy link
Owner

yairm210 commented Mar 1, 2025

Definitely, they're the source of truth
They always exist even for units without sprites, they remain constant between unitsets, and never have the visibility problems that sprites sometimes have

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants