Astro Blaster
SOLs CT 6-8.4 - 6-8.6, CT 6-8.8
Create a game that allows you to shoot asteroids with a rocket.
Stars - backdrop
Rocketship sprite
Button2 sprite
Rocks sprite
Procedures
Click on the stage then select the Stars backdrop
Add the following sprites.
Rocketship
Rocks
Button2
Adjust the direction of the rocket by changing the direction value to 180.
Program the rocketship using the following code. You will need to create a variable called "score".
6. Next use the following code to program Button 2:
7. Now program the rocks like this: