Color sensor

I would like to know how to create an actor able to recognize the background color in which it is located.
I do not speak English well, sorry...

Comments

  • Nate_SNate_S Nate - Pixel Artist - Developer - Graphics Designer Member Posts: 86

    I don't know about a actor that can detect certain colors, but one way of doing it could be:
    If the actor is colliding with (a colored background)
    Do: (Whatever you want)

    also you could say:
    If the backgrounds color attributes are: (whatever color value you want them to be)
    Do: (Whatever you want)

  • wribeiro70wribeiro70 Member Posts: 2

    But how to recognize different colors in the same background?

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    Gamesalad does not offer collision detection based on color.

Sign In or Register to comment.