This is backpackable code that you can use to animate your sprites using squash and stretch! For best understanding, watch Griffpatch's tutorial linked in the credits.
Inspired from Griffpatch's tutorial for stretchy sprites! https://www.youtube.com/watch?v=Xkcosme9hyE