Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

How to ease transition?
Started by justkyle Feb 03 2010 12:00 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

justkyle

[GLOBAL: userInfoPane.html]
justkyle
  • Observer

  • 8 posts
  • Corona SDK

I'm having trouble figuring out how to change the default transition.to easing from linear to any other (ie. outQuad).

I see it listed in the Reference but not how to implement this.

Can you give me an example please?

Thanks,
Kyle
uid: 4609 topic_id: 444 reply_id: 300444


[TOPIC: post.html]
#2

jondanao

[GLOBAL: userInfoPane.html]
jondanao
  • Observer

  • 21 posts
  • Guests

Kyle,

Something like this:
local tween = transition.to(myDisplayObject, { time=1000, alpha=0, transition = easing.outQuad } )

Jon
uid: 3544 topic_id: 444 reply_id: 855


[TOPIC: post.html]
#3

justkyle

[GLOBAL: userInfoPane.html]
justkyle
  • Observer

  • 8 posts
  • Corona SDK

Thanks! I was trying to include the parameters with it before... makes more sense now!
uid: 4609 topic_id: 444 reply_id: 857



[topic_controls]
[/topic_controls]