Mobile Development Project 4:
A touch missile command
Objective: to practice event handling, graphics programming,
touch handling and simple file and asset handling in android.
Due: Wed April 8th at 11:55pm
You are going to implement a simple missile command app.
Here is a
zip of sample Graphics
You are going to re-implement a simple missile command game. Rather than
use the original line graphics approach, use images as in the two remakes
below one by OMGPOP and the other by some NES homebrew enthusiasts.
Your app should have the following functionality
- attacking ships/missiles
- At first every second (later on it should be faster) a new ship or
missile should enter randomly from somewhere on the top of the screen.
- at regular intervals (about every 30 seconds) double the number of
missiles coming in each second. (you can tune this down to each minute
as long as there is a way for me to speed it back up)
- these ships/missiles should move in a slow straight light for one of
the cities (see below)
- The city should be targeted when the ship/missile enters the screen;
if the target city is destroyed, the target shouldn't change.
- there should be 5-7 harmless helpless houses/cities/bases.
- if an attacking ship/missile collides with one of these, it is
- when all of these cities/houses/bases are destroyed, the player
- defense stations
- there should be three defense stations
- when a user touches a defense station and then touches another point
on the screen above the defense station (so selecting another defense
station shouldn't trigger a fire) the defense station should fire a
drone/counter missile to the point the user touched. At that point the
drone/counter missile will explode.
- the explosion shouldn't be more than an 8th of the screen in any
direction and should be round-ish.
- if the bounding box around the explosion intersects the bounding
box around any attacker, then that attacker is destroyed.
- note than one explosion can destroy more than one attacker
- the defense drones/missiles must take at least two seconds to cross
- every time an attacking ship/missile is destroyed, the player should
get 5 points,
- The score should be displayed.
- When the player loses the game check the highscores file (which must
be kept on the sd card/external storage. If the current game is a new
high score, (top 5) then add it to the file.
- Show the 5 top scores when the player loses.
Include a readme.txt text file in your project. For this project the
readme.txt should include
- your name
- your approach. Did you use something that we didn't review in class?
What did you do to implement the project?
- directions on running. Do I need to know anything, does the game start
immediately or does it need me to do something to start.
- Anything that is still not done when you submit.
When you are ready to submit your project zip up the folder with the
project and code, your images and other assets and your readme and upload
them to moodle. Make sure that the folder in your zip file has your name
or initials in it.
Project4/ is bad
JFSProject4/ is fine so is Project4Santore/