Modified Game – Alien Attack

Objective
In this lesson, students will learn:

  • How to modify the Number Guessing game to the Alien Attack game.

Concept: Try to guess the invading space alien’s position to shoot it down.
Enter X and Y positions between 0 and 300 and click the Fire! button.
       

The X position is the horizontal distance in pixels, from the left side. The Y is the vertical distance in pixels. from the top of the screen. If you miss, the alien moves closer to Earth and choose a new random X position. If it reaches Earth within eight turns, you lose. But if you hit it, you save Earth! Each time you make a guess, your cannon moves the X position you entered and your missile moves to the X and Y positions that you guessed.


Files to Download
Alien
Background
Cannon
Missile
Explosion

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s