Introduction: Star Wars Part 2

Goal:


This is day two of 6 of our Star Wars Scratch project. Last lesson we programmed the X-wing to respond to our button presses and fly around on the screen. Today we are going to take that illusion of movement and add to it by making our star field background scroll past us. This will make it look like our X-wing is flying through space!

We are also going to give our X-Wing the ability to shoot lasers! This is our next major step to having a fully functional and fun game. In later steps we will be programming in enemies that will react to the the lasers, but for now we are just going to get them to fire.

Part 2 Template:

Click here to start: Star Wars Day 2 Template

Code:


Click to replay