Discuss Scratch

GSherlock82
Scratcher
3 posts

Sprite size changing randomly

I'm making a project. A sprite which is meant to have 100% size all the time but it randomly changed its size to 89% and I cannot change it back . I have run through all the blocks in every sprite and all the backdrops, and I am certain this is not in the code. Soon after this it changed to 79% (randomly). Please help.

Last edited by GSherlock82 (Feb. 17, 2021 10:01:38)

supermushy
Scratcher
27 posts

Sprite size changing randomly

The only thing I can think of is that the sprite is too big, since sprites can't be bigger than the screen. But they don't usually do it randomly, so maybe it's a bug with Scratch. I might be able to figure it out if you send me a link to the project.

heyo, I'm alex…
I own two adorable kitties :3
I also make cool pixel games, so make sure to check those out

please have an awesome day! <33
Socialix
Scratcher
1000+ posts

Sprite size changing randomly

Hey there! The problem might be that the sprite is way too big. Make this script to bypass this limit:

// turn "run without screen refresh" on
define bypass size: (size)
switch costume to [blank costume v] // make a new costume and don't draw anything
set size to (size) % // when using this block, change the "size" bracket to 100 in the block
switch costume to [original costume v] // the normal costume

socialix - why is there a penguin breaking my window? - signatures are overrated
SaltyTree
Scratcher
100+ posts

Sprite size changing randomly

Socialix wrote:

// turn "run without screen refresh" on
Not needed.

This is my signature, which appears on the bottom of every post I make.
highlight this and press Shift+Down to see how to make the button things.

{
:: #32a852 ring
:: #3257a8 ring
:: #e39b27 ring
:: #e327ae ring
:: #2798e3 ring
} :: #7d7d7d ring

[scratchblocks]
{
:: #32a852 ring
:: #3257a8 ring
:: #e39b27 ring
:: #e327ae ring
:: #2798e3 ring
} :: #7d7d7d ring
[/scratchblocks]












































































{}{]{]{}[]]dd(4)ghsdfggh]][}{][}[][]67
[[[[[[[[]]]]{{{{}}}}]]]]{{{{pressed?> v] p[[[[]]]]{{{{}}}}}}}}
{ {[(R)]}<key [<color [#4be81c]pen upy [(pick v]resndom <((picro (10an(1k raom () t)) to n0)) * (0)) = []> to ra (10))sed?>
pen up
pen t5
pen up
}}}[][]][][][][][]{{}{{}{}{}{][}[]{}[*(BY)) tcot.rxxxJ()(()()(090090)( :: hat
(Tryh^ v) of [sprite 1 v]

Powered by DjangoBB