Discuss Scratch

tomliuwhite
Scratcher
99 posts

what is the maximum value of 'set size to'?

what is the maximum value of ‘set size to’?
set size to (150) %

I used above script for one sprite, I set value to 150, 200, 300…But it looks like there is no difference among those values. So I wonder if there is one maximum value for ‘set size to’.
Thanks.
deck26
Scratcher
1000+ posts

what is the maximum value of 'set size to'?

Depends on the size of the costume. A small costume of 4 x 4 can be blown up to a much bigger size value than a large costume of 200x200. Try actually displaying the size and you may see that some of the values you thought were being set were too big for that costume so it we just set to its maximum size.

There is a workaround when you can't set a large size. Switch to a small costume, set the size and switch back to the costume you want.
tomliuwhite
Scratcher
99 posts

what is the maximum value of 'set size to'?

Great, thanks for the advice.
-ThePenMan-
Scratcher
34 posts

what is the maximum value of 'set size to'?

there is a way to make it like up to 10000%
if you make a new costume on the sprite by zooming in until your field of view is smaller than the 2 by 2 boxes, then set pen size to 1, place a dot, shrink it until its very small, then center it. Your main costume should be as it is. next, make this script in your project:
when green flag clicked
switch costume to [small dot v]
set size to (your size here) %
switch costume to [main costume v]
mlcreater
Scratcher
1000+ posts

what is the maximum value of 'set size to'?

The maximum size keeps the current costume's width and height each less than 1.5× the stage's corresponding dimension, so whichever is smaller between (540 / costume height) * 100% and (720 / costume width) * 100% is used as the maximum size.
han614698
Scratcher
1000+ posts

what is the maximum value of 'set size to'?

With a 2x2 costume (1x1 won’t change size for some reason…weird), the max size is 28567.

That’s the highest number I can seem to make.

I have some proof in this project - when you click the blob, it’s tries to change the size by one - it will do nothing.

If you would like a workaround for this, just ask…!
tomliuwhite
Scratcher
99 posts

what is the maximum value of 'set size to'?

@mlcreater, that is good to know, thanks.

Powered by DjangoBB