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

#1 2013-03-22 23:48:00

joshuasands720
New Scratcher
Registered: 2013-03-22
Posts: 1

Hi, I'm new

I was wondering how you can make your sprite do two things at the same time. For example making my sprite say meow AND make the sound meow at the same time. When i put it below each other, the actions go in the order place. Please help me!

Offline

 

#2 2013-03-23 13:28:30

iTweak0r
Scratcher
Registered: 2011-07-30
Posts: 100+

Re: Hi, I'm new

to make a sprite say meow and play meow:

when gf clicked
play sound [meow v] //not play sound until done
say [Meow!] for (whatever you want) secs
this play sound block with no "until done" lets the script continue but still play a sound.


Make it in Scratch! because it's cooler when it's made in scratch
http://i.imgur.com/D4iqPHR.png

Offline

 

#3 2013-03-28 21:10:52

jakesyl
New Scratcher
Registered: 2013-03-05
Posts: 8

Re: Hi, I'm new

2 Different scripts, for instance

 when gf clicked go to [mouse-pointer v]  
and than
scratchblocks] when gf clicked go to [mouse-pointer v] 

Offline

 

#4 2013-03-29 19:12:28

shivadas
Scratcher
Registered: 2010-02-06
Posts: 100+

Re: Hi, I'm new

The way iTweak0r said is probably the best way, but if you don't want that you could also do it this way, with to separate scripts:

when gf clicked
say [hi]
end

when gf clicked
play sound [hi]
end
That way you would be able to change the sound to

when gf clicked
play sound [hi] until done
end
if you wanted to.

Hope I helped!  wink

Last edited by shivadas (2013-03-29 19:13:47)


Please check out my latest project, Hunger Avenger!

Offline

 

Board footer