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

#1 2007-08-07 09:17:06

Nick60
Scratcher
Registered: 2007-06-17
Posts: 100+

Limit to scripts?

For the number of scirpts on a project, (Mine is 250)  it really lag's things up.  Like a lot.  But it is a farely small project having only 1356KB.  Will I be able to add more or will it be able to not play because of the lag or slow connection.

Last edited by Nick60 (2007-08-07 09:17:58)


Let's  Be Blue!

Offline

 

#2 2007-08-07 14:14:29

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: Limit to scripts?

Your project is less than 2 MB which means it should be loaded quickly on a broadband connection.

There might be ways of improving performance of your project. I would suggest posting it on the website and asking some of the experts on this site if there are ways of improving performance. In my experience image manipulation are typically the cause  of slowdowns.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#3 2007-08-07 15:12:07

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Limit to scripts?

Image manipulation is indeed slower than it ought to be, particularly in the java implementation.

Another common inefficiency is having a lot of "busy wait" loops---that is, loops without any wait statement in them.  These consume a lot of CPU resources without accomplishing much.

Offline

 

#4 2007-08-08 09:24:34

Nick60
Scratcher
Registered: 2007-06-17
Posts: 100+

Re: Limit to scripts?

For my project it uses no images.  Except one and that one is the "Duck Hunt" title.  Other then that it is all made on paint.


Let's  Be Blue!

Offline

 

Board footer