In the game i'm developing, the player controls a spider that drops down on a web when the player double taps on it. I want to have the spider return to the top of the screen after dropping down. At the moment, i'm using two tweens: SP_TRANSITION_EASE_OUT_ELASTIC to drop down, and SP_TRANSITION_LINEAR to return. I'm not sure these are the final tweens I want to use, but the bounciness of the elastic one is close to what I have in mind.
Currently, i'm calling the returning tween once the elastic one has completed - so in its SP_EVENT_TYPE_TWEEN_COMPLETED event - but I notice there is a bit of a delay before the second tween takes over. I would rather the spider drops down and then straight back up again but with a bit of bounce. Actually, i've just tried using two Linear tweens and it does go straight back up, so I think the delay is to do with the time it takes the Elastic tween to stop bouncing? Any suggestions for getting the behaviour i'm after? (like a yo-yo I suppose)
Also, for more complicated movement patterns, am I able to chain tweens, and if so, would this be done in the way i'm doing it with these two? ie, calling the next tween in the previous one's SP_EVENT_TYPE_TWEEN_COMPLETED event.