This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-04-22 09:36:47

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Scratch keeps crashing

I hate it when a script gets too long Scratch crashes. The weird thing is, sometimes I've had longer scripts that didn't crash.  This is 0s1s, another crasher was 47 sprites and 155 scripts.

Offline

 

#2 2011-04-22 12:35:17

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Scratch keeps crashing

It's the length of the script that's the problem, not the number of them. Squeak actually draws the script on the scripting pane, so whenever you move a script, it has to redraw the entire thing. Naturally, when a script gets too long, it takes a long time to draw. I've never heard of a crash though. Maybe a memory error?


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#3 2011-04-23 13:40:31

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Scratch keeps crashing

It freezes up with a long script.  hmm

Offline

 

#4 2011-04-24 08:37:32

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Scratch keeps crashing

Make a script in pieces, then put the pieces together in descending order and you shouldn't have a problem.

Offline

 

Board footer