bug with transition ?

hi, it’s seems that there is a bug with transition.

When i repeat this code on the corona simulator the scale at the end is different …
 

Could you test that at home ?

local character = display.newCircle (10,10,50) function next(obj) transition.to(character, { time=50, x=150, y=300, yScale=1, xScale=1, onComplete=en })         end local transitionbegin = transition.to( character, { tag=begin,time=100, x=150, y=100, yScale=4, xScale=4, onComplete=next })

I think what you need is this:

local character = display.newCircle (10,10,50) function next(obj) transition.to(obj, { time=50, x=150, y=300, yScale=1, xScale=1, onComplete=en }) end local transitionbegin = transition.to( character, { tag=begin,time=100, x=150, y=100, yScale=4, xScale=4, onComplete=next })

Hi thanks but what i have wrote are true. It’s a bug because i work on linux on a emulated version of corona. On windows no bug and your code is already correct.

Corona SDK isn’t supported on Linux.

Rob

it’s a shame, often the encoders are on linux and mac

Nevertheless, it works 90% Linux

I think what you need is this:

local character = display.newCircle (10,10,50) function next(obj) transition.to(obj, { time=50, x=150, y=300, yScale=1, xScale=1, onComplete=en }) end local transitionbegin = transition.to( character, { tag=begin,time=100, x=150, y=100, yScale=4, xScale=4, onComplete=next })

Hi thanks but what i have wrote are true. It’s a bug because i work on linux on a emulated version of corona. On windows no bug and your code is already correct.

Corona SDK isn’t supported on Linux.

Rob

it’s a shame, often the encoders are on linux and mac

Nevertheless, it works 90% Linux