When you code a Scratch project, you sometimes want the sprites to do different things, depending on what is happening in the project.
For example, in the Recycle Game in Unit 5, you used an if-then-else block to add 1 to the score ifthe user moved the item onto the correct Sprite. Else, the project subtracted 1 from the score.
The video below helps to explain the different types of conditional blocks, which are blocks that cause different actions depending on a condition.
The girl is using a different coding language than Scratch, so the blocks look a little different and have different colors, but the ideas are the same.
Scratch game apps are really fun and can be a great way to educate users about big problems!
ACTIVITY: OCEAN PLASTIC CLEANUP GAME
Follow the video below to make a game where a diver will race against a fish to pick up plastic in the ocean.