Hi, I am increasing the size of a sprite from size 0,0 gradually to it gets 150,150, but how do I stop it when it reaches this size.
Appreciate any help here
Cheers
matthew
Develop games in your browser. Powerful, performant & highly capable.
if sprite height is <= 150, 150
and
if sprite width is <= 150, 150
then increase the size. (otherwise, it won't)
Sorted!
Thank you.