Discuss Scratch

BarelySmooth
Scratcher
1000+ posts

Size of sprite resetting

In a project of mine, when I tried to change the size, it kept resetting to 100.

Demonstration:


My code (for the sprite named “Timer Display”):


It might be a silly mistake I didn't spot, but could anyone help out? Thanks in advance

Last edited by BarelySmooth (Nov. 5, 2021 18:55:23)

deck26
Scratcher
1000+ posts

Size of sprite resetting

The maximum size you can set a sprite to depends on the costume - a small costume can perhaps be set to 400% or more but a large one may not even allow 100%. The workaround is to choose a small costume, set the size and then choose the larger costume.
Infinity-Studios5674
Scratcher
100+ posts

Size of sprite resetting

Maybe it’s because you’re sprite is just blank?
BarelySmooth
Scratcher
1000+ posts

Size of sprite resetting

deck26 wrote:

The maximum size you can set a sprite to depends on the costume - a small costume can perhaps be set to 400% or more but a large one may not even allow 100%. The workaround is to choose a small costume, set the size and then choose the larger costume.
But I am trying to reduce its size.

Infinity-Studios5674 wrote:

Maybe it’s because you’re sprite is just blank?
The sprite is white in colour.
EpicGhoul993
Scratcher
1000+ posts

Size of sprite resetting

Could you show the costume dimensions? Go to the Costumes tab and you'll see the numbers needed below the costume name.
Infinity-Studios5674
Scratcher
100+ posts

Size of sprite resetting

PUNNAMOODU wrote:

Infinity-Studios5674 wrote:

Maybe it’s because you’re sprite is just blank?
The sprite is white in colour.
I checked your project. The costume ‘Costume’ of your sprite ‘Timer Display’ is blank.

Last edited by Infinity-Studios5674 (April 13, 2021 12:15:12)

BarelySmooth
Scratcher
1000+ posts

Size of sprite resetting

Infinity-Studios5674 wrote:

PUNNAMOODU wrote:

deck26 wrote:

The maximum size you can set a sprite to depends on the costume - a small costume can perhaps be set to 400% or more but a large one may not even allow 100%. The workaround is to choose a small costume, set the size and then choose the larger costume.
But I am trying to reduce its size.

Infinity-Studios5674 wrote:

Maybe it’s because you’re sprite is just blank?
The sprite is white in colour.
I checked your project. The costume ‘Costume’ of your sprite ‘Timer Display’ is blank.
You're right. I forgot about costume 1! I never knew an empty costume could cause this. I tried changing it to another costume temporarily and it worked fine. Thanks!

Reporting to be closed.

Last edited by BarelySmooth (April 13, 2021 12:22:12)

Infinity-Studios5674
Scratcher
100+ posts

Size of sprite resetting

PUNNAMOODU wrote:

Infinity-Studios5674 wrote:

PUNNAMOODU wrote:

deck26 wrote:

The maximum size you can set a sprite to depends on the costume - a small costume can perhaps be set to 400% or more but a large one may not even allow 100%. The workaround is to choose a small costume, set the size and then choose the larger costume.
But I am trying to reduce its size.

Infinity-Studios5674 wrote:

Maybe it’s because you’re sprite is just blank?
The sprite is white in colour.
I checked your project. The costume ‘Costume’ of your sprite ‘Timer Display’ is blank.
You're right. I forgot about costume 1! I never knew an empty costume could cause this. I tried changing it to another costume temporarily and it worked fine. Thanks!

Reporting to be closed.
Glad I could help!
deck26
Scratcher
1000+ posts

Size of sprite resetting

PUNNAMOODU wrote:

deck26 wrote:

The maximum size you can set a sprite to depends on the costume - a small costume can perhaps be set to 400% or more but a large one may not even allow 100%. The workaround is to choose a small costume, set the size and then choose the larger costume.
But I am trying to reduce its size.

Infinity-Studios5674 wrote:

Maybe it’s because you’re sprite is just blank?
The sprite is white in colour.
Same can happen if the costume is too small - you can't set it below a certain value.

Powered by DjangoBB