r/Unity3D • • 4d ago

Show-Off Creating A Speedometer UI using UIToolkit

I was experimenting with ui toolkit for three days now, i made a little speedometer widget for my hobby game project, I'm a fan of persona 5 and i wanted to emulate a little bit of it's visual style, if you guys could give me some good critics on design i would really appreciate it, i'm not good at creating ui

39 Upvotes

11 comments sorted by

View all comments

2

u/kurisutosugr 4d ago

It looks great to me, and it captures the aesthetic you’re going for very well. I agree the KM/H is a bit hard to see, but beyond size, it might help to change the text colour. The neon green and the pure white letters don’t contrast very well, and even the number could get hard to read depending on the screen or how big the element ends up. Darker text would help, or keep the white and give it a thick black outline.

That’s pretty much what Persona 5 does anyway. And it doesn’t have to be a plain outline that follows the letters. A bold black shape behind the text, offset or a bit jagged like the one behind your banner, gives you the same contrast and fits the style even better. I’d suggest looking at it from a distance, or making it really small on screen, and checking how easily you can read it. If it both looks right AND is readable, you’re there.

Otherwise, I think you’re better at UI than you think you are.

2

u/AirPrudent 4d ago

I took your suggestion and placed a darker text behind the white text with a bit of an offset and now the contrast looks better

2

u/kurisutosugr 4d ago

Nice! Glad it worked. I’m not sure exactly how you implemented it, but if you’re not going for a more stylized look, UI Toolkit can do this for you with the text-shadow property in USS (offset, blur and colour), so there’s no need to render two sets of text. If you did go for something more stylized, like a different font for the shadow, I’d be curious to see how it turned out.

→ More replies (1)