Transition to extend line length

Hi all,

Is there a transition to extend line length?

Or what would be the best way to achieve this ?

Ways I can think of : 

  • Transition the height of a really skinny rectangle, with some rotation if needed.

  • Change or append an x,y point of a line at every frame.

Thanks in advance!

Hi @wuhu.apps,

I would personally recommend the “skinny rectangle” option, primarily because it allows for the manipulation of any corner point using the “path” key-values in a transition.

https://docs.coronalabs.com/api/library/display/newRect.html

Best regards,

Brent

Alright thanks Brent.

Hi @wuhu.apps,

I would personally recommend the “skinny rectangle” option, primarily because it allows for the manipulation of any corner point using the “path” key-values in a transition.

https://docs.coronalabs.com/api/library/display/newRect.html

Best regards,

Brent

Alright thanks Brent.