me7474
(me7474)
February 14, 2022, 4:33pm
#1
I am looking for a way to make my SurfaceGui NOT clip through parts, while still looking good. here is what it looks like With AlwaysOnTop:
in my opinion, it looks good! but, then this happens if something blocks it.
not as good.
however, without AlwaysOnTop it looks like this…
and it looks even worse from the side.
so, how can I make it look good, while not clipping through parts? thanks in advance!
1 Like
w4570
(w4570)
February 15, 2022, 12:42am
#2
By the looks of things, I would think you want the UI to look more brighter just like how AlwaysOnTop makes it appear. I would probably recommend first looking into LightInfluence property in the Properties Tab (Changing the value to 0 so current game lighting wouldn’t factor much the appearance of the UI) of the Surface GUI then if needed you can also play around with the Brightness property. Hope this helps.
2 Likes
me7474
(me7474)
February 15, 2022, 12:57am
#3
Thanks, I mainly do scripting and am pretty new to UI work. Going to try this when I get home, if it works I will mark as solution.
1 Like
If you change the zindex of each individual gui, you will garner a result similar to the top option, without needing alwaysontop to be enabled.
1 Like
me7474
(me7474)
February 15, 2022, 1:11am
#5
the trophy pattern is a texture, I am hoping to keep it that way because I have a script that animates it.
1 Like
me7474
(me7474)
February 15, 2022, 1:14am
#6
hey, this fixed part of the problem.
however, sometimes the trophies still appear in front. from the looks of things, this is dependent on the angle.
any ideas on how to fix?
Downrest
(Down)
February 15, 2022, 1:17am
#7
Just put the SurfaceGui of the trophy a bit more forward, or just make the Zindex of the GUI to 5.
1 Like
me7474
(me7474)
February 15, 2022, 1:19am
#8
I have pulled it forward by 2 studs here, and set the ZIndex to 5.
Downrest
(Down)
February 15, 2022, 1:24am
#9
Is the front trophy image transparent?
1 Like
me7474
(me7474)
February 15, 2022, 1:45am
#10
yes, it is set to 0.9 transparency.
Downrest
(Down)
February 15, 2022, 1:50am
#11
Set this entire GUI’s transparency to 0.
1 Like
me7474
(me7474)
February 15, 2022, 1:59am
#12
the GUI is at 0 transparency. the trophy texture behind is at 0.9.
1 Like