Discuss Scratch

hexster_
Scratcher
2 posts

Size of sprite is not changing

I seem to be having some issues with resizing sprites.

set size to (130) %

When I try to resize the needed sprite, it automatically sets it to 72%.
I have seen previous forums, my sprite costume is not that small.

Can somebody help me? It would be greatly appreciated.
awesome-llama
Scratcher
1000+ posts

Size of sprite is not changing

hexster_ wrote:

my sprite costume is not that small.
How big is this costume?

The sprite size can't be visually bigger than 150% the size of the stage (720x540) or visually smaller than 5 pixels on any axis. There isn't any other thing that limits sprite size.
source code
hexster_
Scratcher
2 posts

Size of sprite is not changing

This costume's size is 180x284
awesome-llama
Scratcher
1000+ posts

Size of sprite is not changing

hexster_ wrote:

This costume's size is 180x284
A costume of that size should be able to scaled to 130% so I'm not sure why you are encountering an issue. Maybe a different costume was being used at the time? If you haven't tried already, you could try running the set size block manually (click the block whilst the project is stopped and verify it is doing what is expected). It could help narrow down where the issue is occurring.

If you are still stuck, I'd suggest sharing the project.

Last edited by awesome-llama (Feb. 17, 2025 01:34:36)

102acrimea
Scratcher
100+ posts

Size of sprite is not changing

If you want a quick solution without the complexity of Scratches innate mechanics, you can do this.

1. Switch to a smaller costume
2. Set the size
3. Switch to a original costume

What this essentially does is allows for Scratch to resize the smaller costume which can increase in the size percent much more than the bigger one before switching to the other costume which will now be of a larger than possible size.

Powered by DjangoBB