Unit 4.3
Logic and lore
In this unit, students combine narrative writing with game design. They begin by drafting a character’s backstory, unique strengths, and weaknesses. Using this plan, they will create a game where users collect different items to keep the character alive. Using variables, students will create character stats that reset when the green flag is clicked and gradually decrease throughout the game. They will code conditional statements to react when a variable is less than a certain value and develop power-ups to help their hero survive. To conclude the lesson, students will determine two outcomes and create specific scenes for each.
Overview documents
My hero’s journey
Students will create an original character and determine their unique strengths, weaknesses, and survival needs.
Worldbuilding
Students will use paint tools to create their character and setting in Scratch. They will initialize their starting backdrop and position using commands.
Opening scene
Students will input their character’s narrative into their program. Before coding, they will read their narratives aloud to a classmate and apply feedback.
Survival meters
Students are introduced to variables and use them in their program to measure three survival meters for their hero sprite. Using loops, they will decrease the value of these variables.
Character logic
Using conditionals, students will have their character react when a variable reaches a certain value. They will use Looks blocks to create a short dialogue and create costume changes when their character is in trouble.
Game over
Students determine what will happen when a user wins or loses. They will draft dialogue and use conditionals to change the backdrop and send a message when their variables reach a certain level.