I forgot to mention that you'll need to change your sprite's offset so that the origin (the orange crosshair) aligns with the bottom of the sprite in the y axis, otherwise the squashing happens from the top and bottom.
Thank you for this great tutorial, that is a easy way to do squash and stretch. I wanted to try to create the effect in the animation player but I think your approach is easier and quicker, will try it out in my project :)
My bad I forgot to mention in the video. You'll need to update your sprite's origin to be at the bottom of the sprite instead of at the middle. The scaling happens around the origin so if its at the players feet it should look how it does in the video.
I forgot to mention that you'll need to change your sprite's offset so that the origin (the orange crosshair) aligns with the bottom of the sprite in the y axis, otherwise the squashing happens from the top and bottom.
Thank you
Thank you for this great tutorial, that is a easy way to do squash and stretch. I wanted to try to create the effect in the animation player but I think your approach is easier and quicker, will try it out in my project :)
Thank you! Didn't know it was that simple
I LOVE U MAN
More more more!
Good Tutorial!
this is a pretty cool solution, but i think it would be better with tweens, no? since godot has a rather easy tweening system.
I looked into this a few days ago, and yeah I think you're right
when i added squashing the player was being squashed from both top and bottom unlike this tutorial... but thanks anyways
My bad I forgot to mention in the video. You'll need to update your sprite's origin to be at the bottom of the sprite instead of at the middle. The scaling happens around the origin so if its at the players feet it should look how it does in the video.
@@cold.111 alr thx