Discuss Scratch

ykthekidd
New to Scratch
4 posts

Scripting and Projct Limit Size

Just a hypothetical question how hard is it to reach the 50 MB limit?
I honestly don't know if scripting takes u space, but i know for a fact sound and images do.
asivi
Scratcher
1000+ posts

Scripting and Projct Limit Size

Scripts are almost insignificant for the whole project size limit but the “project.json” file which has a limit of 2.5 megabytes(it contains all kind of data in txt format, incuding sets of lists and variables and identifiers for all assets
https://scratch.mit.edu/discuss/post/2473166/
Uniquename1
Scratcher
100+ posts

Scripting and Projct Limit Size

Scripting may not take up much space but is a source of lag which limits how much you can do. Some people do a lot more than I and projects seem to run fine but is an issue to mitigate. That all depends on the computer you're running it on too.

Try my games.
Scratch Sprite Club VI Soccer
Star Fighter Shooting
Space Marines: Boarding Party Strategy
Lion Runner Running/ Platformer
ykthekidd
New to Scratch
4 posts

Scripting and Projct Limit Size

asivi wrote:

Scripts are almost insignificant for the whole project size limit but the “project.json” file which has a limit of 2.5 megabytes(it contains all kind of data in txt format, incuding sets of lists and variables and identifiers for all assets
https://scratch.mit.edu/discuss/post/2473166/


Are you sure it's 2.5? I thought scratch 2.0 was given more space giving it 50MB in all?
footsocktoe
Scratcher
1000+ posts

Scripting and Projct Limit Size

ykthekidd wrote:

asivi wrote:

Scripts are almost insignificant for the whole project size limit but the “project.json” file which has a limit of 2.5 megabytes(it contains all kind of data in txt format, incuding sets of lists and variables and identifiers for all assets
https://scratch.mit.edu/discuss/post/2473166/


Are you sure it's 2.5? I thought scratch 2.0 was given more space giving it 50MB in all?

50meg is the total project max file size
10 meg is the max for any one asset

The 2.5 meg limit would be 2-1/2 million characters, so shouldn't prevent anything.

Last edited by footsocktoe (Aug. 5, 2017 21:52:47)



SHOOT THE SPACE MONSTERS! ….. A game everyone can play! Bright colors, bonky sounds!
THE 12 BALLS OF CRAZY AL ……. New scrolling adventure game!

ykthekidd
New to Scratch
4 posts

Scripting and Projct Limit Size

footsocktoe wrote:

ykthekidd wrote:

asivi wrote:

Scripts are almost insignificant for the whole project size limit but the “project.json” file which has a limit of 2.5 megabytes(it contains all kind of data in txt format, incuding sets of lists and variables and identifiers for all assets
https://scratch.mit.edu/discuss/post/2473166/


Are you sure it's 2.5? I thought scratch 2.0 was given more space giving it 50MB in all?

50meg is the total project max file size
10 meg is the max for any one asset

The 2.5 meg limit would be 2-1/2 million characters, so shouldn't prevent anything.


oh..thx!
TechCation
New to Scratch
9 posts

Scripting and Projct Limit Size

ykthekidd wrote:

Just a hypothetical question how hard is it to reach the 50 MB limit?
I honestly don't know if scripting takes u space, but i know for a fact sound and images do.
Open WazzoTV's How Star Wars Should Have Ended and upload a few music files.

You've done it.

Hello! I'm Galleigo's account for solving stuff on the forums! I'm not a full Scratcher yet, sadly, so just see my banner here: http://i64.tinypic.com/wk0iew.jpg
footsocktoe
Scratcher
1000+ posts

Scripting and Projct Limit Size

ykthekidd wrote:

Just a hypothetical question how hard is it to reach the 50 MB limit?
I honestly don't know if scripting takes u space, but i know for a fact sound and images do.

A 480x360 image in bitmap can be any size from 10k to several meg depending on whether it is compressed jpg or not or whther it is a 16million color png or a 32 color GIF. A sprite with 50k size bitmap costumes and 100 costumes would be 5meg.

Vector images take up much less file space, so you could have thousands of vector costumes. But vector cannot be used to bring a video into Scratch. Only bit map can handle video or photographs.

Sound files are compressed by Scratch to their special compressed wave format. A 3 minute Scratch sound is approximately 2meg.

Therefore, if you use 10 frames per second to bring in a 3 minute video with 50k costumes, you would have 500k per second or 30meg for the images and 2meg for the sound.

So probably 4 minutes is about max video for 50k images, but if you use 25k images for costumes, you could get closer to 9 minutes of video with sound.


SHOOT THE SPACE MONSTERS! ….. A game everyone can play! Bright colors, bonky sounds!
THE 12 BALLS OF CRAZY AL ……. New scrolling adventure game!

Powered by DjangoBB