Hi!
As an option, save the window initial height into a variable, then in the animation loop divide it with the window current height, thus you’ll get the scale that you can apply to the sprite.
Hi!
As an option, save the window initial height into a variable, then in the animation loop divide it with the window current height, thus you’ll get the scale that you can apply to the sprite.