Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Beziers and Tweening
Started by horacebury Aug 07 2013 11:51 PM

2 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

horacebury

[GLOBAL: userInfoPane.html]
horacebury
  • Corona Geek

  • 3,069 posts
  • Corona SDK

Would be great to have a newBezier function, although I know there's a lot which could be done with that and it could get extremely complicated.

 

Meant to remove Tweening from the subject, but as I didn't...

 

It would also be good to pass a path - or series - into a transition function. For example:

 

transition.to( newCircle(100,100,1).path, { time=100, easing=cubic, path={ .1, .5, .7 } )

 

would essentially define four tween segments, being the equivalent of four transitions, chained together. Currently, this is only possible by using timers or onComplete properties of the transition, which can get very messy and unreadable.



[TOPIC: post.html]
#2

jstrahan

[GLOBAL: userInfoPane.html]
jstrahan
  • Corona Geek

  • 1,926 posts
  • Corona SDK

[TOPIC: post.html]
#3

samwit

[GLOBAL: userInfoPane.html]
samwit
  • Enthusiast

  • 41 posts
  • Enterprise


[topic_controls]
[/topic_controls]