Best way to change an actors color?

famekraftsfamekrafts Member, BASIC Posts: 834
I have set up a text attribute when that attribute is red the actor self color red needs to be red using change attribute. But it's not working even with constrain as well as interpolate method. exactly which behaviour needs to be used to change the color of an actor?

Comments

  • LooseMooseLooseMoose Member Posts: 224
    edited November 2012
    Have you got a rule set up on your actor so when text attribute = red
    change attribute > actor > color > green to 0
    change attribute > actor > colour > blue to 0

  • LumpAppsLumpApps Member Posts: 2,881
    Correct, and use a white image. Else the colors will be mixed with the original color of the image.
  • mataruamatarua Auckland, New ZealandMember Posts: 854
    Yes, it's annoying working in the RGB space sometimes as the more colour you add the lighter it becomes, so as @kyukon said change the other colours to 0 (lights off) and it will only affect the white or lighter parts of the image, not black as also said by @LudwigHeijden.
  • famekraftsfamekrafts Member, BASIC Posts: 834
    edited November 2012
    Got it friends i was confusing the attribute. There were two attributes of colors one for the ink one for the screen, I was mixing them up, that is why it was not working. My app is ready I just have to test it now but the apps not downloading from gs publish, been over an hour now.
  • overzero3overzero3 Member Posts: 18
    Ok, sorry guys, but i'm gonna use this thread...don't think it's fair to open a new one, and my question is related so...here it goes:
    I managed to make a image blink in red and white by changing the blue and green color attributes from 1 to 0 with a timer inside a rule with the boolean condition (when confirm = false). When confirm is true, i change the green and blue attributes back to 1.
    The problem is that this image will stay the last color it was before the confirm attribute becomes true. If it was red the time the confirm changes to true, it will remain red. Same thing for white, only that i need it to be always white after the confirm.
    Anyonde know what i am doing wrong?
  • mataruamatarua Auckland, New ZealandMember Posts: 854
    You could fold down the 'otherwise' tab on this rule and reset the colour to white there. That way if the timer is playing it will flash and when it's not playing it will be set to the values you specify in 'otherwise'
  • overzero3overzero3 Member Posts: 18
    Tried it as well...acutally, i tried using otherwise, and also tried it in another rule with another boolean and still doesnt work. To be honest it dont make much sense to me! Is there anyway to "reset" the color attribute?
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Hi @overzero3 - Send me an email with your project file. I'll take a look.

    braydon(at)coyer(dot)net
  • famekraftsfamekrafts Member, BASIC Posts: 834
    This happens a lot when I use true false. When you are making it true add another Line where it makes the color white again.
Sign In or Register to comment.