Detect Right Color

Discussion in 'Buildbox 3.0' started by Dario, Dec 3, 2018.

  1. Dario

    Dario Boxer

    Joined:
    Dec 2, 2018
    Messages:
    42
    Likes Received:
    0
    Hello,

    I'm new on BB. I made a few scenes like on Color Road game. My question is how to achieve changing colors of object and detect if you hit the right color? For example: if current color is red, you can hit only red. But if you hit a yellow color, then you lose.

    On BB2 I had an option for define what is enemy and what is point for each scene. On BB3 I don't have that option. Everything was defined on Objects section.

    Thanks and kind regards
     
  2. spicedbeangames

    spicedbeangames Miniboss Boxer

    Joined:
    Mar 31, 2016
    Messages:
    1,389
    Likes Received:
    596
    I am currently doing something similar with colours and changing them. I only way I have found so far it to create objects for each colour you wish to use and then make versions of each colour as enemy and drop those in the places where needed. So a red one would be ok, but you would use the enemy colours next to it.
     
    Dario likes this.
  3. Dario

    Dario Boxer

    Joined:
    Dec 2, 2018
    Messages:
    42
    Likes Received:
    0
    yes, I'm already figured that out after my post to forum. Thanks a lot :)
     
  4. wesam_badr

    wesam_badr Miniboss Boxer

    Joined:
    Oct 10, 2015
    Messages:
    1,065
    Likes Received:
    479
    Yes that's the only way
     
    Dario likes this.
  5. Dario

    Dario Boxer

    Joined:
    Dec 2, 2018
    Messages:
    42
    Likes Received:
    0
    How can I get an animation for change character color like on Color Road or Color Switch?
    I didn't saw action
     
  6. spicedbeangames

    spicedbeangames Miniboss Boxer

    Joined:
    Mar 31, 2016
    Messages:
    1,389
    Likes Received:
    596
    You can use an animation to change the colour but you won't be able to interact with it using a different colour. As I said above, right now - the only solution is to create objectives for each colour, then different objects for those colours set to enemy.
     
    Dario likes this.
  7. Lakshay

    Lakshay Boxer

    Joined:
    Sep 9, 2018
    Messages:
    6
    Likes Received:
    0
    How will you set the scenes when the character color is red than enemy also have to be?
    how can we do that
     

Share This Page