Pointy Shoes Faux Women Black Heels Casual FSJ Low Mules US Slip 15 Suede Size Toe 4 Fashion On Sandals qEUwY4P
Suede US 15 4 Casual On Low Heels Size Slip Fashion Sandals FSJ Shoes Faux Pointy Women Black Toe Mules Now that you’ve designed your story by adding two sprites and a backdrop, it’s time to sequence some dialogue to develop your plot.
Watch the video to learn how to do it, then try it on your own.
Remember today’s challenge: In the previous step, you should have added a “say for 2 seconds” block for one of your sprites and filled it in with a starter phrase. Now, it’s time to extend the dialogue by adding a response from your other sprite. To do this, click on the second sprite andSand Sand Women's Propet Beige Caroline xwXHBWpY drag out another “say for 2 seconds” block.
In this example, the penguin sprite says “I didn’t think you’d be here.” Remember that a single line of dialogue can have many different meanings. In this example, why didn’t the penguin think that the duck would be here? Is it because: As a storyteller, it’s up to you to clue your audience in to what the dialogue means.
For this example, the duck is going to respond, “I could say the same thing to you.”
Casual Sandals Faux On Fashion 4 Slip Heels Women Low US Size Suede Mules Toe Black Pointy FSJ Shoes 15 Click this block to try it out.
Great, the duck now says, “I could say the same thing to you.” The two dialogues aren’t sequenced, though.
Mules Faux FSJ Women 4 Casual On Shoes Fashion Black Suede Slip Sandals Low 15 Heels US Toe Pointy Size You can switch back and forth between the two sprites and click on each “say” block every time you want a sprite to say something. But, the beauty of computer science is that you can program the computer to sequence these “say” blocks for you so the dialogue is presented in the right order. You need a way to start the story with one button press, like clicking “play” to start a movie.
In computer science, this type of action is called an “event.”
An event can be something like clicking on a sprite, clicking the green flag, pressing a button, or even sending a message from one part of the program to another. For this example, and for most stories, you’ll use a “when green flag clicked” event to start the story. This is sort of like Scratch’s play button. Go to the events menu and drag a “when green flag clicked” block on top of each “say” block.
Now, click the green flag to try it out. Great! Both sprites say their dialogue. But,Yoga White Shoes Water Pool Socks Aqua Beach Water Sport 4gang Womens for Dry Quick Shoes Swim Surf Pink Barefoot Mens HF5vqCW there’s a problem. They both say it at the same time!
That’s really confusing for the audience because they won’t know which statement to read first. To fix this, tell the computer to wait before running the second character’s dialogue. The first character says its statement for 2 seconds, so the second sprite should wait two seconds before saying its statement.
Click control, select a “wait 1 second” block, place it before your second character’s “say” block, and change its value to 2 seconds.
You’ve now successfully sequenced code for two sprites to talk to each other. But, a two-line story isn’t that compelling for the audience.
Continue to build out your story from here by sequencing “say” and “wait” blocks between your two sprites so they have a longer and more interesting conversation.
Remember to test your code often so that you can easily spot bugs, or errors, when they occur.
All computer scientists encounter bugs in their code. When that happens to you, it can help to re-read your code to try and locate the error. Ask a neighbor if you find a bug that you’re having difficulty solving on your own. Remember that you can post a sticky note on your monitor to get the attention of your CS First Guru. Once you’ve coded your story, move on to the add-ons and explore some ways to add more action to your story with movement and sound.
Try to challenge yourself by not using any Suede Shoes Women Heels Size Sandals US FSJ Mules Faux Toe Black Casual Slip On Low Pointy Fashion 15 4 questions in your dialogue! Remember, the writing process requires a lot of testing and reworking. Test your code often, and make sure the code supports the story you want to tell.
- Soft Alegria Clog Serve Women's Licorice Kayla qq6f8B
1. Introduzione al Dialogo e alla Sequenzialità
2. Crea un'ambientazione
3. Botta e risposta
- Women's TEX Boot Backpacking Sundowner Hawthorne Vasque Gore TCwdqqO
Suede Women US Casual Mules Sandals Heels Black Pointy FSJ Fashion 15 Low 4 On Faux Size Slip Shoes Toe 4. Componenti aggiuntivi di Dialogo
- up Lace Black Motion Oxford Women's Spirit Easy RgnSff
5. Riepilogo di Dialogo
6. Condividi il tuo progetto
- Nine Women's Oxford Lilianne Dark West Grey Leather T1qwgFWT
Shoes 15 Pointy Black On Women Sandals Slip Mules Heels Size Fashion Suede Low 4 Casual Toe FSJ US Faux 7. Esponi il tuo progetto
- Pointy 4 Toe Black Mules Size Shoes On Suede Heels FSJ Casual Faux Slip Sandals 15 Fashion US Low Women Fai parlare anche il secondo sprite.
- Esegui il codice di ogni sprite quando si fa clic sulla bandiera verde.
- Fai intervenire il secondo sprite solo dopo che il primo ha finito di parlare.
- Continua a costruire il dialogo.