Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: vikti on August 26, 2014, 10:21:42 AM

Title: Material Design - how to do a ink element animation ?
Post by: vikti 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 (http://www.google.com/design/spec/animation/responsive-interaction.html#responsive-interaction-responsive-interaction-examples) 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 ?
Title: Re: Material Design - how to do a ink element animation ?
Post by: ArenMook 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.
Title: Re: Material Design - how to do a ink element animation ?
Post by: vikti 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.