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

#1 2013-04-18 15:45:27

Mojany
New Scratcher
Registered: 2013-02-14
Posts: 7

How to say something

I want to know how the sprite say something when the other sprite touches another sprite.

For example, when the spinner (first sprite) of the roulette touches one of the number/in this time it is 2 (second sprite) on roulette, the background change and the cat (third sprite) says "You got 2, so let's move 2 places!"

I tried a lot of different ways, but it didn't work....

Can someone pleeaase help me?

Offline

 

#2 2013-04-18 15:53:41

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: How to say something

hmmm.... Here:

when i receive [gameStart v]
wait until <touching [sprite 2 v] ?>
broadcast [got two v]

Is this what you wanted? You aren't talking about using the:
say [ ] for [2] secs
block, right?

Also, is this an on going thing? If so, then you need to add an:
forever
end
loop to that script.

Hope that helps,

CAA14

Last edited by CAA14 (2013-04-18 15:55:11)

Offline

 

Board footer