How can I make the player change color when it collide with a special object, and than pass through the enemy-color if it has the same color. But if the player is another color than the enemy-color, the enemy-color will kill the player when it collide. Just like in Color Switch.
Its slide of hand, a trick, the color that the action changes you to, that collider or obstacle can be passed through and is not an enemy. For example If I turn purple the purple blocks will let me pass (a decoration) and the other colors destroy you (they are enemies). This is setup in advance (I know my player will turn purple when colliding with this action so lets make the purple objects ahead not ememies). Hope it helps, I hope its correct for that matter lol (my best guess).
how to make an unlocked character switch just his color when colliding with an action and not his cheap to the main character , for example like color switch when unlocking a new character that got a different cheap than the main character. when it collide with the action just change the color.Please can someone help me.Thanks