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

#1 2008-11-24 20:06:50

Pacatafox
Scratcher
Registered: 2008-11-21
Posts: 25

if touching [bomb]

ok i made a program where i said if touching [bomb] (which is a sprite) switch to costume 2. However when the bomb touches the guy, nothing happans. Why?

Offline

 

#2 2008-11-24 20:09:08

keroro645
Scratcher
Registered: 2008-06-07
Posts: 1000+

Re: if touching [bomb]

Post it and i can help you

Offline

 

#3 2008-11-24 21:15:22

Pacatafox
Scratcher
Registered: 2008-11-21
Posts: 25

Re: if touching [bomb]

nevermind i figured it out

Offline

 

#4 2008-11-25 04:00:38

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: if touching [bomb]

Just as an aside, if you are going to have multiple bombs it may be worth either using "if touching colour" so that you can react to every bomb with a single script,

OR

put "if touching player, Broadcast BOOM" on the bombs, and replace "if touching bomb" with "When I recieve BOOM"


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

Board footer