Introducing a higher limit in Scratch 2.0
|“||We used to be stuck with the 10 megabyte limit due to limitations in Java. We hope to be able to extend this limit in the next version of Scratch - but server space costs $! Unlimited is too big, 10 MB is too little.||”|
– Lightnin, a former member of the Scratch Team at MIT
The Scratch 2.0 File Format uses a more efficient storage system than the 1.4 file format, so even if it remained 10MB, projects could have more content. As it turned out, the limit was raised to 50 MB, 5 times the previous amount, although this still isn't true for projects uploaded from 1.4. However, each individual "asset" (sound/image) must be 10 MB or less.
Not many projects get close to the limit, but one project that got close is this project.
How do I know when my project is too big? (Scratch 1.4)
|This article or section documents something not included in the current version of Scratch (3.0). It is only useful from a historical perspective.|
How do I know when my project is too big? (Scratch 2.0)
If you're offline, then you'll know when you try to upload your project to the Scratch Website; Scratch will display this generic error message when your file is too big to upload:
If you're on the website, though, you'll know when your project is too large when you cannot add any more costumes, sounds, backdrops, or anything to it.
Reducing Project Size
- Main article: Project Compression
The best way to reduce the size of your project is to compress the sounds and images. Below are some tips:
- Delete all sprites and scripts which are not used
- Delete variables and lists which are unused
- Use stamping and cloning instead of lots of sprites when possible
- Delete all sound files that are not used, as they take up a lot of space
- Use custom blocks to reduce script sizes
- Use vector graphics instead of bitmap graphics (especially for simple costumes like circles and boxes)
- Use lower quality Images and Sounds with lower File Sizes