Matariki

Telling a Story

We can use a Broadcast block to tell these stories. Broadcast is a way of sending a message to all the sprites in the program.

  • Add this code to the Matariki star sprite.
  • Change the name of the message to ‘Matariki kōrero’ or Matariki story’.
  • We want the stars to hide while we tell a story.
  • Add a ‘hide’ block to your code.
  • Add a ‘hide’ block to all the other stars when they receive the broadcasted message.
  • You can do this by dragging the blocks to the other sprites.
  • Test your code.
  • Have all your stars dissapeared? We’ll need a way to get them back so we can continue testing our code as we write!
  • On each star sprite, add a ‘show’ block to your ‘click green flag’ block, that way we know we can always get our stars back!
  • We want to change the background when we are telling each star’s story. For the Matariki star, let’s go to a sunset.
  • Go to the Stage.
  • Add this code.
  • Test your code.
  • We will need to be able to get back the night sky backdrop.
  • Add this code.
  • Add this code to your Narrator Sprite.
  • Select the Kite Sprite.
  • Add this code to make it fly.
  • Add this code to make the kite fly into sky and flutter with the stars.