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

#1 2008-05-29 12:56:12

cashil124
Scratcher
Registered: 2008-04-15
Posts: 2

hihi

[blocks]OK- I need to make it so that when one sprite touches another, it sends a signal to end the game[/blocks]

Offline

 

#2 2008-05-29 13:37:20

painthorseluvr
Scratcher
Registered: 2008-03-10
Posts: 28

Re: hihi

Use this code:
<when green flag clicked>
<forever>
<if><touching[ sprite--
<broadcast[ game over
<stop script>

Offline

 

#3 2008-05-30 10:41:35

cashil124
Scratcher
Registered: 2008-04-15
Posts: 2

Re: hihi

thank you!

Offline

 

#4 2008-05-30 10:55:55

redsooty9
Scratcher
Registered: 2008-03-06
Posts: 69

Re: hihi

just do this: if touching sprite 2 broadcast game over or when flag clicked if touching colour (whatever you want)? broadcast game over.


Redsooty9

Offline

 

Board footer