- This event has passed.
10:30 AM – Scratch Level 2 – Yitong
December 2, 2023 @ 10:30 am - 11:30 am
Today we:
- Worked on the Fireball Fight project.
Homework:
- Make a Right Player ATTACK variable. Add code to the Right Player sprite so that if there are more than 0 Right Player ATTACKs:
- create a clone of the Right Player Attack sprite
- change the Right Player ATTACK variable by -1
- Inside your Right Player Big Attack sprite, copy the same code from the Right Player Small Attack sprite.
- This Right Player Big Attack sprite should do -3 damage.
- Make a Right Player BIG ATTACK variable. Inside the Star sprite:
- broadcast Right Player BIG ATTACK
- set the Right Player BIG ATTACK variable to 1
- Inside the Right Player sprite, when it receives Right Player BIG ATTACK, it should:
- keep changing color until the Right Player BIG ATTACK variable = 0
- clear graphic effects after it is done changing colors
- Inside the Right Player sprite, when the n-key is pressed, if the Right Player BIG ATTACK variable = 1:
- create a clone of the Right Player Big Attack sprite
- set the Right Player BIG ATTACK variable to 0
- Inside the Stage:
- set the Right Player ATTACK variable to 5
- set the Right Player BIG ATTACK to 0
Send me your project here: yitong@ayclogic.com
- Homework is due FRIDAY NIGHT. You can submit it earlier, I will check it as soon as I can.
- Make sure to SHARE your project. Otherwise, I cannot see it.