User Tag List

Results 1 to 6 of 6

Thread: Revert colours after RGB colour change?

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Revert colours after RGB colour change?

    Hello!

    After using the RGB colour change feature at runtime (where you set a specific RGB colour to a new one, to change the colour of an active object), is there any way to revert the object back to it's original colours?

  2. #2
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Revert colours after RGB colour change?

    You could save the original color codes in the alterable values in the object?

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Revert colours after RGB colour change?

    That's my current solution, but the problem with that is:

    If we have two colours in an object:
    255,0,0
    0,0,255

    And then we set 255,0,0 to 0,0,255, the entire object becomes blue, there is no way to distinguish between the two colours which existed in the first place.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Revert colours after RGB colour change?

    Just use a color that different by 1, it will look exactly the same to the human eye, but will allow the revert. in your example, make the color 0,1,255 or 0,0,254. that way its still numerically different to 0,0,255 and you can still control them seperately.

  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Revert colours after RGB colour change?

    I tried that too, but there are so many different colours in the image that eventually there's a chance two colours will 'overlap'.

    But i guess that's a chance i'm just going to have to live with.

  6. #6
    Clicker Fusion 2.5 Developer
    00J's Avatar
    Join Date
    Jun 2006
    Location
    Virginia, USA
    Posts
    1,510
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Revert colours after RGB colour change?

    That's why you've got to pre-limit the color types that you want the allow the user to use.

    In Roller Coaster Tycoon, Chris Sawyer did this. I think he used the Primary colors... Not all 16mil. [laugh]

Similar Threads

  1. Set Colour for counters event on iOS seems to change to the wrong colour
    By Diablohead in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 15th December 2013, 11:23 AM
  2. A way to desaturate colours or fade from colour to black/white/grey?
    By TheSynapse in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 6th February 2012, 08:33 PM
  3. Colour change example for ayejes.
    By Dynamite in forum File Archive
    Replies: 0
    Last Post: 17th February 2008, 03:43 AM
  4. Change Colour
    By MechatheSlag in forum Multimedia Fusion 2 - Technical Support
    Replies: 20
    Last Post: 20th October 2006, 04:31 PM
  5. change bg colour of events?
    By Clicktastic in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 26th August 2006, 06:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •