How large is the difference between the initial value (get_position()
) and the final value (alvo
) of the tween? If it is too small you may not notice the effect at all. Same for the duration: given how short it is (0.2
) it might happen to fast to notice.
Alternatively you can create the bounce-effect yourself by chaining the interpolations using the (optional) delay-parameter of interpolate_property
:
var initial = get_position()
move_frase.interpolate_property(self, "position:y", get_position.y, alvo.y, .1, Tween.TRANS_LINEAR, Tween.EASE_IN_OUT)
move_frase.interpolate_property(self, "position:y", alvo.y, alvo.y-100, .1, Tween.TRANS_LINEAR, Tween.EASE_IN_OUT, 0.1)