The Daily Click ::. Forums ::. Klik Coding Help ::. Replace Color
 

Post Reply  Post Oekaki 
 

Posted By Message

»xerus



Registered
  28/06/2002
Points
  675

You've Been Circy'd!Game of the Week Winner
13th May, 2005 at 15:08:26 -

First of all, In MMF 1.5, what does the Calculation represent in the replace color event?

I was wondering if theres someway to store the RGB values of a certain color in an object in it's values, so that the replace color doesnt have to go through a million events looking for what color it currently is. Instead, I want to make it so that it can look at the values for the current color.

Is there a way to do this?
Thanks ;D

 
n/a

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1971

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
13th May, 2005 at 15:34:36 -

Colours can be stored as a single value (and therefore in an array or ini or whatever) so you don't need to use the "Get RGB" function.

This value can be found like so:

Colour = Red + (Green * 256) + (Blue * 65536)

 
n/a

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
13th May, 2005 at 16:08:23 -

lol i was just gonna add a topic just like this one

 
n/a
   

Post Reply



 



Advertisement

Worth A Click