• Advertisement
Sign in to follow this  

Simulating a line flow

This topic is 1545 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi All,

 

I would like to simulate a simple line flow.  Suppose that I have a line that is drawn like that ----------------   and it has a texture. 

 

I would like to give the feel that the line flows from left to right.  In case having also different line styles like -/\/\-- , the flow also should go from left to right considering the ripples.

 

I'm using stage3D, Flash, Actionscript, and plan to do that using shaders.   

 

My idea is just to tween the alpha of the texture, but how do I tween it so that it feels like the there is a flow in the line ?

 

 

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement