This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-03-09 16:02:55

turkey3
Scratcher
Registered: 2011-12-04
Posts: 500+

If spite 1 is touching sprite 2 block

I think this would be a cool block, and u know this can be done with broadcasts, but there's a difference: now pretend his crispy is for sprite 3

When gf clicked
Forever if <sprite [1] is touching sprite [2]>
  Do whatever
Stop script
Now let me explain. The difference in this and broadcasting is the stop script(which would be optional). If a broadcast is used, it'll continuously do the script everyone sprite 1 touches sprite 2. With the stop script thing, itll only do the script the 1st time sprite 1 touches sprite 2. See what I mean? Because a broadcast can keep being broadcasted and a when flag clicked only happens once, so the stop script will tuly stop it forever. Feel perfectly free to argue. Thanks!

Never mind all that. I figured out a way to do it, but this would still make it simpler, but the more complex the more programming tests yer knowledge

Last edited by turkey3 (2012-03-09 18:49:29)

Offline

 

#2 2012-03-09 16:04:31

turkey3
Scratcher
Registered: 2011-12-04
Posts: 500+

Re: If spite 1 is touching sprite 2 block

Bump

Offline

 

#3 2012-03-09 16:14:29

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: If spite 1 is touching sprite 2 block

turkey3 wrote:

Bump

Did you really just bump this two minutes after posting it? >_>

Anyway, that can be replicated so easily I'm not even gonna bother explaining how. All it takes is one variable.

And you need to slow down on the suggestions.


Why

Offline

 

#4 2012-03-09 22:48:47

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: If spite 1 is touching sprite 2 block

Closed by request.


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

Board footer