Discuss Scratch

UnchainedFantasy
Scratcher
38 posts

Is there a limit to sprite size?

This project here has a code that I would probably use in my future projects. One thing I would like to know though… is there some restriction to sprite sizes and smaller sprites just migrating outside the stage?
LankyBox01
Scratcher
1000+ posts

Is there a limit to sprite size?

Probably 50MB?
There's actually a wiki article about that!
UnchainedFantasy
Scratcher
38 posts

Is there a limit to sprite size?

LankyBox01 wrote:

Probably 50MB?
There's actually a wiki article about that!

All right.
Bluebatstar
Scratcher
1000+ posts

Is there a limit to sprite size?

Each asset (so, Costume, Sound, ect) can't exceed 10MB.
If that's not what you are asking, could you elaborate? Your post confuses me.
JackK211424
Scratcher
500+ posts

Is there a limit to sprite size?

im pretty sure a sprite can be larger then 50 MB because I made a project that was 140 or so MB and most of it was costumes in a single sprite.

an asset itself though cant be larger then 10 MB, so if you have a very big sound file or picture, then that wont save
UnchainedFantasy
Scratcher
38 posts

Is there a limit to sprite size?

Bluebatstar wrote:

Each asset (so, Costume, Sound, ect) can't exceed 10MB.
If that's not what you are asking, could you elaborate? Your post confuses me.


Sorry, I was having trouble finding the words to explain haha
UnchainedFantasy
Scratcher
38 posts

Is there a limit to sprite size?

JackK211424 wrote:

an asset itself though cant be larger then 10 MB, so if you have a very big sound file or picture, then that wont save


Well that explains just almost so much (the sound file thing.)
mlcreater
Scratcher
1000+ posts

Is there a limit to sprite size?

UnchainedFantasy wrote:

is there some restriction to sprite sizes…?
The largest size a sprite can be set to is:

if <(costume width in px :: variables) > (costume height in px :: variables)> then 
set size to ((54000) / (costume width in px :: variables)) %
else
set size to ((54000) / (costume height in px :: variables)) %
end
The 3.0 Scratch Cat's standing (not running) costume is 96x101 px².
The height is greater, so the maximum size that can be set with this costume:
54000 / 101 = 534.653… ≈ 535 %
LankyBox01
Scratcher
1000+ posts

Is there a limit to sprite size?

mlcreater wrote:

UnchainedFantasy wrote:

is there some restriction to sprite sizes…?
The largest size a sprite can be set to is:

-snip-
i think they mean soze in B/MB/GB

Powered by DjangoBB