Discuss Scratch

jorrit200
Scratcher
15 posts

clones and pen

clones and pens don't go together if you do use pen on clones it will only work on the last clone. this is annoying. if you have multiple clones moving and doing this:


when I start as a clone
forever
clear
set [xp v] to (x position)
set [yp v] to (y position)
pen down
go to x: (0) y: (0)
pen up
go to x: (xp) y: (yp)
end


only the newest clone seem to do this. but the variables i used are different for each clone. i think it should have a separate pen for every clone. then this would work

here is my scratch account

forever
think [..hard thinking..]
add [idea] to [ideas v]
program
if <(smartness) > [5]> then

succeed

else
fail
end

change [smartness v] by (1)
end
Botcho_Otkho
Scratcher
1000+ posts

clones and pen

I didn't know that, but support, it should be fixed.

CONSIDER READING THIS, PLEASE:
Don't write things someone already said. It's useless.
If you want to point a duplicate, please don't write just “Duplicate” when you don't have the link. At least say that you can't do it because -reasons-. Writing it and then going away does not help.
Don't write “I agree”, “this” or just quote without adding something constructive. It doesn't help.
No supporting because “you can do this elsewhere” is not a valid reason. If it was, the suggestion forum wouldn't exist because you can do everything elsewhere.
A simple workaround is not, never was and will never be a reason to no-support a suggestion. There are plenty of blocks with simple workarounds in Scratch right now, and there's a reason if the ST still added them.
No supporting because “it can turn into a competition” is not a reason, since it can happen everywhere (such as follows). Post count: 1900+
Sheep_maker
Scratcher
1000+ posts

clones and pen

Remove the clear block and only have the original sprite clear.

The problem is that each clone is erasing what the previous clone drew, so only the last clone's drawing, which doesn't have a next clone to erase all its work, will show.

- Sheep_maker This is a kumquat-free signature. :P
Please don't feel the obligation to post on every single topic you see; eventually you will resort to spam.
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }
Botcho_Otkho
Scratcher
1000+ posts

clones and pen

Sheep_maker wrote:

Remove the clear block and only have the original sprite clear.

The problem is that each clone is erasing what the previous clone drew, so only the last clone's drawing, which doesn't have a next clone to erase all its work, will show.
Oh, I didn't look at the block *please somebody buy me some glasses*

CONSIDER READING THIS, PLEASE:
Don't write things someone already said. It's useless.
If you want to point a duplicate, please don't write just “Duplicate” when you don't have the link. At least say that you can't do it because -reasons-. Writing it and then going away does not help.
Don't write “I agree”, “this” or just quote without adding something constructive. It doesn't help.
No supporting because “you can do this elsewhere” is not a valid reason. If it was, the suggestion forum wouldn't exist because you can do everything elsewhere.
A simple workaround is not, never was and will never be a reason to no-support a suggestion. There are plenty of blocks with simple workarounds in Scratch right now, and there's a reason if the ST still added them.
No supporting because “it can turn into a competition” is not a reason, since it can happen everywhere (such as follows). Post count: 1900+
jorrit200
Scratcher
15 posts

clones and pen

Sheep_maker wrote:

Remove the clear block and only have the original sprite clear.

The problem is that each clone is erasing what the previous clone drew, so only the last clone's drawing, which doesn't have a next clone to erase all its work, will show.

it worked but the clones are moving while doing this so that makes it ugly. but thanks now i do know the source. in that case the clear block should be local.

Last edited by jorrit200 (July 12, 2018 15:49:00)


here is my scratch account

forever
think [..hard thinking..]
add [idea] to [ideas v]
program
if <(smartness) > [5]> then

succeed

else
fail
end

change [smartness v] by (1)
end

Powered by DjangoBB

Standard | Mobile