Can't change actor color

titostitos Member Posts: 41
edited January 2012 in Working with GS (Mac)
a rule with constraint attribut to self.Color.Blue to 255 dose nothing.
I set up one just right after to adjust the width and it work. But it dose not change color.

.90 beta

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    edited January 2012
    gamesalad uses rgb color method with values ranging from 0 to 1. So to change the color to blue you have to change self.color.blue to 1, change self.color.red to 0, and change self.color.green to 0

    cheers

    edit: to add to that if you wanted to change the color to white, you would change all 3 color attributes to 1, and if you wanted to change the color to black, you would change all 3 color attributes to 0
  • ultimaultima Member, PRO Posts: 1,207
    or you can use 255/255 if that's more convenient for you =)
  • titostitos Member Posts: 41
    :)
Sign In or Register to comment.