Character Color Changing When Tapped

Discussion in 'How Can I...?' started by fieldsg22, Jul 20, 2016.

  1. fieldsg22

    fieldsg22 Boxer

    Joined:
    Nov 6, 2015
    Messages:
    14
    Likes Received:
    0
    I am wanting to have a character (box, circle, triangle, etc.) go around a surface on one screen. However, it must pass through sections of a color. The character may be green, and the section may be blue. The player will have to tap a button to change the color to the same color as the section to continue.

    Question:
    How can I create the action for the character to change color to the color of the button, and stay that color until another button is tapped?

    If the color of the character is not the same as the section color then it is a collide function, and the game ends.

    Thanks in advance for your assistance on this.
     
  2. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    Not possible. Sorry.
     
  3. fieldsg22

    fieldsg22 Boxer

    Joined:
    Nov 6, 2015
    Messages:
    14
    Likes Received:
    0
    So 'color switch' is different?
     
  4. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    Color switch is switch by the game logic not by the user. So yeah, it's different.
     
  5. fieldsg22

    fieldsg22 Boxer

    Joined:
    Nov 6, 2015
    Messages:
    14
    Likes Received:
    0
    Understood...thanks so much
     

Share This Page