• Image Size
    3 replies, posted
Dear Readers, Ive been making a HUD and i want to insert my self made HUD (made with photoshop) in it. Im using this code and it's all working fine. [code] local breen_img = vgui.Create( "DImage", Frame ) breen_img:SetPos( 800, 600 ) breen_img:SetSize( 500, 500 ) breen_img:SetImage( "" ) [/code] The only problem is that or the picture is to small or to big. What is the size that i need to use in photoshop? (example: 1920x1080) So it looks nice and HD. Thank you :)
The size you plan on using for the HUD.
Separate the HUD into different images so you can place and scale them based on the user's resolution -- using a single image would require you to create a lot of different versions.
[QUOTE=code_gs;52608347]Separate the HUD into different images so you can place and scale them based on the user's resolution -- using a single image would require you to create a lot of different versions.[/QUOTE] Okay, i will try that
Sorry, you need to Log In to post a reply to this thread.