• The best way to use images for the menu?
    8 replies, posted
I have few neat menus I've made and I've decided to use PNGs instead of trying to recreate it in Garry's Mod (as it would be pretty impossible to do haha), but I have no idea what would be the best way to use them as I have never made menus using just images. @TL;DR - I have menu in .png and want to turn it into an usable menu, dunno the most efficient way tho.
DImage and DImageButton? PANEL:Paint(w,h)? PANEL:PaintOver(w,h)? What's your problem? P.S. Change that stupid avatar.
DImage for a menu? Wouldn't it be smarter to just apply the textore to DPanel? Using DImage for the menu seems quite off for me somehow :/. P.S Change yours, lol.
[img]http://puu.sh/6izgY.png[/img] I made this one for test
Make the image po2 ( Basically 256x512, leave all unused space transparent ), make a panel with size 242x332, and draw a 256x512 rectangle over it with that texture.
Ah, the image is just an example.
[QUOTE=Robotboy655;43511108] P.S. Change that stupid avatar.[/QUOTE] Not contributing, but I did this: [IMG]http://gyazo.com/e747d649223b707597d6c292821629ba.gif[/IMG]
Sorry, you need to Log In to post a reply to this thread.