dark mode light mode Search Menu

Scratch Fractured Fairy Tales

KaCey97078 on Flickr

In the first article in this series on Scratch 3.0, we reviewed how to use backdrops, sound, costumes, timing, and the Glide and Broadcast blocks (as seen in Scenes 1 and 2 of our fairytale). In the second article, we discussed the ghost effect, backpack, functions, animation frames, Broadcast and Wait, and the clean up blocks tool (as seen in Scenes 3 and 4 of our fairytale). In this third article, we will further fracture Scenes 5 and 6 of our fairytale by using the When Key Pressed, Wait Until, Touching Color, Ask, Answer, If Else and Join blocks. Let’s jump in!

To view the sample project, go to Scratch and do a search for “Fracturing Fairy Tales” by creator Fairy Scratcher (or visit the linked Project Page below).

To start, let’s look at the When Key Pressed block. We can allow users to control the movement of sprites by pressing a key. Options include using the space key, directional arrows, letters, numbers or even any key! In this case, users are able to move the Witch sprite left and right 10 steps using the left and right arrow keys. Notice how sprites must move negative steps when moving left!

Image 1 Using the When Key Pressed block

Once users press the right arrow key and move the Witch sprite over the magic crystal, they are asked a question that will decide the direction of the dialogue. This works due to the sensing block Touching Color, which is activated when the Sprite comes across the exact color of the crystal. Using an eye dropper tool to select the precise color needed, creators can instruct the Sprite to look for the color, and from there ask users a series of questions.

Image 2 Using the Wait Until – Touching Color block

Once players touch the magic crystal, they are then asked a question and their answers are held in a variable called answer. This is completed with the Ask and Answer blocks. Creators can prompt players for an answer to a question and based on the answer can then be directed to a series of outcomes using the If Else block.

Image 3 Combining the use of Ask and Answer and If Else blocks

Creators can prompt players to answer a question and then combine their answer with a premade response for one of a kind dialogue using the Join block. For example, players are asked by the Fairy what she should do. The program then joins the user’s answers with a premade response. This can make for humorous and unexpected new lines in Scratch stories!

Image 4 Using the Ask and Answer and Join block for unique responses

Last, for a funny ending, we brought back our Toad King and put him on the ending slide to close out our fairytale. By using the broadcast block, we could direct the Toad to reappear once more. Using our previously created Toad Hopping function, he could hop across the screen and say a few words on the closing slide.

Image 5 Bringing characters back for an encore appearance on the closing slide

Learn More

Fracturing Fairy Tales Product Page


Scratch Activity Guides


11 Fractured Fairy Tales for Young Readers


How to Write a Fractured Fairy Tale (free eBook in Epic books!)


Interactive Fractured Fairy Tales


Funny, Alternative Fractured Fairy Tales


Fractured Fairy Tales in Classrooms