I have a student who wants to have the enemy shoot projectiles at the player and the player shoot projectiles at the enemy.
When the enemy’s projectile hits the player, game over.
However, when the user presses A to create a projectile from player, it’s resulting in a game over.
Is there a way to create projectiles from sprite of a certain kind? Right now all the projectiles are of kind projectile, and we can’t have two kinds (enemyProjectile and playerProjectile).
**Note: right now he’s only using rockBaby as the player, so make your age younger than 18 when you start.