- This event has passed.
6:00 PM – Scratch 2 – Yitong
March 14, 2023 @ 6:00 pm - 7:00 pm
Today we:
- Added code to make the Left Player sprite shoot their attacks.
- When the attacks hit the Right Player, their health goes down.
- The Left Player Attack clones are deleted when they are near the edge of the screen or when they hit the Right Player.
Homework:
- When you press the M key, the Right Player sprite should make a clone of the Right Player Attack sprite and the number of attacks the Right Player sprite has should go down by 1.
- The Right Player sprite can only make a clone when they have more than 0 Right Player Attacks.
- The Right Player Attack clones should show up and go to where the Right Player sprite is.
- The Right Player Attack clones should move to the left forever. When they pass -200 on the x-axis, you should get rid of them.
- If the Right Player Attack clones touch the Left Player sprite, the Left Player sprite’s health should go down by 1. You should also get rid of the clone.
- Add ultimate attack sprites and name them “Left Player Ultimate” and “Right Player Ultimate.” There should be an ultimate attack sprite for each player. In total, you should have 9 sprites.
Turn in your homework here: yitong@ayclogic.com