Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Simulating a line flow

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1 AhmedCoeia   Members   

510
Like
0Likes
Like

Posted 28 October 2013 - 08:58 AM

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 ?

 

 






Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.