Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi 8BitWarrior. Thank you for sharing this library. May I ask you a question. Is there a way how to tween a group of tweens and then invoke a callback when all of them finished tweening? So far I managed to achieve that by having a count of individual tweens then calling a finished callback on each tween and then when the count of callback invokations reaches the total count, then execute the final finished code. But to me it doesn't look very elegant. Please advice. Thank you.

Hmm. Out-of-the-box, there is no function for this. I would need to know what you are doing to better help build a simpler solution.

I will give it some thought.

I want to click an object and then move couple of other objects and when all of them finished moving, I want to set some flag. Each and every object moves and rotates to different position.

Depending on how things are timed, you could add a callback to just the last-to-finish tween. Callbacks might be the best solution for now. There might be easier ways to help achieve this in the future.