The Daily Click ::. Forums ::. Klik Coding Help ::. RGB coefficient in MMF2
 

Post Reply  Post Oekaki 
 

Posted By Message

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
20th February, 2015 at 20/02/2015 19:53:15 -

I'm temporarily setting the RGB coefficient to 250 to achieve a red tint to the character sprite, but I don't know what number sets it back to default! 0 is black, anything above 250 is also black.

Edit: I found the solution, to anyone else who needs to know it's this expression: GetRGB(255, 255, 255)

Edited by -Liam-

 
Image

Tell 'em Babs is 'ere...

nim



Registered
  17/05/2002
Points
  7234
21st February, 2015 at 21/02/2015 03:35:16 -

Thanks for posting the solution!

Does modifying the RGB coefficient affect just one instance or all objects of the same type (like replace colour does)?

 
//

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
21st February, 2015 at 21/02/2015 17:01:17 -

Just tested it, and setting the RGB coefficient only affects one instance of the object.

 
Image

Tell 'em Babs is 'ere...
   

Post Reply



 



Advertisement

Worth A Click