Author Topic: Material Design - how to do a ink element animation ?  (Read 2315 times)

vikti

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 25
    • View Profile
Material Design - how to do a ink element animation ?
« on: August 26, 2014, 10:21:42 AM »
Hello,

I want to create some assets based on Google's material design specs.

I would like to recreate the material response behavior on a touch event. It is simply a round colored shape scaling to reach the maximum size of a sprite.

I am stuck on a little thing. I can't create a round shape in Unity !

So is there a way with little performance footprint to generate a a round vector shape with NGUI ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Material Design - how to do a ink element animation ?
« Reply #1 on: August 27, 2014, 04:14:17 AM »
NGUI doesn't do vectors at all, so I'm not sure if I understood your question correctly. Just create a round shape in photoshop, save it as a texture, then use it either as is or by adding it to an atlas.

vikti

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 25
    • View Profile
Re: Material Design - how to do a ink element animation ?
« Reply #2 on: August 27, 2014, 04:14:53 PM »
Yep, it is what I done and it works, but I wonder if it is as efficient as a vector shape.