Time for action – asking a question
Our task is to make the seeker have a conversation with the teller and ultimately, ask a question. Select the seeker sprite, and let's begin:
- First, clean the clutter from the stage. Right-click on each of the list monitors and select hide.
- Let's stitch together some dialog between the two sprites. From the Events palette, add the when this sprite clicked block to the scripts area.
- Attach a say () for () secs block and change the text value to a pleasant introductory sentence such as
Hi, wise teller. Do you have my fortune?
. - Add a broadcast () block, and create a new message named
intro
(short for introduction) as a way to signal the teller that the seeker is ready, as shown in the following screenshot: - For the teller, add a when I receive (intro) block to the scripts area, and attach an ask () and wait block from the Sensing palette. Replace the text value of the ask block with something that prompts the player to ask a question on behalf...