Discuss Scratch

lizeyue
Scratcher
6 posts

Clones

I'm doing a project and it is supposed to contain around 2000 clones, but i think some of them don't appear and i can't create new clones.
Trippagus79
Scratcher
14 posts

Clones

whenclickedifClones=MAXthenbroadcast You cant make any clones
you probaly cant cause the screen is either full or you reached max clones
Kraken_Games
Scratcher
100+ posts

Clones

301 is the max clone limit. Sorry. You can suggest it to be changed, but ST probably won't do it because it will create too much lag.
codeman1044
Scratcher
1000+ posts

Clones

This might not be the case, but if you need about 2000 clones that just sit there and do nothing, then I would recommend using the stamp block in the pen extension (if you don't know what that is, just ask). Stamping a sprite will create a “clone” of it that only takes on the physical attributes of the sprite (ie ghost effect, hidden or not, color effect, costume, etc.). Once you create a stamp of a sprite though, it's appearance cannot be changed unless you use the erase all block, which removes the stamp entirely.
Hope this helps!
RokCoder
Scratcher
1000+ posts

Clones

lizeyue wrote:

I'm doing a project and it is supposed to contain around 2000 clones, but i think some of them don't appear and i can't create new clones.
As the others have said, there's a limit on the number of clones. Stamping is one solution as @codeman1044 has suggested. Another is to recycle your clones - if you're not displaying more than 300 on screen at any one time then you can either:

1) Delete them as they leave the screen and create new ones as new entities move onto the screen

or

2) Hide them and flag them as idle as they leave the screen and reuse those clones when new entities move onto the screen
lizeyue
Scratcher
6 posts

Clones

codeman1044 wrote:

This might not be the case, but if you need about 2000 clones that just sit there and do nothing, then I would recommend using the stamp block in the pen extension (if you don't know what that is, just ask). Stamping a sprite will create a “clone” of it that only takes on the physical attributes of the sprite (ie ghost effect, hidden or not, color effect, costume, etc.). Once you create a stamp of a sprite though, it's appearance cannot be changed unless you use the erase all block, which removes the stamp entirely.
Hope this helps!
They need to move.
lizeyue
Scratcher
6 posts

Clones

RokCoder wrote:

lizeyue wrote:

I'm doing a project and it is supposed to contain around 2000 clones, but i think some of them don't appear and i can't create new clones.
As the others have said, there's a limit on the number of clones. Stamping is one solution as @codeman1044 has suggested. Another is to recycle your clones - if you're not displaying more than 300 on screen at any one time then you can either:

1) Delete them as they leave the screen and create new ones as new entities move onto the screen

or

2) Hide them and flag them as idle as they leave the screen and reuse those clones when new entities move onto the screen
thanks alot! i was thinking about something like this.
lizeyue
Scratcher
6 posts

Clones

Kraken_Games wrote:

301 is the max clone limit. Sorry. You can suggest it to be changed, but ST probably won't do it because it will create too much lag.
why 301 not 300?(i know its the st not you who decided)
lizeyue
Scratcher
6 posts

Clones

lizeyue wrote:

RokCoder wrote:

lizeyue wrote:

I'm doing a project and it is supposed to contain around 2000 clones, but i think some of them don't appear and i can't create new clones.
As the others have said, there's a limit on the number of clones. Stamping is one solution as @codeman1044 has suggested. Another is to recycle your clones - if you're not displaying more than 300 on screen at any one time then you can either:

1) Delete them as they leave the screen and create new ones as new entities move onto the screen

or

2) Hide them and flag them as idle as they leave the screen and reuse those clones when new entities move onto the screen
thanks alot! i was thinking about something like this.
and for that i would need to create a list with a length over 2000…
mlcreater
Scratcher
1000+ posts

Clones

lizeyue wrote:

They need to move.
If they need to move, a solution is to use Turbo Mode and do something like:
anonymoushatblockforeverclearsetto0repeat#ofcloneschangeby1setxtoitemofxsetytoitemofyperhapsextraforcostume,size,direction,etc.stamp

Last edited by mlcreater (April 25, 2019 00:13:53)

colinmacc
Scratcher
1000+ posts

Clones

lizeyue wrote:

Kraken_Games wrote:

301 is the max clone limit. Sorry. You can suggest it to be changed, but ST probably won't do it because it will create too much lag.
why 301 not 300?(i know its the st not you who decided)

In scratch 3.0 the limit is in fact 300
RokCoder
Scratcher
1000+ posts

Clones

lizeyue wrote:

and for that i would need to create a list with a length over 2000…
That's the general way to track n objects, yeah.

mlcreater wrote:

If they need to move, a solution is to use Turbo Mode
Personally I'd just use non-refresh custom blocks. There's no need to force people to run your projects in turbo mode.
Marcus_Scriptor
Scratcher
1 post

Clones

mmmm

Last edited by Marcus_Scriptor (April 27, 2021 10:18:27)

Oumuamua
Scratcher
1000+ posts

Clones

Marcus_Scriptor wrote:

mmmm

Please, don't spam

Powered by DjangoBB