Transition easing bug?

Hi @Brent, yes i seeing otherwise. This little piece of code does not work as I would expect:

local circle = display.newCircle( display.contentCenterX, display.contentCenterY, 50 )

transition.to( circle, {xScale=1.05, yScale=1.05, time=1000, iterations=-1, transition=easing.continuousLoop} )

 

and certainly behaves very differently from the same code without transition=easing.continuousLoop.

Hi @martinellid,

I see your point, and I’ve bumped this with engineering. I thought it was fixed but apparently it’s not, at least in this specific use case.

Brent

Thank you Brent

Was this fixed? I think I have the same bug.

The example code I posted at the start of the thread shows it has been fixed.

Below is a simple example of what I am trying to do. I want to add an image and move it back and forth repetitively. the continuousLoop seems to be causing the problem.

[lua]local circle = display.newCircle( display.contentCenterX, display.contentCenterY, 20 )

transition.to( circle, { time=3000, x= 260, iterations=-1, transition=easing.continuousLoop } )[/lua]

I am pasting this into the physics based game template’s show function.

The circle is automatically placed at x = 160. With the above code I would expect the circle to move 100 pixels to the right to x = 260 and then back again, repeating indefinitely. Instead it moves to the left.

Am I missing something obvious? I am using 2014.2189 (2014.3.6)

In case anyone else comes across this, my issue was fixed in release 2014.2381

Was this fixed? I think I have the same bug.

The example code I posted at the start of the thread shows it has been fixed.

Below is a simple example of what I am trying to do. I want to add an image and move it back and forth repetitively. the continuousLoop seems to be causing the problem.

[lua]local circle = display.newCircle( display.contentCenterX, display.contentCenterY, 20 )

transition.to( circle, { time=3000, x= 260, iterations=-1, transition=easing.continuousLoop } )[/lua]

I am pasting this into the physics based game template’s show function.

The circle is automatically placed at x = 160. With the above code I would expect the circle to move 100 pixels to the right to x = 260 and then back again, repeating indefinitely. Instead it moves to the left.

Am I missing something obvious? I am using 2014.2189 (2014.3.6)

In case anyone else comes across this, my issue was fixed in release 2014.2381