lrsordi / java-universal-tween-engine

Automatically exported from code.google.com/p/java-universal-tween-engine
0 stars 0 forks source link

callback in timeline never called. #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Timeline.createSequence
2. push tween.to
3. push pause
4. push Tween.call

What is the expected output? What do you see instead?

Expected: Tween.call callback is called after tween and pause.
Actual: Tween.call callback never called.

What version of the product are you using? On what operating system?

6.1.1 linux

Please provide any additional information below.

Original issue reported on code.google.com by felixwatts on 15 Apr 2012 at 7:43

GoogleCodeExporter commented 8 years ago
Issue reproduced. In timelines, callbacks of inner tweens seems to be skipped 
if they belong to the last tween. Adding a pause after tween.call() makes it 
working again.

I'm trying to fix that.

Original comment by aurelien.ribon on 16 Apr 2012 at 8:43

GoogleCodeExporter commented 8 years ago
I fixed the issue in latest commit. This change added a lot of precision to the 
engine. You should now be able to send any delta-time to a tween or timeline, 
and every callback of every timeline child should be correctly triggered.

However, I only tested that on my own test-cases, and I don't want to miss any 
corner-case. Can you build the library from the repository (ant build.xml 
script is provided) and tell me if that fixed your issue?

Thanks

Original comment by aurelien.ribon on 17 Apr 2012 at 4:50

GoogleCodeExporter commented 8 years ago
is this fixed in 6.3.1?

Original comment by felixwatts on 19 Apr 2012 at 5:53