Discuss Scratch

Scratchyman6
Scratcher
100+ posts

why does scratch have a 300 clone limit

kat-coder
Scratcher
1000+ posts

why does scratch have a 300 clone limit

Probably because if you have more than 300 clones, it will lag your project really badly.

-kat-coder

(1000 Posts. (✔::operators)(❌::variables)(❌)(❌)(❌) 5000 Posts! 




Useful Links:

To advertise your Scratch project, Go Here!
To play around with ScratchBlocks, Go Here!
To contact the Scratch Team, Go Here!
To check out my latest Scratch project, Go Here!
The_Imaginarium
Scratcher
1000+ posts

why does scratch have a 300 clone limit

If you accidentally had a loop that created clones without limit, it would probably crash your computer.
awesome-llama
Scratcher
1000+ posts

why does scratch have a 300 clone limit

TurboWarp has an option to disable the clone limit. You should try it with this:

when green flag clicked
forever
broadcast [clone v]
end
when I receive [clone v]
create clone of [myself v]

This is an extremely common mistake that users make with making clones. I'll let you see how quick it is to break the project player.


Za-Chary
Scratcher
1000+ posts

why does scratch have a 300 clone limit

It's to prevent lag on as many devices as possible. There's no doubt that some devices could handle 500 clones, but the 300 clone limit was chosen as a happy medium to make sure that as many Scratch projects could work on as many devices as possible.

This is my forum signature! On a forum post, it is okay for Scratchers to advertise in their forum signature. The signature is the stuff that shows up below the horizontal line on the post. It will show up on every post I make.

I was a Scratch Team member from May 10th 2019 to October 29th 2021.

my notebook | scratch team essay | accessibility essay
ImYourFwend_
Scratcher
100+ posts

why does scratch have a 300 clone limit

Scratchyman6 wrote:

t
i
t
l
e
Well, Scratch wanted the Scratchers to see it without lag (free-lag), since a few computers/laptops doesn't really work effeciently.

This is my signature. I love cats a much very much!

CTRL+SHIFT+DOWN ARROW to see more of my siggy!
[(。・∀・)ノ゙]

This is Weirdy. He protects my signature from villians.

I hate 60 secs cooldown

Mech Arena lover!

Video game lover… maybe

The daily best project

My mission is to reach 500+ posts
mrcreatorluigi
Scratcher
1000+ posts

why does scratch have a 300 clone limit

I’d say 300 clones is enough, and I found out a way to decrease the limit if you like.

creating a clone:
add [clone] to [list v]
create clone of [myself v]

deleting a clone:
delete (1 v) of [list v]
delete this clone

clone limit detection:
if <(length of [list v] :: list) > [200]> then
delete (200) clones::custom
end
this block must have Run Without Screen Refresh on:
define delete (value) clones
repeat (value)
delete (1 v) of [list v]
delete this clone

Last edited by mrcreatorluigi (July 25, 2021 23:54:46)


if i was in aladdin, my first wish would be to have infinite wishes, and use those infinite wishes for infinite wishes on each wish, rince and repeat
theodorwscratcher
Scratcher
75 posts

why does scratch have a 300 clone limit

I think it might be because having lots of clones puts a lot of strain on your graphics chip.

Powered by DjangoBB