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

#1 2008-05-28 11:12:46

dlopez
Scratcher
Registered: 2008-05-28
Posts: 2

As we keep adding more sprites and code, the program runs slow. HELP!!

As we keep adding more sprites and code, the program runs slow. HELP!!!!!! Is there too much memory for the program to read at one time. Right now my project is so slow that it takes almost 20 seconds for a sound to to be heard after clicking on it. PLEASE HELP!! Any one have any suggestions?

Offline

 

#2 2008-05-28 20:25:09

music_man
Scratcher
Registered: 2007-09-22
Posts: 100+

Re: As we keep adding more sprites and code, the program runs slow. HELP!!

Here are some reasons why you project is going slow.
1.  Your computer may have too little space.
2.  The sounds and music may be too big of a file.
3.  You may have too many complex scripts.

Here is an example.  Let's say I asked you to do this problem:  2+2=?  You could probibly do that really fast.  Now what if I told you to do this problem:  x=8  3(x-2)+5[2(6/2)x+56]3*2=?  That may take some more time to do.  This could be how your project is running.  I suggest that you try to make your scripts cleaner and make sure the sound files are not too big. Hope I helped you.


The fool has said in his heart, "There is no God."...  Psalms 14:1

Offline

 

#3 2008-06-01 12:51:15

CFCRubiks
Scratcher
Registered: 2008-05-11
Posts: 100+

Re: As we keep adding more sprites and code, the program runs slow. HELP!!

Well, you can reduce your amount of sprites, depending on your project, by using the [blocks]<stamp>[/blocks]       and      [blocks]<clear>[/blocks]     functions in a repeat loop

Offline

 

Board footer