Professional Documents
Culture Documents
Programming Assignment 15-BH Blast Hornet
Programming Assignment 15-BH Blast Hornet
Sprite Animation
Create an application that simulates Blast Hornet in action. The program must be able
to do the following:
Provide a background.
Start with Blast Hornet doing his intro animation.
Allow the user to control Blast Hornet. Blast Hornet can do the following
actions:
o Fly.
The user clicks at a certain location and Blast Hornet flies to that
location.
Blast Hornet flies in a figure-eight path.
o Sting attack.
Blast Hornet protrudes his sting and flies towards the location of the
Megaman dummy (which will be explained later).
Blast Hornet then files back to where he was when he started to perform
this move.
o Shoot parasitic bomb.
Blast Hornet summons a small robotic hornet (a.k.a. “parasitic bomb”).
The user clicks in a certain direction and the parasitic bomb flies in that
direction.
The parasitic bomb stops when reaching the ceiling, the floor, or a wall.
The parasitic bomb disappears after a few seconds.
Blast Hornet can shoot multiple parasitic bombs simultaneously in
different directions.
o Shoot crosshair.
Blast Hornet shoots a small crosshair that slowly homes in on the
Megaman dummy.
If the crosshair hits the Megaman dummy, the crosshair will become
large and stay with the Megaman dummy wherever it goes.
If the Megaman dummy has a large crosshair following it, any parasitic
bombs shot by Blast Hornet will home in on the Megaman dummy
instead of simply moving in a straight line.
The crosshair disappears after 15 seconds.
o Change facing direction.
Blast Hornet always faces towards the Megaman dummy and will
automatically change facing direction whenever whenever the Megaman
dummy is behind him.
Place a dummy, doll, or puppet of Megaman (or anything else that you like) as
a target for Blast Hornet.
o The dummy starts at a fixed location on the ground.
o The dummy is by deafult passive. It does not perform any action.
The dummy is able to move around. You decide how the dummy moves
around.
The dummy can shoot projectiles. You decide how the projectiles move.
o If the dummy gets hit by Blast Hornet or his parasitic bombs, it will
disappear.
After a few seconds, it will respawn at a random location on the ground.
The dummy must not collide with Blast Hornet when it respawns.
Display an animation of the dummy getting destroyed.
Display an animation of the dummy getting sucked into the gravity well
if it reaches the center of the well.
Provide the proper animations for each action.
Bonus points for user friendliness. Negative points for extreme user
unfriendliness.
You must display Blast Hornet (and other sprites) and the background using the same
picturebox.
You may not display Blast Hornet by putting it on a picturebox and overlaying it with
the background on another picturebox. Doing this will result in rejection of your
project.
You must use non-transparent image files for the sprites. You mat not use transparent
PNG files or something similar to that.
You must create your own procedure/function to handle collision detection. You may
not use the built in collision detection procedure/function provided by the
programming language you use (if there is any).
What to submit:
An executable file (EXE)
The source code (+ modules or libraries if necessary)
A report.