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

#1 2012-10-25 13:32:07

l_branco
New Scratcher
Registered: 2012-10-08
Posts: 5

touching

I am using the touching blue diamond box in my script.  When the sprite showing is touched by another sprite I want it to hide.  The touching is not being recognized.  I am using the exact same script for a separate set of sprites and there it works fine.  Suggestions?

Offline

 

#2 2012-10-25 17:00:30

gfchll
Scratcher
Registered: 2012-04-21
Posts: 100+

Re: touching

 
forever
if <touching [sprite v]?>
hide
end
does this work?

Last edited by gfchll (2012-10-25 17:01:15)


HELLO EVERYBODY!

Offline

 

#3 2012-10-25 17:08:29

mythbusteranimator
Scratcher
Registered: 2012-02-28
Posts: 1000+

Re: touching

Almost everyone forgets the "forever".


http://www.foxtrot.com/comics/2012-04-01-fdb37077.gif
clicky

Offline

 

#4 2012-10-25 17:40:52

dvd4
Scratcher
Registered: 2010-06-30
Posts: 1000+

Re: touching

mythbusteranimator wrote:

Almost everyone forgets the "forever".

Even thought there is the forever if

forever if <when gf clicked>


I made a mod  big_smile  It's called blook!
http://i49.tinypic.com/16ia63p.png

Offline

 

#5 2012-10-25 20:52:10

l_branco
New Scratcher
Registered: 2012-10-08
Posts: 5

Re: touching

Great suggestions.  Thanks so much!  I think the "forever"  is working.  There is a blacked out area surrounding the two sprites which I think touch first and give the illusion of disappearing too soon.  I will work on the graphic of the sprite. 
thanks again!

Offline

 

Board footer