This article or section documents the current version of Scratch (version 2.0). For this article in Scratch 1.4, see Project Compression (1.4).

In Scratch 2.0, the maximum project size is 50 megabytes. If your project reaches that limit and you need to reduce it, there are several ways to reduce size.

Sprites and Scripts

Your project may contain unneeded sprites and scripts, which can take up lots of space. You can reduce this by deleting the unneeded sprites or scripts.

Duplicate sprites can be deleted. You can use stamping or cloning instead.

There may be big actions that are repeated multiple times, which can take up lots of script space. You can fix this by creating a custom block or using broadcasts.

Backdrops and Costumes

There may be backdrops or costumes that you are not using. You can reduce space by deleting backdrops and costumes with no use whatsoever.

Bitmap images can be compressed. If they are from your hard drive then you can compress them externally and replace the images with the compressed versions.

If this is not possible, you can scale them down and then scale them back up. This process, however, may cause unwanted pixelation.

Vector images can be reduced by removing (and possibly replacing) excessive details such as windows on a building or fur on a hairy monster.

Sounds

Unused sound files can be deleted because they take up a lot of space. Common sounds to remove are the other sounds included by default in all sprites.

If your sounds are from your hard drive, then you can replace the sound with a compressed version.

See Also