Open GoogleCodeExporter opened 8 years ago
I got this issue also. Sometimes tweens just dont play at all, sometimes they
stop at the middle and don't play until the end altough callbacks still being
called when its finishes.
Original comment by andrei.d...@gmail.com
on 16 Aug 2013 at 5:41
exactly the same issue, making me crazy.
sometimes tweens don't play but callbacks are called.
Original comment by thomas.s...@gmail.com
on 1 Oct 2013 at 8:05
I have a little something for you..!
The bug is related to the pool, as everyone was thinking.
So I made a quick fix to solve this : dynamic pool (source attached)
So add the new pool to your project (or replace the existing one) and add this
line when you initialize your tween manager :
Tween.ensurePoolCapacity(0);
And that's all !
A pool capacity of 0 now means the pool is dynamic.
Which solves the problem, pool is now smaller than before but there is a little
overhead for memory allocation (which may be a problem on android, but not on
pc)
Tell me if it is working fine on pc and android !
Original comment by thomas.s...@gmail.com
on 16 Oct 2013 at 1:53
Attachments:
Original issue reported on code.google.com by
infernal...@gmail.com
on 26 Jul 2013 at 9:18