Welcome to one of my COMP 3609 Game Programming projects! This game was designed using the teachings of the COMP 3609 gaming programming course as well as in conjunction with the Java 2D API. The story follows a city that is under attack following the start of World War V. As the protagonist, you operate a laser cannon in defense of the city and must use it to destroy as many missiles as possible before they impact the city.
Completed on 19th March 2022, and uploaded to GitHub on 12th October 2023 to be archived.
- Ensure Java Development Kit is installed.
- Navigate to the root directory of the project.
- Open a terminal within the directory and enter the following:
javac GameApplication.java -Xlint:unchecked
- Once compiled, enter the following:
java GameApplication
- Enjoy!
The following is a list of features that are implemented into the game:
- Score tracking.
- Dynamically increasing difficulty based on score.
- Limited lives.
- Bonuses that give you additional lives.
- The player takes control of the cannon using the mouse, and shoots by clicking.
Images:
- City on the starry night sky with dark blue glow by Andrii Tokarchuk, 21st April 2019.
- Alien Spaceship Pack Stock Illustration by Zuhria Alfitra, 19th December 2017.
- Tall Building Clipart Purple City Buildings by Clip Art Suggest, n.d.
- Transparent Pixel Missile by SeekPNG, n.d.
- Parachute PNG by PNGImg, n.d.
- No Friends Cliparts #2471807 by ClipArt Library, n.d.
- Circle Microsoft Azure Turquoise Sky plc, circle, blue, effect, shield png by ClipPNGWing, n.d.
- Perspective Projection (Jet) by GameFromScratch, n.d.
Animation:
- Sprite Explosion Animated film 2D by PNGWing, n.d.
- Animated Fire by BenHickling, 2nd October 2018.
Sounds:
- Menu Music by The mrpoly, 13th December 2010
- Crowd Panic Sound Effect by TheMSsoundeffects, 5th June 2013
- Explosion-0 by TinyWorlds, 28th January 2015
- 1-Up by The Mushroom Kingdom, n.d.
- 63 Digital sound effects (lasers, phasers, space etc.) by Kenney, 9th October 2012.
- Explosion 6, Boom Pack 2 by dklon, 23th December 2020
Image FX:
- DisintegrateFX by The P. Mohan, 2022
- RotateFX by The P. Mohan, 2022