I know this has to have been covered somewhere before, but I just can't find it. So anyway. I load the images for my GUI and then mask them and scale them to the appropriate size for the particular screen resolution, but whenever I scale the images, the masking is messy. take a look.
Graphics 640, 480
Global lArrow = LoadImage("lArrow.bmp")
MaskImage lArrow, 255, 255, 255
ScaleImage larrow, 1.5, 1.5
ClsColor 0, 200, 200
Cls
DrawImage lArrow, 200, 200
While Not KeyHit(1)
Wend
Is there any way to get effective image masking and scaling at the same time?
|