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

#1 2011-09-01 23:38:20

tremendotipo
New Scratcher
Registered: 2011-07-11
Posts: 30

Problem of memory

I am making a program with 101 sprites and the application (Scratch) has turned very slow despite its size is only 245 KB. Am i using too many sprites?

Offline

 

#2 2011-09-02 10:41:40

laptop97
Scratcher
Registered: 2011-06-27
Posts: 1000+

Re: Problem of memory

Sprites make loading a program slow, I don't know why, I made a chess game with 32 sprites and it still takes a long time to load.

Offline

 

#3 2011-09-02 11:33:14

flamekyle
Scratcher
Registered: 2011-03-18
Posts: 1000+

Re: Problem of memory

That's why you can compress sprites and sounds


http://prodegebanners.sitegrip.com/images/swagbucks-173x63Alt5.jpg

Offline

 

#4 2011-09-02 13:22:46

itchyone
Scratcher
Registered: 2009-08-15
Posts: 100+

Re: Problem of memory

The program isn't very optimized, so it tends to run rather slow when you pile a heavy load on it. Once it's uploaded, the flash player runs it perfectly, though. (in most cases)

Hope I helped!


Build your own platformer with BYOP!
Want to test some highly dangerous Wormholes? For science?

Offline

 

#5 2011-09-02 21:43:20

tremendotipo
New Scratcher
Registered: 2011-07-11
Posts: 30

Re: Problem of memory

One of the sprites (master)"sends a message " to the rest of the 100 sprites (slaves) to make a small routine. When i open the file, the application (Scratch) usually freezes when i try to modify the script of the master

Offline

 

#6 2011-09-02 22:18:19

laptop97
Scratcher
Registered: 2011-06-27
Posts: 1000+

Re: Problem of memory

tremendotipo wrote:

One of the sprites (master)"sends a message " to the rest of the 100 sprites (slaves) to make a small routine. When i open the file, the application (Scratch) usually freezes when i try to modify the script of the master

Is it a really long script? To reduce the size maybe you could fit in a broadcast to do one half of the script, it depends on the script though. The calculating script for my first project froze when I was improving it and I lost 2 hours of work.

Offline

 

#7 2011-09-02 22:26:15

tremendotipo
New Scratcher
Registered: 2011-07-11
Posts: 30

Re: Problem of memory

Yes, the master has a long script.The program runs perfectly when i click the green flag but i still have not finished the script of the master and when i try to modify it, it freezes

Offline

 

Board footer