Changing Color of Actor?

Hi, I have an actor and I want it to flash different colors. It is a image. How could I do this? Thanks!

Best Answer

Answers

  • ChakkuChakku Member Posts: 1,513
    Change self.color.xxx to xxx

    Hope this helps :)
    Chakku
  • drakee510drakee510 Member Posts: 49
    Change self.color.xxx to xxx
    How do I get to this? Im on mac and a beginner :). Also my purpose is to rapidly change colors randomly.
  • SnapFireStudiosSnapFireStudios Member Posts: 1,603
    well.. you just use a change attribute behavior and then say change attribute self.color.(red/green/blue) to x amount.

    For the randomness, just hook up a random generator using the rand(min,max) function on a different attribute.
    - Thomas
  • drakee510drakee510 Member Posts: 49
    well.. you just use a change attribute behavior and then say change attribute self.color.(red/green/blue) to x amount.

    For the randomness, just hook up a random generator using the rand(min,max) function on a different attribute.
    - Thomas
    Thanks! What type of attribute should I use?

  • PixelPunPixelPun Member Posts: 324
    Also, if you have very specific colors for different parts of the actor, you could do a change image or an animation.
Sign In or Register to comment.