Jump to content

In-Game Colour brightness with dx functions


.:HyPeX:.

Recommended Posts

Posted

So my issue is, the colours arent enought bright, thought i've already maxed out, the image drawn ingame with dxDrawImage is directly taken from the photoshopped image.

you can see the photoshopped image in the left and ingame in the right.

TW80wmp.png

Code:

  
dxDrawImage(cx-healthwidth/2,cy-healthwidth/2, healthwidth, healthwidth,"speedo/1health.png", i,0,0,tocolor(colorR,colorG,colorB,255),true) 
  

Is there anything i can do to draw an image like that?

Greetz

Posted

I don't know if it's possible. Look at your in-game image: there is a lot of little dark dots, that probably makes the image darker. And I think that it comes from the resolution, because I have it too.

Posted
I don't know if it's possible. Look at your in-game image: there is a lot of little dark dots, that probably makes the image darker.

Oh no, that just simply the image not being drawn fullly smooth to avoid lags...

Posted
Oh Hypex, didn't know about that. Thanks for the information.

Np.

Found out, images dont work out so well in MTA. i drawed a pure blank dot and set a color via tocolor part, and it worked like a charm.

MtCpMpF.png

TW80wmp.png

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...