change size by (([size v] of [Other sprite v])/[5])
Last edited by RedRocker227 (2012-02-28 18:43:53)
Offline
Make a variable called "sprite 2 size". Then for the sprite who determines the size, do this:
when gf clicked set [sprite 2 size v] to (size)Then for the sprite which is changing size, do this:
when gf clicked change size by (Sprite 2 size)Then put whatever code you want afterwards.
Last edited by Mokat (2012-02-28 18:46:38)
Offline
Mokat wrote:
Make a variable called "sprite 2 size". Then for the sprite who determines the size, do this:
when gf clicked set [sprite 2 size v] to (size)Then for the sprite which is changing size, do this:when gf clicked change size by (Sprite 2 size)Then put whatever code you want afterwards.
ok, thanks!
Offline
Create a variable which is like Size or something.
Then go to to a sprite and do this script:
set [size v] to (size)With this you can set the variable to the size of a single sprite.
set size to (size) %
Last edited by SOScratch (2012-02-28 18:50:01)
Offline