Want to create interactive content? It’s easy in Genially!
Course E - Lesson 7 Meadow Lane
Susan Prabulos
Created on November 6, 2024
Start designing with a free template
Discover more than 1500 professional designs like these:
View
Frayer Model
View
Math Calculations
View
Interactive QR Code Generator
View
Interactive Scoreboard
View
Interactive Bingo
View
Interactive Hangman
View
Secret Code
Transcript
Course E - Lesson 7 Variables as score
Elementary Game Design Module
How can we use code to keep score?
Score: 4
Elementary Game Design Module
Lesson 7 - Warm U
Elementary Game Design Module
Allows you to see the variable
Score: 0
Score: 4
Start of game
When a point is scored
Elementary Game Design Module
How can we use code to decide when we win or lose?
Elementary Game Design Module
How you win the game
Score: 5
What happens when you win
Elementary Game Design
Lesson 7 - Activity
Level 1 - Explore (Choices)
Elementary Game Design
Lesson 7 - Activity
04:00
Level 1 - Explore (Choices)
Elementary Game Design
Lesson 7 - Activity
Level 2 -Video
How can we keep track of the score as it changes throughout the game?
Elementary Game Design
Lesson 7 - Activity
Level 3 - Read to learn
Do This
- Read about using variables in a game
- Click next to preview steps to adding variables to YOUR game!
Elementary Game Design
Lesson 7 - Activity
Levels 4-10 Skill Building
Do This
- Follow the instructions on each level.
- Read the hints and feedback
score : 0
health: 5
Elementary Game Design
Lesson 7 - Activity
Level 7 - Matching Check for Understanding
Do This
- Drag the code over to corresponding animation
- Click Submit when you are finished
Elementary Game Design
Lesson 7 - Activity
Level 8
Do This
- Read about using a conditional to check for a winning score
score: 0
health: 5
Elementary Game Design
Lesson 7 - Activity
Levels 9 - 10 - Practice with conditionals
Do This
- Code a winning score
- Move the conditional statement to the matching image
Elementary Game Design
Lesson 7 - Activity
Level 11 - Choice
Do This
- Each of these games has a problem with the variables
- Choose a game to debug
- Use what you have learned about variables and conditionals to improve the game.
Elementary Game Design
Lesson 7 - Activity
Level 12 - Free Play
Do This
- Design and develop your own game!
- Add a background and some sprites
- Code sprite behaviors
- Add a variable to keep track of the score or health
- Add a winning or losing condition