Make your own story
Now let's take what we've learned so far about coding stories to create our own story.
Take some time to think about your story. Where and when does it take place and what characters are in it.
Create a new project in Scratch and have a look through the backdrop and sprite libraries to get some ideas.
The plot is the events that happen in your story. Think about the beginning, the middle and the end of your story.
Once you have finished coming up with the ideas for your story you can start to create it in Scratch. Think about the code blocks we learned about in the previous lessons about coding stories.
To make a character say something in a speech bubble:
say [Hello!] for (2) seconds
To change the scene:
switch backdrop to (Space v)
To hide or show a character:
To pause or delay for a number of seconds:
wait (2) seconds
To broadcast a message:
broadcast (message1 v)
To do something when you receive a message:
when I receive (message1 v)
If you are feeling adventurous, try out some new blocks! Here's some other blocks that are useful for coding stories.
This is like the say Hello! for 2 secs block but it makes a thought bubble instead of a speech bubble:
think [Hmmmm..] for (2) seconds
This changes the costume of your sprite:
switch costume to (running v)
These change the size of your sprite:
change size by (10)
set size to (100) %
This lesson is copyright of Coding Ireland. Unauthorised use, copying or distribution is not allowed.
Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab. It is available for free at https://scratch.mit.edu