Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Clones
- lizeyue
-
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
-
14 posts
Clones
you probaly cant cause the screen is either full or you reached max clones
- Kraken_Games
-
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
-
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!
Hope this helps!
- RokCoder
-
1000+ posts
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: 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.
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
-
6 posts
Clones
They need to move. 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!
- lizeyue
-
6 posts
Clones
thanks alot! i was thinking about something like this.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: 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.
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
-
6 posts
Clones
why 301 not 300?(i know its the st not you who decided) 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.
- lizeyue
-
6 posts
Clones
and for that i would need to create a list with a length over 2000…thanks alot! i was thinking about something like this.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: 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.
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
- mlcreater
-
1000+ posts
Clones
If they need to move, a solution is to use They need to move.Turbo Mode and do something like:
Last edited by mlcreater (April 25, 2019 00:13:53)
- colinmacc
-
1000+ posts
Clones
why 301 not 300?(i know its the st not you who decided) 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.
In scratch 3.0 the limit is in fact 300

- RokCoder
-
1000+ posts
Clones
That's the general way to track n objects, yeah. and for that i would need to create a list with a length over 2000…
Turbo ModePersonally I'd just use non-refresh custom blocks. There's no need to force people to run your projects in turbo mode. If they need to move, a solution is to use
- Marcus_Scriptor
-
1 post
Clones
mmmm
Last edited by Marcus_Scriptor (April 27, 2021 10:18:27)
- Discussion Forums
- » Help with Scripts
-
» Clones