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,675

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
88
S
43
G
71
Posts: 601
Reputation: 43,669

Post » Tue Oct 14, 2014 11:55 am

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


Return to Open Topic

Who is online

Users browsing this forum: No registered users and 8 guests