Introduction: Star Wars Part 3

Goal:


This is day 3 of our 6 part Star Wars project. We have a working X-wing that can fly around and fire it’s laser. We also have a background that moves behind us to make it look like the X-Wing really is flying through space. Now we need to add enemies to fight.

Today we are going to add our first enemy, the TIE-Fighter. We want to make it appear at the top of the screen and fly towards the bottom. We want it to disappear when we hit it with the laser, the X-Wing, or if it gets to the bottom of the screen. We also need to create a system for keeping track of the points we gain or lose for fighting the TIE-Fighters.

Part 3 Template:

Click here to start: Star Wars Part 3 Template

Code:


Click to replay