Building a Game in Scratch
Essential Question
How do you build a game in Scratch?
Warm Up Kahoot:217030
Learning Target
Be able to build and enhance a simple game in Scratch.
Quiz moved to next Wednesday.
Learning Objectives
Outline for the day
Design a Game: “Run Away”
Design a Game
Design a Game: Controls
Key Used | Movement |
Up Arrow | Move Up |
Down Arrow | Move Down |
Left Arrow | Move Left |
Right Arrow | Move Right |
Space Bar | |
Design a Game: Game Play
Game Feature | Working? |
Bad Person moves randomly so the Good Person can’t guess where he is going | |
The Good Person starts with 5 lives (Later Lessons) | |
If the Good Person is touching the Bad Person then the Good Person loses a life. (Later) | |
If the Good Persons lives become equal to zero the game stops and a Game Over background appears (Later) | |
When the Game restarts the background is reset and the lives are initialized back to 5. (Later) | |
Design a Game: Improvements
Building the Game
Sample Good Code
Program the Bad
Sample Bad Code
Refine these values to improve the Bad movements.
Ouch!!!
Possible Good Code
Extensions