So let's now combine both tiles to model the jumping and speaking behavior correctly. If you think you know how to do this, go ahead and try it out before reading ahead.
Take a Do in order tile and drop it into the Do together tile (note: the yellow Do in order goes ON the purple Do together tile).
<click on me to make me bigger>
Now drag the two slackerProm move tiles into this Do in order tile.
<click on me to make me bigger>
[Q1.9.1]: Two important questions you should ask yourself at this point:
Does it matter where the Do in order tile is dropped when placing it into the Do together tile (that is, before the say tile or after the say tile)? Why?
Does it matter what order we place the two slackerProm move tiles into the Do in order tile? Why?
Look at the code carefully if you're not sure of the answers, thinking carefully about the difference between doing things in order and doing them together.
The answers are no and yes, respectively. In a Do together, the order of the instructions to be done together is unimportant, whereas in a Do in order, it's crucial!
Take another look at your code. Are you sure it will do what you expect? Try it out now. Did it execute (play) as expected?
Well, it was close, wasn't it? If you think it was what we wanted - spinning and moving, while speaking - look again. It was close, only, in that the guy spun while saying "Aiii!", but then he wasn't speaking while he moved backward. That wasn't the plan -- he was supposed to be saying "Aiii!" the whole time.
The reason is that Alice actions often operate for a specified period of time. The default is 1 second. You can find this out if you click on the text more... coming after any of the move, spin, or say instructions, and then look under duration.... With a 1 second duration for all these tiles, the Do in order turn and move backward instructions will take 2 seconds in total while the say tile will take only 1 second. The say instruction is therefore finished when the Do in order is only half way through (only the turn is done) - exactly the behavior we see.
So, what should be changed to get the desired behavior? We have options, but an easy one is to set the duration of the say instruction to be 2 seconds. Make this change and run it again to be sure that this is all working as expected.
<click on me to make me bigger>
[Q1.9.2]: Are there any other options that would also work to have the guy being saying Aiii! during both his turn and move backward actions? Describe one in English sentences.
How you should have thought about this section:
English:
Spanish: