« All Events
6 PM – Scratch Level 2 – Allison
February 15, 2023 @ 6:00 pm - 7:00 pm
Today We:
- Finished the Lightning sprite by making it explode.
- Added the Fireball variable.
- Added the FireballPowerUp sprite.
- Made the FireballPowerUp sprite create clones of itself and go to random locations on the screen.
- Made the FireballPowerUp fall down the screen. When it touches the edge of the screen, it gets deleted.
- Made the FireballPowerUp sprite delete itself and increase the Fireball variable by 1 when it touches the Spaceship sprite.
- Made the Fireball variable decrease by 1 when the space key is pressed and the variable is greater than 1.
Homework:
- Add a LightningPowerUp sprite.
- Make a Lightning variable.
- Set the Lightning variable to 5.
- Make the LightningPowerUp sprite hide and create clones of itself. After it creates a clone, make it wait 2 to 5 seconds before creating another clone.
- Make the LightningPowerUp clones go to a random x on the screen and show up at the top of the screen.
- Make the LightningPowerUp clones fall down the screen forever.
- Delete the LightningPowerUp clones if they are near the edge of the screen.
- If the Rocketship touches a LightningPowerUp clone, delete the clone and increase the Lightning variable by 1.
- In the Rocketship, when the B key is pressed, if the Lightning variable is greater than 1, create a Lightning clone and decrease the Lightning variable by 1.
- Contact us if you have any questions or need any help: gamas@ayclogic.com or allison@ayclogic.com