Discuss Scratch

SmellyNinja
Scratcher
4 posts

More Clone Blocks

I don't know if anyone has noticed this, but when I clone a sprite, all its existing clone get cloned too. For example, if I cloned a sprite five times, I would end up with 16 copies of the same sprite, including the original. So I thought maybe adding a new block called (clone original) or something like that, in addition to (clone this sprite). But anyone has figured out a way to get around this problem, please let me know. Thanks!

Last edited by SmellyNinja (March 13, 2013 15:44:54)

BoltBait
Scratcher
1000+ posts

More Clone Blocks

That doesn't happen to me. Maybe there is a problem in your scripts.
SmellyNinja
Scratcher
4 posts

More Clone Blocks

I think the problem is that the clones follow the same instructions as the original. Do you have any ideas on how to bypass this problem? http://beta.scratch.mit.edu/projects/10077545
BoltBait
Scratcher
1000+ posts

More Clone Blocks

The problem is in your scripts.

Here is a fix: http://beta.scratch.mit.edu/projects/10077565/
ViggyMish
Scratcher
14 posts

More Clone Blocks

I NEED BLOCKS LIKE THESE BUT ORANGE

when I start as a clone with id ()::hat block

when ( v) starts as a clone::hat block

when ( v) starts as a clone with id ()::hat block

create clone of ( v) with id ()

a clone of ( v) exists?:: boolean block

a clone of ( v) exists? with id ():: boolean block

clone count::reporter block

delete all clones::cap block

delete all clones with id ()::cap block

delete all clones of ( v)::cap block

delete all clones of ( v) with id ()::cap block

[ v] of clone of ( v) with id ()::reporter block

[ v] of main sprite of ( v)::reporter block

distance to clone of ( v) with id ()::reporter block

distance to main sprite of ( v)::reporter block

Last edited by ViggyMish (Yesterday 16:37:46)

BW_CA_24
Scratcher
47 posts

More Clone Blocks

ViggyMish wrote:

I NEED BLOCKS LIKE THESE BUT ORANGE

when I start as a clone with id ()::hat block

when ( v) starts as a clone::hat block

when ( v) starts as a clone with id ()::hat block

create clone of ( v) with id ()

a clone of ( v) exists?:: boolean block

a clone of ( v) exists? with id ():: boolean block

clone count::reporter block

delete all clones::cap block

delete all clones with id ()::cap block

delete all clones of ( v)::cap block

delete all clones of ( v) with id ()::cap block

[ v] of clone of ( v) with id ()::reporter block

[ v] of main sprite of ( v)::reporter block

distance to clone of ( v) with id ()::reporter block

distance to main sprite of ( v)::reporter block
I'm unsure if this helps, but you can read data from the original sprite using the following:
([\(Variable, x pos, y pos, costume #, or etc)\ v] of (join (Parent Sprite Name) []))

Last edited by BW_CA_24 (Yesterday 19:49:13)

Powered by DjangoBB