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

#1 2009-01-02 18:11:01

bosox397
Scratcher
Registered: 2008-02-17
Posts: 1000+

Top 2 reasons why you can't load a project

These are the top two reasons why you can't load a project because it says the file is too big.

1.) MUSIC!!!!! Music takes up a lot of space. The longer, the more space it takes up. So sometimes if you are trying to load a great big game, you might want to check how long the song is that you are playing. Generally, 1-10 seconds long isn't that bad, but when you get 3-7 minute long songs, that's when it gets bad. Especially if you have more than 1 song that is longer than 2 minutes. The more songs and time the music takes up, the more space you use up. So here's a script that will help you out with the music

<forever>
<if> Load failed. File might be too big.
<broadcast[ MUSIC CHECK

<when I receive[ MUSIC CHECK
<if> <(amount of music <=> more than 1 song )><<  <or>  >><(length of song  <=>really long  )>
<broadcast[ Delete some music



2.) COSTUMES!!!!! Multiple costumes take up a lot of space. The more costumes you have, the more space it takes up. So sometimes if you are trying to load a great big game, you might want to check how many costumes you have. Generally, 1-10 costumes isn't that bad, but when you have over 20 costumes, it takes up lots of space. The more costumes you have, the more space you use up. Here are some tips on how to cut down on space, yet still have the same amount of costumes.
   a. you could have another sprite for certain motions. i.e. if you want to have a sprite attack, then you could make a sprite called attack sprite. and have when space pressed, have the main sprite hide, and the attack sprite show.
  b. Another thing you could do is try to make the motions bigger, which cuts down on space. what i mean is that if you have about 30 sprites just for a walk cycle, but the changes in the costumes isn't that much, make the changes have bigger jumps, rather than really tiny ones. Hope this helped.




----------------------

The reason I wrote up these tips is because in the past few days more than 3 people have asked me on how to make their game smaller because they could not load it. Well, now you have the 2 main reasons.  smile


Dear Scratch Users,
I'm done with scratch, or at least making projects. I have made one last big game, thats both fun and teaches a lesson about water. It'd mean a lot if you gave me feedback.                              http://scratch.mit.edu/projects/bosox397/569201

Offline

 

#2 2009-01-02 18:32:07

Zelda123
Scratcher
Registered: 2007-11-21
Posts: 1000+

Re: Top 2 reasons why you can't load a project

Best ways to prevent this:

-Don't use music at all, if possible
-Extras -> Compress Sounds/Images

Offline

 

Board footer