It looks like you're new here. If you want to get involved, click one of these buttons!
local ball = Bitmap.new(Texture.new("ball.png")) local clip = { {1, 100, ball, {x = 50, y = {50, 150, "linear"}}}, {101, 200, ball, {x = 50, y = {50, 150, "inOutSine"}}}, {201, 300, ball, {x = 50, y = {50, 150, "inOutQuadratic"}}}, {301, 400, ball, {x = 50, y = {50, 150, "inOutCubic"}}}, {401, 500, ball, {x = 50, y = {50, 150, "inOutQuartic"}}}, {501, 600, ball, {x = 50, y = {50, 150, "inOutQuintic"}}}, {601, 700, ball, {x = 50, y = {50, 150, "inOutExponential"}}}, {701, 800, ball, {x = 50, y = {50, 150, "inOutCircular"}}}, } local mc = MovieClip.new(clip) stage:addChild(mc) |
Likes: david3pabon, KoStein
Dislikes: Mells
Comments
I was right except circular doesn't really fit with the rest.
My apps: http://www.yummyyellow.com
I was actually wondering about this yesterday since there's a bunch of different transitions but I don't really know the difference besides just testing them (or looking at the math).
Likes: techdojo, atilim, avo, gorkem
My apps: http://www.yummyyellow.com
cheers
evs
Choose 'Transition Types' from the left hand panel and you get visuals of various easing functions. Seems to suit the way my brain works.
Likes: Caroline, atilim, phongtt
To really appreciate the difference I changed the number of frames from 120 to about 750 and also spaced out the y values a bit more, but kudos to you all the same!
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
The only thing I can think of doing to improve it is to use the easing.lua file in the GTween example that comes with Gideros Studio and actually plotting the points. Turns out I actually had something that with a little modification prints out all of the graphs.
Likes: atilim, Cesar
My apps: http://www.yummyyellow.com