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

#1 2012-12-29 12:26:35

123therealwoodstock
Scratcher
Registered: 2012-03-31
Posts: 4

Info for new scratchers pt 1

Lets say that you wanted a character to talk.
The images in scratch are called sprites and the different versions of the image are called costumes.
The sprites for this project would be simple one with the characters mouth closed-  smile  and one with the characters mouth open-  big_smile .  You would have one costume with it open and one with it closed. the blocks would look something like this.

when gf clicked
repeat [10]
   switch to costume [open v]
   wait [0.5] secs
   switch to costume [closed v]
   wait [0.5] secs
end
Then click on the sounds tab to record your voice. "hello this is tim"
when gf clicked
play sound [hello this is tim v]

Offline

 

#2 2012-12-29 12:40:43

123therealwoodstock
Scratcher
Registered: 2012-03-31
Posts: 4

Re: Info for new scratchers pt 1

Now if you wanted another character to talk afterthe first one you would need another sprite for that character. The same thing: one costume with mouth open, one with it closed.
The script could look like this.

when gf clicked
play sound [hello this is tim v] until done
broadcast [next character v]
The broadcast allows one sprite to communicate with another. to make a broadcast, drag the broadcast block from the controls tab and click on the drop-down menu. Click new. Then type in the name of you broadcast- "next character"
Then go to the scrips on sprite2.
when gf clicked
hide
when I receive [next character v]
show
then you can use the same blocks you used to make sprite1 talk, on this sprite. TaDa!
Now hit the green flag to veiw your animation.

Offline

 

Board footer