Discuss Scratch

-Coolie
Scratcher
10 posts

size glitch

sup bros, it's me coolie and my animation glitched:

for one of the costumes in my animation, it will not go up to 100 or more in size, and I am trying to animate a still that slowly zooms in

the thing is, nothing i've done fixes it.

making a new costume, making the size 100, and switching back to the problematic costume doesn't work because when I click the flag, it goes back to 97

porting it to a new sprite doesn't work


pls help gamers
Thingied
Scratcher
1000+ posts

size glitch

Scratch has a size limit based off of how big the costume is. The thing is that it only checks to see if the sprite is over the cap when it changes size, not when it changes costumes. Knowing this we can switch to a small costume, set the size and switch back to the original one to get around it.
switch costume to [a blank costume v]
set size to (size::grey)% // Gray block is a placeholder
switch costume to [original costume v]

Last edited by Thingied (July 25, 2021 20:30:36)

-Coolie
Scratcher
10 posts

size glitch

when I click the flag it goes back to 97
Thingied
Scratcher
1000+ posts

size glitch

-Coolie wrote:

when I click the flag it goes back to 97
Set the size using the method above whenever you're changing it.
-Coolie
Scratcher
10 posts

size glitch

the thing is I set the size but when I click the flag it goes back to 97

if i put a set size to 100 on the when flag clicked block when I click the flag it stays 97
Thingied
Scratcher
1000+ posts

size glitch

-Coolie wrote:

the thing is I set the size but when I click the flag it goes back to 97

if i put a set size to 100 on the when flag clicked block when I click the flag it stays 97
Mmmm, can you link the project then?
-Coolie
Scratcher
10 posts

size glitch

Thingied
Scratcher
1000+ posts

size glitch

Every single time the sprite changes size, do the method I said.
-Coolie
Scratcher
10 posts

size glitch

IT DOESN'T MAKE ANY DIFFERENCE THO no matter what what when I press the flag it stays 97 oops caps

Last edited by -Coolie (July 26, 2021 21:37:09)

Thingied
Scratcher
1000+ posts

size glitch

-Coolie wrote:

IT DOESN'T MAKE ANY DIFFERENCE THO no matter what what when I press the flag it stays 97 oops caps
You didn't even do it in the repeat 80 loop ;-;
-Coolie
Scratcher
10 posts

size glitch

thank you it works you earned a shoutout if you want it

Powered by DjangoBB