CitiesSkylinesMods / TMPE

Cities: Skylines Traffic Manager: President Edition
https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252
MIT License
576 stars 85 forks source link

Orientation of "turn on red" icon #56

Open originalfoo opened 5 years ago

originalfoo commented 5 years ago

The icon for the new turn on red feature, being an arrow, is directional. However it rotates to face camera position like all the other icons, thus from many angles it's pointing in a confusing direction.

Would it be possible to prevent this specific icon from rotating, so that it always points from the source road to the destination road, no matter what angle the camera is at?

It can tilt so that it's 'face' is pointing towards the camera, but it's rotation should be locked such that the pointy end of the arrow faces towards the destination road, and the other end of the arrow 'points' to the source road.

originalfoo commented 5 years ago

In image below, there are two places where turn on red is applicable.

turn on red

krzychu124 commented 5 years ago

I know, i know 😄 and I have no idea if it's possible since it's overlay relative to camera position. I'm currently digging in code how to render basic shapes 😅

originalfoo commented 5 years ago

Are there plans to have turn on red available for normal traffic lights? If not, and it's only going to be for timed traffic lights, then it might be worth moving it in to timed traffic lights UI at some point? Seems odd being a junction restriction when it's limited to just timed traffic lights...?

originalfoo commented 5 years ago

BTW an alternate to dynamic shape drawing would be to have 4 or 8 versions of the icon, where the image files themselves are rotated, and just switch between image files for the on-screen overlay as the camera moves? Grim, but might work as a quick fix.

krzychu124 commented 5 years ago

Turn on red is available for normal traffic lights 😉

Good idea with shapes but i think it would be better to find some way to lock position to direction of road segment

originalfoo commented 5 years ago

hrm, I didn't notice the arrows for normal lights, testing...

originalfoo commented 5 years ago

Doh! Does help if the junction has traffic lights! Yes, it works on normal lights too! Awesome!

FireController1847 commented 5 years ago

Just to note on this, this is confusing as well when setting manual traffic lights. The left arrow is on the left side, which makes sense, but if you turn the camera it appears to move to the right side when really it's still on the left, if you know what I mean.

originalfoo commented 5 years ago

IMO, "manual traffic lights" is a feature not worth spending time on (see #22).

FireController1847 commented 5 years ago

My apologizes, I meant timed traffic lights.

originalfoo commented 5 years ago

IMO "timed traffic lights" UI needs a complete overhaul to make it usable by humans :)

krzychu124 commented 5 years ago

Manual could be our sandbox to test features

originalfoo commented 5 years ago

True, we could use it to beta test #8 (timed traffic lights overhaul) :)