Discuss Scratch
- relrel
-
100+ posts
"delete all clones" block
You must add a block which deletes all the clones of one sprite/all the clones.
Thanks!
Thanks!
- BoltBait
-
1000+ posts
"delete all clones" block
Why not just use messaging?
Seems easy enough to me. No need for a block for that.
Seems easy enough to me. No need for a block for that.
- LiquidMetal
-
100+ posts
"delete all clones" block
Easy enough? In that case, why don't we eliminate forever if <>; () - (); turn ccw () degress; set, change and glide blocks for movement; change block for variable; timed say and think blocks; play sound until done; all hat blocks besides greenflag and broadcast received; all list blocks; ifthenelse; and repeat(#)? There is a workaround for each of those blocks, but for some reason, they were implemented.
Ok, I admit using variables as a list with a delimiter would be painstaking, but some of the others are much easier, especially using + negative instead of -, and turning clockwise negative degrees.
Ok, I admit using variables as a list with a delimiter would be painstaking, but some of the others are much easier, especially using + negative instead of -, and turning clockwise negative degrees.
- Failord
-
1000+ posts
"delete all clones" block
I like this idea. Heck, redundencies can be good things.
- BoltBait
-
1000+ posts
"delete all clones" block
The reason I don't like the idea is because it does not follow Object Oriented Programming practices.
- OrcaCat
-
1000+ posts
"delete all clones" block
+1 The reason I don't like the idea is because it does not follow Object Oriented Programming practices.
Also, I hate the glide block, because you can't have anything else going on while it's gliding.
Last edited by OrcaCat (Feb. 19, 2013 02:18:27)
- nXIII
-
1000+ posts
"delete all clones" block
hate the glide block, because you can't have anything else going on while it's gliding.…In the same thread. Also, I
broadcast (do stuff)
glide (2) secs to x: (20) y: (30)
when I receive (do stuff)
reset timer
repeat until {{timer} > (3)}
turn (3) degrees ccw
- BoltBait
-
1000+ posts
"delete all clones" block
My blackjack game uses the glide block for dealing cards and they also spin while gliding.
So, it's possible. You just need to be tricky and use 2 scripts.
So, it's possible. You just need to be tricky and use 2 scripts.

- OrcaCat
-
1000+ posts
"delete all clones" block
@ nXIII/BoltBait Thanks! My blackjack game uses the glide block for dealing cards and they also spin while gliding.
So, it's possible. You just need to be tricky and use 2 scripts.
- velocityraptor
-
1 post
"delete all clones" block
Oh wow. I was searching for an answer to delete all clones.I feel dumb now Why not just use messaging?
Seems easy enough to me. No need for a block for that.

- turkey3
-
1000+ posts
"delete all clones" block
Yes, that block is very annoying. I only used it about 2 years ago when I started Scratch.+1 The reason I don't like the idea is because it does not follow Object Oriented Programming practices.
Also, I hate the glide block, because you can't have anything else going on while it's gliding.
- TM_
-
1000+ posts
"delete all clones" block
Why not just use messaging?
Seems easy enough to me. No need for a block for that.
+1
Thought the same when i red the title.
@LiquidMetal
When we add for every small thing like this (which needs just a had and the dlete block and a sender), we would have too many blocks. Also you can't argue with ever block has a work around. Many things are useful althought they can be work arounded with a small ammount of blocks. Like change varibale by 1 or set variable to variable +1 is the same, but the change var by 1 is very often used, for me more than the set block. Other blocks are similar. Like the turn: Turn 15 degrees or set direction to direction +15. Imagine you would always have to build the last one.
The ammount of usage of blocks is important. So when a block is often used, however small and easy the workaround is, the block should exist. But the delete all clones seems to be a rare used block. So i think we do not need it, because you even when you need this block, you would use it only a few times in the project and then never again.
Last edited by TM_ (Aug. 14, 2013 17:27:12)
- everybodyedit
-
100+ posts
"delete all clones" block
Clones don't respond to when I receive blocks Why not just use messaging?
Seems easy enough to me. No need for a block for that.
- TM_
-
1000+ posts
"delete all clones" block
Clones don't respond to when I receive blocks Why not just use messaging?
Seems easy enough to me. No need for a block for that.
When clones do not respond to messages, how do all my projects with clone work? I work at the momen on 3 big projects, all 3 use clones and all use in the clones at least one receive block. So i think you should check your scripts
- drmcw
-
1000+ posts
"delete all clones" block
+1 The reason I don't like the idea is because it does not follow Object Oriented Programming practices.
Also, I hate the glide block, because you can't have anything else going on while it's gliding.
Check out galaga in my signature that is pretty much all gliding!
- dusty22
-
100+ posts
"delete all clones" block
I agree a delete all might be handy for rogue clones that slip through openings in your code.
- A-no-meep
-
100+ posts
"delete all clones" block
Clones don't respond to when I receive blocks Why not just use messaging?
Seems easy enough to me. No need for a block for that.
They do respond to those blocks.
- block_push
-
51 posts
"delete all clones" block
A “Delete All Clones” Block would be nice, and it would solve the problem of going through all the coding just to delete every single clone that had been made. It'd Be nice, but not necessary- I Would like scratch add this, but it isn't IMPORTANT….
Thanks for your Consideration Scratch!
-Post By User: block_push-
Thanks for your Consideration Scratch!
-Post By User: block_push-