Time for action – integrating the dog's joke sequence
With jokes in hand, let's integrate them into our scene:
Snap the joke sequence to the script that ends with the set y to () block. In the next screenshot, my joke sequence is everything between the say (What are the top three reasons dogs don't use computers?) for (4) secs and say (CarPAW Tunnel Syndrome!) for (3) secs blocks.
Add the stack that ends with the glide (1) secs to x: (-138) y: (2) block to the end of the joke sequence. Check your work against the following screenshot:
Now let's add our drum effect to the script. We have three jokes; therefore, we will use a broadcast () and wait block to play the drum effect after each line. After each joke, insert a broadcast and wait block. Create a new broadcast message named play drums and select the play drums message in each broadcast () and wait block.
Add a when I receive () block to the top of the drum effects stack and select the play drums message.
Double-click on the stack that contains...