Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

piano tiles

Discussion in '2D' started by Nimaafshar, Jul 27, 2014.

  1. Nimaafshar

    Nimaafshar

    Joined:
    Jul 16, 2014
    Posts:
    1
    Hi;
    i want to make a game like piano tiles to learn unity.
    i create simple menu for game & create a plane with texture like piano tiles by Animate uv when i want to make Black Tile i dont know how do it .
    I make 4 different texture by random but when another texture want to set on the plane the before texture has been removed from the plane .
    please help me how do it ?????
     

    Attached Files:

  2. Kubequ

    Kubequ

    Joined:
    Apr 6, 2015
    Posts:
    1
    I need code like this.
     
  3. davidjohn123

    davidjohn123

    Joined:
    Jan 8, 2016
    Posts:
    3
    did you find any answer?
     
  4. capnjake

    capnjake

    Joined:
    Nov 12, 2013
    Posts:
    53
    I'm confused by what you're saying entirely but I'm assuming you want the title to change colors? Have you considered using Unity's UI and cavas? Simply put images on your canvas of white tiles with black borders and then when you need to change their colors just apply a #000 tint to it and then back to a #fff tint when it needs to change back.

    You can also create grids of any size with the UI system so I feel like it would be pretty good for what you're trying to accomplish. I think you're making it hard on yourself.
     
  5. Mckally

    Mckally

    Joined:
    Jul 24, 2018
    Posts:
    3
    the gradually increase speed of the piano tile..can u give me the script ?