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

#1 2012-10-24 11:48:16

empathyart
New Scratcher
Registered: 2012-10-24
Posts: 8

Hello I don't know if this is a glitch or me

Probably me...

I am making a game and I would like Sprite 2 to talk to Sprite 1 when they touch. So far no luck. This is the script I made for it.

when I receive [game start]
if <touching [sprite 1]>
    point towards [sprite 1]
    say [hello]

Offline

 

#2 2012-10-24 11:53:25

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

Re: Hello I don't know if this is a glitch or me

empathyart wrote:

Probably me...

I am making a game and I would like Sprite 2 to talk to Sprite 1 when they touch. So far no luck. This is the script I made for it.

when I receive [game start]
if <touching [sprite 1]>
    point towards [sprite 1]
    say [hello]

Put a forever block around it. Or else it will do that only once, when they most likely art talking.  wink


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

Offline

 

#3 2012-10-24 12:00:59

empathyart
New Scratcher
Registered: 2012-10-24
Posts: 8

Re: Hello I don't know if this is a glitch or me

Thanks mate! I knew it was me

Offline

 

Board footer