Closed GoogleCodeExporter closed 9 years ago
Forgot to say the Auto Remove was enabled!
Original comment by paulovic...@gmail.com
on 31 Aug 2012 at 1:00
Issue 12 has been merged into this issue.
Original comment by aurelien.ribon
on 31 Aug 2012 at 1:01
Wow, this is really strange. Sounds like a concurrency issue to me. Do you
update the manager in the same thread as the one in which you call
getRunningTimelinesCount()?
Original comment by aurelien.ribon
on 31 Aug 2012 at 1:03
No. you're right, that is the problem. We are creating the Tween in the main
thread and updating in a rendering thread.
Original comment by paulovic...@gmail.com
on 31 Aug 2012 at 1:11
Glad you solved your issue :)
Original comment by aurelien.ribon
on 31 Aug 2012 at 1:14
Don't know if this is the right place to ask, but what is the best approach to
avoid this concurrency problems in your engine. I have a main thread that
create all the tweens and update the objects and a redering thread that calls
TweenManage.update() and draws all the objects.
Original comment by paulovic...@gmail.com
on 31 Aug 2012 at 1:17
Are you speaking about a native android application or a game? In either way,
what do you call a "main thread"? Android applications entry point is the
"onCreate()" method, which already runs in the rendering thread. Do you create
another thread in there?
Btw, if you need to paste code or if you want a better place to discuss this,
see the forum: http://www.aurelienribon.com/forum/ Issue reports are quite
limited :p
Original comment by aurelien.ribon
on 31 Aug 2012 at 1:25
Thank you, i just did that!
Original comment by paulovic...@gmail.com
on 31 Aug 2012 at 1:49
Original issue reported on code.google.com by
paulovic...@gmail.com
on 31 Aug 2012 at 12:58