Discuss Scratch

miniepicness
Scratcher
1000+ posts

Get rid of 300 clone limit

TheLogFather wrote:

miniepicness wrote:

I understand now, but why would they want a higher clone limit if they wouldnt be using 12849213599 clones
using 12849213599 clones
RIP MY COMPUTER IF THAT HAPPENS
You can ‘use’ clones without continually having them do intensive things.

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.

yeah thats what I mean

constantly telling them to like change constumes
when there not even in use
jupiterboy
Scratcher
55 posts

Get rid of 300 clone limit

i have a 3d game that im remixing and working on that will require ~3000 clones.
jromagnoli
Scratcher
1000+ posts

Get rid of 300 clone limit

jupiterboy wrote:

i have a 3d game that im remixing and working on that will require ~3000 clones.
You can cut down drastically with pen and stamping.
TechEpic
Scratcher
100+ posts

Get rid of 300 clone limit

Honestly, the clone limit could be reduced. Certainly not increased however, Scratch has to be user friendly to everyone and having too many clones gives people with low-end computers serious issues. Many basic properties can be programmed to simulate clones with a few lists and a custom block that runs without screen refresh.
P-Code
Scratcher
500+ posts

Get rid of 300 clone limit

The4thPixel wrote:

miniepicness wrote:

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
Eh, 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.

So you're saying we should get a fancy computer just so we can have 3829334287 clones in a project? Without the clone limit, I think every computer will crash at some point.
Sheep_maker
Scratcher
1000+ posts

Get rid of 300 clone limit

If we do get rid of the clone limit, projects that intentionally create enough clones to crash Flash or something should be reportable.
The4thPixel
Scratcher
1000+ posts

Get rid of 300 clone limit

P-Code wrote:

The4thPixel wrote:

miniepicness wrote:

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
Eh, 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.

So you're saying we should get a fancy computer just so we can have 3829334287 clones in a project? Without the clone limit, I think every computer will crash at some point.
That's not what I was saying at all. Please don't jump to conclusions.
QuantumSingularity
Scratcher
1000+ posts

Get rid of 300 clone limit

The4thPixel wrote:

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.
For this reason, I do not support this. There has to be a limit otherwise you could potentially freeze your entire browser.
EDO2012
Scratcher
100+ posts

Get rid of 300 clone limit

Lag is why.

You could also get more by using pen and lists.
Cub56
Scratcher
1000+ posts

Get rid of 300 clone limit

If there were too many clones there would be a lot of lag/slowdown due to having so many things onscreen at once. If you want to have a lot of clones, make the ones that aren't being shown delete and recreate when needed.

Unless you need over 300 clones onscreen at once? Could you tell me what it's for so I can suggest some alternatives?
jupiterboy
Scratcher
55 posts

Get rid of 300 clone limit

i need a lotta grass objects, roughly 10000.having a field of view of 180 degrees at maximum, i'll need on average 5000 clones to make it work. and because of the way the 3d engine im using is coded, i can only have 301 clones in the whole game. seiously. make the limit like 12000 or something.
nickeljorn
Scratcher
1000+ posts

Get rid of 300 clone limit

jupiterboy wrote:

i need a lotta grass objects, roughly 10000.having a field of view of 180 degrees at maximum, i'll need on average 5000 clones to make it work. and because of the way the 3d engine im using is coded, i can only have 301 clones in the whole game. seiously. make the limit like 12000 or something.

But that would crash the project!
jupiterboy
Scratcher
55 posts

Get rid of 300 clone limit

no
jupiterboy
Scratcher
55 posts

Get rid of 300 clone limit

it
jupiterboy
Scratcher
55 posts

Get rid of 300 clone limit

wont
The4thPixel
Scratcher
1000+ posts

Get rid of 300 clone limit

jupiterboy wrote:

no

jupiterboy wrote:

it

jupiterboy wrote:

wont
Please don't spam.
TheMonsterOfTheDeep
Scratcher
1000+ posts

Get rid of 300 clone limit

Does anybody have a citation for a lag statistic? Otherwise you're all just dogpiling for absolutely no reason…

As @TheLogFather mentioned, clones really shouldn't cause all that much lag if used right.

Now certainly some number of clones would, because clones need to be drawn to the screen - and drawing a few thousand images is a slow operation. But at the very least Scratch should be able to handle a few hundred more.
WaffleChurro
Scratcher
100+ posts

Get rid of 300 clone limit

jupiterboy wrote:

i need a lotta grass objects, roughly 10000.having a field of view of 180 degrees at maximum, i'll need on average 5000 clones to make it work. and because of the way the 3d engine im using is coded, i can only have 301 clones in the whole game. seiously. make the limit like 12000 or something.
Stamping should work. Don't waste your time making a complex game which will crash.
Cub56
Scratcher
1000+ posts

Get rid of 300 clone limit

jupiterboy wrote:

i need a lotta grass objects, roughly 10000.having a field of view of 180 degrees at maximum, i'll need on average 5000 clones to make it work. and because of the way the 3d engine im using is coded, i can only have 301 clones in the whole game. seiously. make the limit like 12000 or something.
10000 clones moving around on screen would probably crash your entire browser. Is it a 3D project? If you want a load of grass do you actually need a separate clone for each blade of grass? Because if not you could just make it one big sprite.
asivi
Scratcher
1000+ posts

Get rid of 300 clone limit

jupiterboy wrote:

i need a lotta grass objects, roughly 10000.having a field of view of 180 degrees at maximum, i'll need on average 5000 clones to make it work. and because of the way the 3d engine im using is coded, i can only have 301 clones in the whole game. seiously. make the limit like 12000 or something.

when green flag clicked
grass :: custom

define grass
repeat (30000)
go to [random position v]
create clone of [myself v]
end

when I start as a clone
forever
turn cw (10) degrees
wait (pick random (0.05) to (0.5)) secs
turn cw (-10) degrees
wait (pick random (0.5) to (0.5)) secs
end
https://phosphorus.github.io/#143323312

Powered by DjangoBB