Increasing the size of a sprite

Chat about anything not covered in these forums, but keep it civil!

Post » Tue Oct 14, 2014 3:24 am

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
B
34
S
3
G
1
Posts: 46
Reputation: 1,670

Post » Tue Oct 14, 2014 3:31 am

if sprite height is <= 150, 150
and
if sprite width is <= 150, 150

then increase the size. (otherwise, it won't)
B
86
S
43
G
71
Posts: 601
Reputation: 43,619

Post » Tue Oct 14, 2014 11:55 am

Sorted!
Thank you.
B
34
S
3
G
1
Posts: 46
Reputation: 1,670


Return to Open Topic

Who is online

Users browsing this forum: bnBigNasty and 3 guests