Learning Objectives

  • Design and code a simple interactive story.
  • Learn how to use events to trigger actions.
  • Develop storytelling skills through coding.

Topics Covered

  1. Using events to control interactions.
  2. Combining sequences, loops, and conditionals.
  3. Creating dialogue and animations.

Building Interactive Stories with PythonĀ on 98th Percentile

Lesson Components

  1. Warm-Up Activity
  • Students brainstorm their favorite stories and think about how they could be interactive.
  1. Event-Based Programming
  • Explain events (e.g., ā€œwhen this happens, do thisā€).
  • Demonstrate how to use events in Scratch or Blockly to make a character move or speak.
  1. Hands-on Activity
  • Students create an interactive story with at least two characters.

How to Use Scratch to Make a StoryĀ inĀ iD Tech

  • Use loops and conditionals to make the story dynamic (e.g., ā€œIf the character clicks the door, it opensā€).
  1. Sharing and Feedback
  • Students present their stories.
  • Peer feedback to encourage creativity and improvement.