Scene Scroller

TThis project combines both the invader game and the scene scroller project into one game. First the game is rearranged, placing the launcher on the left side of the screen moving vertically, and the invaders on the right side of the screen moving horizontally. A score board is located at the bottom, keeping track of the score and the number of lives remaining. Also, sound effects are included using the sound object to control when each sound is played. Finally, fireball animations where added to the aliens to simulate explosions when they are destroyed.

Scene Scroller

The scene scroller script has been completely re-written. This game requires only one background to be repeated over and over, so loading images became unnecessary. Also, this script eliminates the gaping problem that exists in the script from class. The script duplicates the background image, placing it directly next to the original one. The enterFrame handler moves both images from right to left. When the right side of the duplicated images reaches the right side of the screen, the original images is moved to the right side of the duplicated images. This is repeated over and over, creating a seamless transition.