Discuss Scratch

bpountney
Scratcher
1 post

Lots of sprites and a list open will crash offline editor.

My browser / operating system: Windows 7, Firefox 58.0, Flash 28.0 (release 0)

This week, I discovered a bug in Scratch 2.0 Offline Editor that when you have lots of sprites and a list open with constant output, It will freeze your PC and the offline editor. It is probably a flash bug

asivi
Scratcher
1000+ posts

Lots of sprites and a list open will crash offline editor.

Hi, it will depend of stuff that sprites are doing, how you programmed it, how much good(powered) your device is, other tasks running in your PC's background at the same time…

when green flag clicked
delete (all v) of [list v]
hide
set [id v] to [0]
repeat (301)
change [id v] by (1)
point in direction (pick random (1) to (360))
add (join (x position) (join [_] (y position))) to [list v]
create clone of [myself v]
end

when I start as a clone
show
set size to (20) %
forever
move (3) steps
replace item (id) of [list v] with (join (x position) (join [_] (y position)))
if <touching [edge v] ?> then
play sound [meow v]
if on edge, bounce
end
end

I've tested the project above making it run offline and online simultaneously and both are working laggy but don't freeze.

My browser / operating system: Windows NT 10.0, Firefox 56.0, Flash 28.0 (release 0)

Last edited by asivi (Feb. 8, 2018 21:01:03)

Powered by DjangoBB