Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » Minimum Size of a Sprite
- qucchia
-
100+ posts
Minimum Size of a Sprite
Edit: this uncertainty has been solved. Scratch team, you can close this discussion now.
Hi,
Usually when you try to set the size to something too low (for example, 0%), Scratch will not permit this and will change the size to something higher. My question is, how the minimum size of a sprite is determined? I'm pretty sure it's got something to do with the costume size, but I can't figure out the precise calculations behind it. Thanks for you time!
qucchia
Hi,
Usually when you try to set the size to something too low (for example, 0%), Scratch will not permit this and will change the size to something higher. My question is, how the minimum size of a sprite is determined? I'm pretty sure it's got something to do with the costume size, but I can't figure out the precise calculations behind it. Thanks for you time!
qucchia
Last edited by qucchia (Dec. 3, 2019 15:39:55)
- -CodePro-
-
100+ posts
Minimum Size of a Sprite
From my testing I got a 100*100 pixel square down to size 5, so about 5*5 pixels.
I also got the same 100*100 square up to size 542, so about 542*542 pixels.
With an empty costume I got size limits from 100 to Infinity, at Infinity I could place my sprite at X:Infinity Y:Infinity
Finally I made a square of 542*542 pixels and the size limit was 1 to 100.
So a sprite can go to a minimum size of 5*5 (unless it started smaller) and a max of about 542*542.
Of course you can workaround this by using a large costume to set to a small size or an empty costume to set to a huge size and then switch to the correct costume.
I also got the same 100*100 square up to size 542, so about 542*542 pixels.
With an empty costume I got size limits from 100 to Infinity, at Infinity I could place my sprite at X:Infinity Y:Infinity
Finally I made a square of 542*542 pixels and the size limit was 1 to 100.
So a sprite can go to a minimum size of 5*5 (unless it started smaller) and a max of about 542*542.
Of course you can workaround this by using a large costume to set to a small size or an empty costume to set to a huge size and then switch to the correct costume.
- qucchia
-
100+ posts
Minimum Size of a Sprite
Thanks so much! This discussion can now be closed.
- Discussion Forums
- » Questions about Scratch
-
» Minimum Size of a Sprite