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

#1 2009-04-30 06:02:54

mykespace
Scratcher
Registered: 2009-02-11
Posts: 8

project sluggish when deployed on the internet

Hi, I have a lartge project which is about 7mb in file size now, when I use it on my website its really slow and sluggish, does anyone know what be causing this? I have a fair amount of variables and masses of code.

Is there any other way of deploying them than using the scratch applet? thanks

Offline

 

#2 2009-04-30 15:31:40

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: project sluggish when deployed on the internet

Large projects tend to be sluggish. Unfortunately, that cannot be really avoided.  sad

There are some techniques and changes that can be implemented in your SCRATCH project that can help limit lag, such as by limiting the number of forever loops and not having variables displayed on stage; additionally, you can also try to speed things up by increasing numerical values (example: if a sprite walks 10 steps, you may want the sprite to walk 20 steps instead to make up for the lag).


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#3 2009-04-30 16:15:35

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: project sluggish when deployed on the internet

Unfortunately there is no other way. Hey, maybe Jens could make one?

Offline

 

#4 2009-04-30 19:36:38

mykespace
Scratcher
Registered: 2009-02-11
Posts: 8

Re: project sluggish when deployed on the internet

Thanks for your replies. I don't have any forever loops at all and no variables displayed on the stage. It must just because I have too many peices of code (I do have loads).

Offline

 

Board footer