Recap
Learning objective
Recap
Learning objective
Fill in the blanks
A sprite is a 2D image or character in a game that can be moved, animated, or changed using code.
A variable is a named place in the computer’s memory where we can store information.
Input is data that goes into a program, such as pressing a key or typing an answer.
Output is what the program produces, such as showing a message, moving a sprite, or playing a sound.
Selection is when a program makes a decision based on a condition.
A condition can be either true or false
Which sentence best explains what a variable is?
A character or object in a game.
A named place in memory that stores a value which can change.
A message shown on the screen.
Variables
100
Which sentence best explains what a sprite is?
A value that can change during a program.
A rule that checks if something is true or false.
A 2D image that can be moved or controlled using code.
Sprites
What does an if else block allow a program to do?
Make a decision
Draw a sprite
Start the program
Answer D
Selction
An if else block in scratch also known as a selection block allows a computer to evaluate an expression to ‘true’ or ‘false’ and then perform an action depending on the outcome.
Which block is an example of an event in Scratch?
on game update
move sprite
Set myMole to
Events
Events in Microsoft MakeCode Arcade are trigger-based code blocks that run when specific conditions or inputs occur, moving your game away from a rigid script and into an interactive experience. Key event categories include:
Input Events: Triggered by pressing/releasing controller buttons (A, B, or directional pads).
Collision/Overlap Events: Triggered when specific SpriteKind types intersect (e.g., player meets coin, bullet hits enemy).
Timing Events: Run code at recurring intervals or every single frame of the game (e.g., on game update).
Microsoft MakeCode Arcade
Sign in with microsoft and Play through one of the projects on MakeCode Arcade