- This event has passed.
6:00 PM – Scratch 2 – Yitong
March 28, 2023 @ 6:00 pm - 7:00 pm
Today we:
- Added code to check for the Left Player’s health.
- Made the Win Banner sprite.
Homework:
- In the GameLoop sprite, check if the Right Player’s health is 0 or below. If it is, then broadcast the message “Left Player Wins” and stop the script.
- In the Win Banner sprite, when the game starts the sprite needs to hide. When it receives the “Left Player Wins” message, you need to switch to the “Left Player Wins” costume and make the sprite show up. When it receives the “Right Player Wins” message, you need to switch to the “Right Player Wins” costume and make the sprite show up.
Turn in your homework here: yitong@ayclogic.com