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

[Draft] High resolution UI textures #1525

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

kvakvs
Copy link
Collaborator

@kvakvs kvakvs commented Apr 9, 2022

Closes #523

  • UI texture sources grouped together in a single SVG vector file, this should help us maintain same colour palette and same style throughout our textured buttons.
  • Removed crown and v11 from the main button, only our branded Traffic Light by @FireController1847
  • Removed discolored "normal" textures from main menu tools, and only using full colored.
  • Exported texture resolutions bumped to 128px (looks great on 200% UI scale), main menu tools and main button now have these new textures.

bild

Checklist

@originalfoo
Copy link
Member

originalfoo commented Apr 9, 2022

  • Removed crown and v11 from the main button, only our branded Traffic Light by @FireController1847

Regarding the traffic light icon, details can be found in #71

Maybe in place of the v11 we could display a small yellow "notification dot" icon when the mod has been updated? This can be determined via TMPELifecycle.Instance.WhatsNew.Shown property. Note: Such changes will need testing with UnifiedUI mod.

I think icon for priority signs could be simplified to just the Yield icon as it's most globally recognised (even US has Yield signs).

Could some of the tools take their icon from the currently selected signage theme?

  • Prority signs: the Yield icon
  • Parking: Parking allowed icon
  • Junction restrictions: Pedestrian crossing icon
    • Would be great to have JR icons themeable - particularly the ped crossing sign which varies quite a bit
    • Alternatively, what about a junction road sign from IRL?
  • Vehicle restrictions: Car ban icon - would be great to get country specific theme for this icon as most countries do have a sign for "no cars allowed"

The lane arrows icon always struck me as being too abstract. Could we maybe have a themeable icon for that (as it varies from country to country)? As the lane arrows IRL are stretched to make them work from driver perspective, we'd need to un-stretch them to fit icon better.

For clear traffic & toggle despawn, is it worth taking this opportunity to rethink how we present those to users (particularly new users)?

Possible icons for clear traffic (would need color inverting, and border adding):

As for toggle despawn, from user perpsective it's more about control over size of traffic jams. An exclamation mark doesn't really convey anything about traffic jams. Maybe we could use something like:

Additionally, any icons we use should be detailed on the credits page in wiki: https://github.com/CitiesSkylinesMods/TMPE/wiki/Credits

@kvakvs
Copy link
Collaborator Author

kvakvs commented Apr 9, 2022

Let's split your huge comment into things which are in the scope, and things which require extra programming and big brain (note: i have no big brain most of the time)

Updating the pull request text with checklist...

@originalfoo originalfoo added Usability Make mod easier to use UI User interface updates Toolbar The main TMPE toolbar labels Apr 9, 2022
@originalfoo
Copy link
Member

For button hovered background, what about just a blue circle (will be visibly brighter than green default circle, and will create better distinction between hovered vs. active button).

@kvakvs
Copy link
Collaborator Author

kvakvs commented Apr 9, 2022

Adding all other restrictions (ped crossing, enter blocked junction, uturn, left on red, right on red, lane change) to the Fallback theme in #1523 now they can be overridden and used by the main menu, when i write that piece of code.

@kvakvs
Copy link
Collaborator Author

kvakvs commented Apr 9, 2022

Confused IKEA man if we draw our own similar man, with a driving wheel in his hands, could that be related to despawning?

bild

@originalfoo
Copy link
Member

Confused IKEA man if we draw our own similar man, with a driving wheel in his hands, could that be related to despawning?

Not sure. IMO it would be too much to fit in to an icon and still quite confusing. What about the 'allow despawn' icon being the three cars icon I posted earlier, but with two cars at back greyed out or just outlines?

BTW, I think this #1525 largely completes #523 so could possibly mark it as fixing #523 in OP?

@FireController1847
Copy link
Collaborator

I don't have much to add but I was mentioned and decided to take a glance, this is looking really good! Once this is merged might just convince me to come back to C:S for a bit haha. Looking forward to HQ icons. Finally can use them with my ultrawide 1440p with no blur! 😄

@kvakvs
Copy link
Collaborator Author

kvakvs commented Apr 16, 2022

Idea for despawning button
Despawning disabled: queue of 🚘🚘🚘 in a circle ⚪
Despawning enabled: an empty silhouette of one car 🚘 and disappearing effect

bild

@kvakvs
Copy link
Collaborator Author

kvakvs commented Apr 17, 2022

UI 150% scale
No despawning (traffic queue):
bild

Despawning (poof! magic) also with blue underlay, so maybe the car is too translucent:
bild

@originalfoo
Copy link
Member

Definitely much better than the old button! It still looks a bit brash though...

What about something like: https://thenounproject.com/icon/traffic-135499/

And then in allow despawn mode remove the back two cars, put smaller "pop" sparks in place of them and keep the foreground car non-transparent = depict that the 'stuck' traffic behind it has gone...?

@originalfoo
Copy link
Member

originalfoo commented Apr 17, 2022

For clear traffic button, what about something like this - depicting more than one type of vehicle: https://thenounproject.com/icon/traffic-jam-1361986/ (could probably remove car at the back on the right to make the icon a bit cleaner)

@kvakvs
Copy link
Collaborator Author

kvakvs commented Apr 17, 2022

The previous variant looked noisy because of dashed outline and semitransparency + it was filmed at 150% scale which probably distorted the dashed outline to the point of it being bad.
bild

In game
bild
bild

@originalfoo
Copy link
Member

originalfoo commented Apr 17, 2022

Nice! Fine tuning...

Disable despawn button:

  • Background: Do we need the blue bg now that state icons are very distinct?
  • Sparklines: Move inwards (or shrink like length instead?), just a bit, make a tiny bit dimmer than front vehicle

Clear traffic button:

  • Add transparent outline around the car to split it from the bus (similar to how cars in disable despawn button have outline around them)?
  • Maybe move the ❌ up a little?

Both buttons:

  • Shrink the content a bit so there's more of a gap between the vehicles and green button outline.
  • Maybe dim the vehicles just a tiny bit?

@kvakvs
Copy link
Collaborator Author

kvakvs commented Apr 17, 2022

White in icons is down to 85%
bild
bild
bild

@originalfoo
Copy link
Member

Those look amazing! BTW, would it be worth tying the button background with just tht thin green outline (no fill on normal state) - it looks super clean.

@kvakvs
Copy link
Collaborator Author

kvakvs commented Apr 18, 2022

Those look amazing! BTW, would it be worth tying the button background with just tht thin green outline (no fill on normal state) - it looks super clean.

I'd like buttons to be distinct from the panel. We're not doing minimalist flat "material design" which is criticised by many people for how hard is to find buttons and other interactable elements in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Toolbar The main TMPE toolbar UI User interface updates Usability Make mod easier to use
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[EPIC] Facelift — Touch multiple visual features of the mod for a fresh look
3 participants