Variables in Games · Algorithms & Programming

Changing Variables through Interaction

Programming triggers that increase or decrease variable values based on user input or sprite collisions.

Key Questions

  1. 1How do we use mathematical operators to change a score variable?
  2. 2What is the difference between changing a variable and setting a variable?
  3. 3How would you design a penalty system that reduces a player's health?

National Curriculum Attainment Targets

KS2: Computing - Programming and Algorithms
Year: Year 5
Subject: Computing
Unit: Variables in Games
Period: Algorithms & Programming

Ready to teach this topic?

Generate a complete, classroom-ready active learning mission in seconds.

Browse curriculum by country

AmericasUSCAMXCLCOBR
Asia & PacificINSGAU