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

#1 2011-04-16 06:24:46

TheWolfyOne
New Scratcher
Registered: 2011-04-14
Posts: 13

Lagging problems

Whenever I add a large amount of scripts to a sprite, Scratch starts going really slow. And I mean REALLY REALLY slow. Well, the script area does anyway. The rest of Scratch works fine: all the script areas for sprites which have a small amount of scripts, the Stage, the paint editor... the only things that go really slow are the script areas for the sprites which have lots of scripts. My laptop has Windows XP. It's rather old, but Scratch 1.3 worked perfectly when I had that. I know that this topic came up a while ago, but because I left Scratch for a long time, I never found out whether or not it got solved. How am I supposed to make projects properly if the script area lags every time a sprite starts getting a large amount of scripts? It'll take a million years just to make one project. I just played someone else's project, which included a large amount of scripts, and it was made with 1.4, so surely that user didn't have any problems? I really don't want to have to switch back to 1.3... Please help.  sad

Offline

 

#2 2011-04-16 11:36:18

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

Re: Lagging problems

This happens to everybody, and you should know it was a problem in 1.3 too. It's a Squeak problem, where modifying a script requires Squeak to redraw it. When a script is huge, that takes a long time. Try breaking your scripts into small pieces when you're working on them and then recombining them when it's time to run them.


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-16 14:47:27

TheWolfyOne
New Scratcher
Registered: 2011-04-14
Posts: 13

Re: Lagging problems

Okey dokey, thanks again Harakou. I thought it might've been to do with my laptop. It's 5 years old, and very dusty, however much I clean it.  hmm

I guess if I had to switch back to 1.3, a lot of other people would've had to as well. OK then, back to work it is! Happy Nearly-Easter  smile

Offline

 

#4 2011-04-17 08:47:32

GurkinC
Scratcher
Registered: 2009-11-30
Posts: 100+

Re: Lagging problems

I had a similar problem, and it sped up a bit if I changed the variable display or left scratch open for a bit. Don`t know why it works, but it does  smile


Try my latest game, Rolling 2, a 10-level platform game based around the gravity marble.

Offline

 

#5 2012-07-16 20:32:08

lhlien
Scratcher
Registered: 2012-02-05
Posts: 23

Re: Lagging problems

i have the same problem and I can't do that. I want to make it 1s1s


http://s1162.beta.photobucket.com/user/Victini999/media/e350abb2.png.html

Offline

 

Board footer