- Joined
- Nov 13, 2006
- Messages
- 1,814
how to create a image what isnt square?
i created in paint a progressbar, imported into game and created via CreateImage and gived same height/width than the image in pixel and look weird in game
lol i dont talked about alpha and transparency....
it is a 171x21 pixel image, i dont need alpha or anything like that, just it is square in game, when it must be rect (like tube) so my problem is this image look dumb in game (game show the image but make bigger crap from it)
local image Img = CreateImage(udg_Background,width, height, 0, x,y, 0, 0, 0, 0, 1)
call CreateImage( "Textures\\New1.tga", 177, 18, 0, 0, 0, 10, 0, 0, 0, 2 )
local image img = CreateImage("Black.tga", 200, 1000, 1, 0, 0,1, 0, 0, 0, 1)
call SetImageRenderAlways(img, true)
call SetImageColor(img, 255, 255, 255, 200)