Karuzo Posted April 24, 2014 Share Posted April 24, 2014 Hey Guys, I wanted to know what the color argument in the dxDrawImage function really does, i know i can handle the alpha with it, but is it possible to set the color of the existing image? lets say i have an image which is white, and i want it green, is that possible ? Link to comment
Overkillz Posted April 24, 2014 Share Posted April 24, 2014 dxDrawImage(posX+sizeX,posY,20,25,"data/exmple.png",0,0,0,tocolor(255,0,0,255)) I think u are trying to find this. Link to comment
Karuzo Posted April 24, 2014 Author Share Posted April 24, 2014 Ah, yeah just tested it with a blank image, seems to don't work with black pictures, thanks guys. Link to comment
FuriouZ Posted April 24, 2014 Share Posted April 24, 2014 Ah, yeah just tested it with a blank image, seems to don't work with black pictures, thanks guys. Yes, picture must be white, used it too on my hud Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now