Discuss Scratch
- Discussion Forums
- » Suggestions
- » Get rid of 300 clone limit
- jupiterboy
-
Scratcher
55 posts
Get rid of 300 clone limit
Why is there a clone limit in the first place? Why not set it to 2147483647 or something?
- customhacker
-
Scratcher
1000+ posts
Get rid of 300 clone limit
You can still make 301 though. Im not sure why you would need more clones than that.
- 1a3c5e7g9i
-
Scratcher
100+ posts
Get rid of 300 clone limit
You can still make 301 though. I'm not sure why you would need more clones than that.Hacking or using the main sprite?
- BookOwl
-
Scratcher
1000+ posts
Get rid of 300 clone limit
No, you can make 301 clones because of a bug in the scratch code that lets you make one more clone once you get to 300.You can still make 301 though. I'm not sure why you would need more clones than that.Hacking or using the main sprite?
- The4thPixel
-
Scratcher
1000+ posts
Get rid of 300 clone limit
As mentioned by others, the limit is there to fight lag. I don't support as the limit's likely higher than you would ever need, and plus you can just duplicate the original sprite with the cloning scripts inside it.
- gems89
-
Scratcher
1000+ posts
Get rid of 300 clone limit
Its because of Lag even if i make like 20 clones my cpu starts to lag.
- miniepicness
-
Scratcher
1000+ posts
Get rid of 300 clone limit
Once upon a time, In a game called roblox, where you are free to copy a block as much as you want
my computer bluescreened multiple times
THAT is why we arent allowed to have infinate clones
my computer bluescreened multiple times
THAT is why we arent allowed to have infinate clones
- The4thPixel
-
Scratcher
1000+ posts
Get rid of 300 clone limit
Once upon a time, In a game called roblox, where you are free to copy a block as much as you wantEh, it kind of depends on your device specs. I have an Intel i3 core and I can put a few thousand blocks down without lag.
my computer bluescreened multiple times
THAT is why we arent allowed to have infinate clones
- miniepicness
-
Scratcher
1000+ posts
Get rid of 300 clone limit
itll bluescreen any kind, just go on some admin house games and nuke yourself 50 timesOnce upon a time, In a game called roblox, where you are free to copy a block as much as you wantEh, it kind of depends on your device specs. I have an Intel i3 core and I can put a few thousand blocks down without lag.
my computer bluescreened multiple times
THAT is why we arent allowed to have infinate clones
… along with 12 other people 50 times
Last edited by miniepicness (Jan. 27, 2017 01:13:30)
- PrincessPanda_test_
-
Scratcher
1000+ posts
Get rid of 300 clone limit
No support, we don't want random computers crashing just because of lag.
- Epicness123
-
Scratcher
1000+ posts
Get rid of 300 clone limit
Because lag
LAG is a word.
Its because of Lag even if i make like 20 clones my cpu starts to lag.
No support, we don't want random computers crashing just because of lag.^^^
- WolfCat67
-
Scratcher
1000+ posts
Get rid of 300 clone limit
Have you ever seen a project with 300 clones? It lags quite a bit. If we were to increase the limit to even 1000, I'm pretty sure the vast majority of computers, even good ones, would be unable to render that many clones without trouble. My computer is pretty beefy (it handled a forum post composed mostly of tons and tons of scratchblocks, which apparently nearly crashed other peoples' computers), and even it can't handle many clones.
I'm sorry, but you've got no support from me on this one.
I'm sorry, but you've got no support from me on this one.
- dude341
-
Scratcher
1000+ posts
Get rid of 300 clone limit
It's because lot's of people running Scratch have slow computers. Also, edit your post: The limit is 301, not 300.
Last edited by dude341 (Jan. 27, 2017 07:36:17)
- dude341
-
Scratcher
1000+ posts
Get rid of 300 clone limit
Have you ever seen a project with 300 clones? It lags quite a bit. If we were to increase the limit to even 1000, I'm pretty sure the vast majority of computers, even good ones, would be unable to render that many clones without trouble. My computer is pretty beefy (it handled a forum post composed mostly of tons and tons of scratchblocks, which apparently nearly crashed other peoples' computers), and even it can't handle many clones.Not if you have a fast computer.
I'm sorry, but you've got no support from me on this one.
- TheLogFather
-
Scratcher
1000+ posts
Get rid of 300 clone limit
Just to clarify about clones and lag…
Having lots of clones does not cause lag.
Continually telling lots of clones to do intensive things (such as switch costume, resize, rotate, graphic effects) does cause lag.
Also, creating a clone is fairly intensive, but particularly so if the sprite it is cloned from has resize/rotate/effects applied (since that means these things have to be applied to the clone's costume, too, when it is created). So continually creating numerous clones can also cause lag (but how many you can get away with creating at each frame will depend on what needs to be applied to the costume, how large that costume is, and how good your computer is – but I would recommend keeping it down to only a handful at once).
If you avoid continually telling clones to change their looks, and you avoid continually creating many clones (instead of deleting & recreating them, create as many as you'll need at the start, and reuse them when needed), then even a slow computer can easily handle all 301 clones.
The problem, then, is that Scratch makes it so easy to ‘abuse’ lots of clones, scripting them in a naive way (without realising!) such that it causes a lot of lag.
Having lots of clones does not cause lag.
Continually telling lots of clones to do intensive things (such as switch costume, resize, rotate, graphic effects) does cause lag.
Also, creating a clone is fairly intensive, but particularly so if the sprite it is cloned from has resize/rotate/effects applied (since that means these things have to be applied to the clone's costume, too, when it is created). So continually creating numerous clones can also cause lag (but how many you can get away with creating at each frame will depend on what needs to be applied to the costume, how large that costume is, and how good your computer is – but I would recommend keeping it down to only a handful at once).
If you avoid continually telling clones to change their looks, and you avoid continually creating many clones (instead of deleting & recreating them, create as many as you'll need at the start, and reuse them when needed), then even a slow computer can easily handle all 301 clones.
The problem, then, is that Scratch makes it so easy to ‘abuse’ lots of clones, scripting them in a naive way (without realising!) such that it causes a lot of lag.
Last edited by TheLogFather (Jan. 27, 2017 09:12:16)
- miniepicness
-
Scratcher
1000+ posts
Get rid of 300 clone limit
Just to clarify about clones and lag…I understand now, but why would they want a higher clone limit if they wouldnt be using 12849213599 clones
Having lots of clones does not cause lag.
Continually telling lots of clones to do intensive things (such as switch costume, resize, rotate, graphic effects) does cause lag.
Also, creating a clone is fairly intensive, but particularly so if the sprite it is cloned from has resize/rotate/effects applied (since that means these things have to be applied to the clone's costume, too, when it is created). So continually creating numerous clones can also cause lag (but how many you can get away with creating at each frame will depend on what needs to be applied to the costume, how large that costume is, and how good your computer is – but I would recommend keeping it down to only a handful at once).
If you avoid continually telling clones to change their looks, and you avoid continually creating many clones (instead of deleting & recreating them, create as many as you'll need at the start, and reuse them when needed), then even a slow computer can easily handle all 301 clones.
The problem, then, is that Scratch makes it so easy to ‘abuse’ lots of clones, scripting them in a naive way (without realising!) such that it causes a lot of lag.
using 12849213599 clones
RIP MY COMPUTER IF THAT HAPPENS
- TheLogFather
-
Scratcher
1000+ posts
Get rid of 300 clone limit
I understand now, but why would they want a higher clone limit if they wouldnt be using 12849213599 clonesYou can ‘use’ clones without continually having them do intensive things.
using 12849213599 clones
RIP MY COMPUTER IF THAT HAPPENS
For example, just moving 301 clones around the screen is no problem.
If you only change the costume/size/direction/effects for the clones every so often, then it's also no problem.
But it's so easy in Scratch to make the mistake of telling clones (or any sprite, for that matter) to do anything & everything all the time (even when not necessary, because it's already set to the costume/size/direction/effect you wanted), so there's a clone limit to avoid that causing too much trouble.
- Discussion Forums
- » Suggestions
-
» Get rid of 300 clone limit