I'm making a simple game.
I create balls on field. Creation has its own animation. After that there is check if balls of same color are near they are destoyed. Destruction has it's own animation.
Right now I do a signal when creation animation is over. Destruction actions wait for that signal to start own animations.
But with lot of following one after another events and animations it's difficult to control everything with signals.
Especially I can't find solution for a situation when I need to start actions but they shouldn't start if there is any animations. And using signals is not an option because if animation didn't start then it won't produce any signal. And actions will be waiting forever for that signal.
Is there any other and hopefully more optimal way to handle such things with animations?