Discuss Scratch

xXRedTheCoderXx
Scratcher
1000+ posts

What is the maximum amount of costumes Scratch can have in a single sprite?

I need at least 729. Preferably 3,600. I once did a speed draw with something like 300 costumes but it was pretty laggy.

So, what is the maximum amount of costumes a single sprite can have? How much can I have without crashing Scratch? Does the asset size limit pose a problem?
fdreerf
Scratcher
1000+ posts

What is the maximum amount of costumes Scratch can have in a single sprite?

I believe it's practically infinite, as long as each asset is under 10 MB and the size of all of them combined does not exceed 318 GB.
xXRedTheCoderXx
Scratcher
1000+ posts

What is the maximum amount of costumes Scratch can have in a single sprite?

fdreerf wrote:

I believe it's practically infinite, as long as each asset is under 10 MB and the size of all of them combined does not exceed 318 GB.
Alright. Thanks!

Apparently @comp09's projects have thousands of costumes. I can't fact check that, though.


Also, @comp09 used some complicated external methods to get so many costumes in a sprite, which I'm probably not going to do. I'm probably just going to split my costumes into multiple sprites, because there's no way I'm going to manage to squeeze in 3,600 costumes into a single sprite with this laptop. And even if I had a PC capable, I'd still want my game to be able to be played by everyone.

But, I still want to know this:

xXRedTheCoderXx wrote:

How much can I have without crashing Scratch?
Super_Scratch_Bros20
Scratcher
1000+ posts

What is the maximum amount of costumes Scratch can have in a single sprite?

xXRedTheCoderXx wrote:

But, I still want to know this:

xXRedTheCoderXx wrote:

How much can I have without crashing Scratch?

I think that depends on the device or browser you are using.
POS_tutor_
Scratcher
100+ posts

What is the maximum amount of costumes Scratch can have in a single sprite?

I think about 3,000
Super_Scratch_Bros20
Scratcher
1000+ posts

What is the maximum amount of costumes Scratch can have in a single sprite?

POS_tutor_ wrote:

I think about 3,000

Source?
Maximouse
Scratcher
1000+ posts

What is the maximum amount of costumes Scratch can have in a single sprite?

There is no hardcoded limit, but in Chromium-based browsers (which most people use) projects with many costumes will crash while loading, see https://bugs.chromium.org/p/chromium/issues/detail?id=108055
xXRedTheCoderXx
Scratcher
1000+ posts

What is the maximum amount of costumes Scratch can have in a single sprite?

Super_Scratch_Bros20 wrote:

xXRedTheCoderXx wrote:

But, I still want to know this:

xXRedTheCoderXx wrote:

How much can I have without crashing Scratch?

I think that depends on the device or browser you are using.
Yeah, I know it depends on RAM and stuff. Sorry, I should've been more clear. I meant, How much costumes can a single sprite have, for the project to run on (mostly) all devices?
xXRedTheCoderXx
Scratcher
1000+ posts

What is the maximum amount of costumes Scratch can have in a single sprite?

Maximouse wrote:

There is no hardcoded limit, but in Chromium-based browsers (which most people use) projects with many costumes will crash while loading, see https://bugs.chromium.org/p/chromium/issues/detail?id=108055
Ah, I see. Thanks for the information! That's kinda weird though, it says Chrome will crash at about 440 images, but I've seen projects with more costumes than that. I'm pretty sure at least.
Maximouse
Scratcher
1000+ posts

What is the maximum amount of costumes Scratch can have in a single sprite?

xXRedTheCoderXx wrote:

Maximouse wrote:

There is no hardcoded limit, but in Chromium-based browsers (which most people use) projects with many costumes will crash while loading, see https://bugs.chromium.org/p/chromium/issues/detail?id=108055
Ah, I see. Thanks for the information! That's kinda weird though, it says Chrome will crash at about 440 images, but I've seen projects with more costumes than that. I'm pretty sure at least.
I think images embedded on a page might load differently than Scratch costumes.
xXRedTheCoderXx
Scratcher
1000+ posts

What is the maximum amount of costumes Scratch can have in a single sprite?

Maximouse wrote:

xXRedTheCoderXx wrote:

Maximouse wrote:

There is no hardcoded limit, but in Chromium-based browsers (which most people use) projects with many costumes will crash while loading, see https://bugs.chromium.org/p/chromium/issues/detail?id=108055
Ah, I see. Thanks for the information! That's kinda weird though, it says Chrome will crash at about 440 images, but I've seen projects with more costumes than that. I'm pretty sure at least.
I think images embedded on a page might load differently than Scratch costumes.
Oh, okay.
CatsUnited
Scratcher
1000+ posts

What is the maximum amount of costumes Scratch can have in a single sprite?

xXRedTheCoderXx wrote:

Apparently @comp09's projects have thousands of costumes. I can't fact check that, though.


Memory Management in Scratch 3 was (and still is) pretty trash - the project ran fine back in Scratch 2 because I remember running it on quite a weak computer years ago.
xXRedTheCoderXx
Scratcher
1000+ posts

What is the maximum amount of costumes Scratch can have in a single sprite?

CatsUnited wrote:

xXRedTheCoderXx wrote:

Apparently @comp09's projects have thousands of costumes. I can't fact check that, though.


Memory Management in Scratch 3 was (and still is) pretty trash - the project ran fine back in Scratch 2 because I remember running it on quite a weak computer years ago.
rip

Powered by DjangoBB