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- and one with the characters mouth open- . 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 endThen click on the sounds tab to record your voice. "hello this is tim"
when gf clicked play sound [hello this is tim v]
Offline
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"
when gf clicked hide
when I receive [next character v] showthen you can use the same blocks you used to make sprite1 talk, on this sprite. TaDa!
Offline