Question: This assignment will build on the Canvas 2 D Asteroids example which was discussed in class. You must use this code as a starting point

This assignment will build on the Canvas2D Asteroids example which was discussed in class. You
must use this code as a starting point and build on it rather than starting with your own code base.
Add collisions (so that the player can be killed when hitting an asteroid). The classic asteroids
game did not have collisions between asteroids.
Add bullets so the player can shoot the asteroids. When shot, large asteroids split into small
asteroids, while small ones are removed from play
Add a scoring system and lives (the player gets 3 lives before the game is over)
Add some kind of visual explosion effect when the player is killed
Add a levels system so when all asteroids are destroyed, a new larger group of them is
spawned
Add alien spaceships which fly across the screen from time to time if the player is being slow
completing a level. These spaceships shoot at the player as they cross the screen.

Step by Step Solution

3.55 Rating (148 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

It seems you have been given an assignment to enhance an existing Canvas2D Asteroids game by adding ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!