Course E - Lesson 7 Meadow Lane
Susan Prabulos
Created on November 6, 2024
Over 30 million people create interactive content in Genially
Check out what others have designed:
BASIL RESTAURANT PRESENTATION
Presentation
AC/DC
Presentation
ENGLISH IRREGULAR VERBS
Presentation
ALL THE THINGS
Presentation
SANTIAGOVR_EN
Presentation
WWII TIMELINE WITH REVIEW
Presentation
BLENDED LEARNING
Presentation
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
Allows you to see the variable
When a point is scored
Start of game
Score: 4
Score: 0
Lesson 7 - Warm U
Elementary Game Design Module
Elementary Game Design Module
How can we use code to decide when we win or lose?
What happens when you win
How you win the game
Score: 5
Elementary Game Design Module
Lesson 7 - Activity
Level 1 - Explore (Choices)
Elementary Game Design
Lesson 7 - Activity
Level 1 - Explore (Choices)
Elementary Game Design
04:00
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
Do This
- Read about using variables in a game
- Click next to preview steps to adding variables to YOUR game!
Level 3 - Read to learn
Elementary Game Design
health: 5
score : 0
Lesson 7 - Activity
Do This
- Follow the instructions on each level.
- Read the hints and feedback
Levels 4-10 Skill Building
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
health: 5
score: 0
Lesson 7 - Activity
Do This
- Read about using a conditional to check for a winning score
Level 8
Elementary Game Design
Lesson 7 - Activity
Do This
- Code a winning score
- Move the conditional statement to the matching image
Levels 9 - 10 - Practice with conditionals
Elementary Game Design
Lesson 7 - Activity
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.
Level 11 - Choice
Elementary Game Design
Lesson 7 - Activity
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
Level 12 - Free Play
Elementary Game Design