• Vgui help
    3 replies, posted
Time to make some VGUI elements right, so far I have either this [url]http://puu.sh/8CrLv.jpg[/url] or [url]http://puu.sh/8CoIb.jpg[/url]. I know they're not really great looking but here's my question. I'm trying to make the text Texting stuff show on first plan, with the roundedbox in the background, I want all of the VGUI elements to have a decent amount of visibility but the text always being really easy to read therefore not getting hidden by the rounded box, I don't know if you get what I mean, but I hope you do!
So, you are asking about drawing order? In this case, everything that is lower in code is drawn above what is before. :v:
If you want your text to be easier to read, use draw.DrawTextOutlined
[QUOTE=Robotboy655;44746786]So, you are asking about drawing order? In this case, everything that is lower in code is drawn above what is before. :v:[/QUOTE] I don't know if it would be really draw order, I just want the text to be first plan as the roundedbox is background so the text can be easily seen even if I set the box alpha pretty high. I'll try both of you guys solutions EDIT: Welp, thanks RobotBoy, that was quite simple. Should have thought about drawing text after drawing the box. Solved :D
Sorry, you need to Log In to post a reply to this thread.