What We Did Today:
- Continued fireball fight
- Coded the fireball to appear and start shooting and disappearing when it hits the edge
- Talked about why it’s better to compare the x position than sense if the fireball is touching the edge
Homework:
- Make the fireball disappear when it hit hits the other player, and reduce the other player’s health by 1 if it touched the player
- You can make the code above inside of the fireball code
Notes:
If you have any questions, feel free to email me at ddjapri@ayclogic.com