Beginner here, this is the first time I've seen a tween tutorial. I like that you do multiple working examples as it opens up the range of possible applications. I've been trying to puzzle out how to have a sprite break into multiple parts then spin away in random directions and shrinking out of sight. This may be a much more elegant solution than what I'd been doing.
@heneagedundas if the peices are predetermined you could use var dir = Vector2(cos(random_angle),sin(random_angle)) to give them a explode direction and just add velocity to the peices. And let gravity do it's thing as well. Or just use a particle effect.
hi any idea how to fix this? i have a tween that does a typewriter animation for a dialog. i press space bar to go to the next dialog. how to do i cancel the tween animation when i press spacebar while its still animating?
@@Chevifier i just fixed it hahahaa. I was approaching it the wrong way. This video actually made me rethink how to do that. Turns out it was so simple. Just check if the tween was active with tween.is_active() . If it is then tween.stop(). Then richtextlabel.visible_ratio =1. Thanks for this
Beginner here, this is the first time I've seen a tween tutorial. I like that you do multiple working examples as it opens up the range of possible applications. I've been trying to puzzle out how to have a sprite break into multiple parts then spin away in random directions and shrinking out of sight. This may be a much more elegant solution than what I'd been doing.
@heneagedundas if the peices are predetermined you could use var dir = Vector2(cos(random_angle),sin(random_angle)) to give them a explode direction and just add velocity to the peices. And let gravity do it's thing as well. Or just use a particle effect.
Nice, thanks for sharing!!
Oh wow, I was about to code movement like this manually! This video could not have come at a better time for me. Thank you!
one of the best tutorials about the tweens thank you
good overview, thanks for sharing
Very nice and clear tutorial, thank you!
hi any idea how to fix this? i have a tween that does a typewriter animation for a dialog. i press space bar to go to the next dialog. how to do i cancel the tween animation when i press spacebar while its still animating?
Just call tween.kill()
@@Chevifier i just fixed it hahahaa. I was approaching it the wrong way. This video actually made me rethink how to do that. Turns out it was so simple. Just check if the tween was active with tween.is_active() . If it is then tween.stop(). Then richtextlabel.visible_ratio =1. Thanks for this
Just typing that question actually answered my problem lmaoooo
Wish you didn't wave your mouse around constantly
Sorry bad habit 😅