Search Unity

HOW TO ACHIEVE THIS

Discussion in '2D' started by kasana_94, Nov 24, 2015.

  1. kasana_94

    kasana_94

    Joined:
    Apr 13, 2014
    Posts:
    24
    Hello everyone,

    i am making a 2d brick breaker game. i want to achieve a transition effect in game. For eg : when the ball hits one brick, all the bricks change to ice and the theme changes with background. I want to show the transition effect. how to achieve this
     
  2. Bionicle_fanatic

    Bionicle_fanatic

    Joined:
    Jun 8, 2013
    Posts:
    368
    First step: buy a new caps key, because yours seems to be broken. [:p] Secondly, have you checked out the Animation window, and the GetComponent<Animator>().Play() function? Or using Color.Lerp on all the needed sprites, based off a global variable on your game controller script?