
Anti-aircraft Gunner
A simple OpenGL 2d game written in Java where you control a vehicle that shoots projectiles against enemy planes that try to destroy you and the city buildings ๐ฏ
Prerequisites ๐จ
Java 11 or newer
Windows, MacOS or Linux OS
Usage ๐ป
The
.jar and .exe files can be downloaded directly from the Releases section.
If you would like to clone this repository, play around and recompile it:
This is a Gradle project, so by just running
./gradlew build should get you all set and have everything compiled without needing to take care of any dependencies.How to play ๐ฎ
Action Description
Use the
LEFT and RIGHT arrow keys to move the horizontally player across the screen:Use the
UP and DOWN arrow keys to rotate the player around (-80 to +80 degrees)Hold the
SHIFT key to charge the rocket launcherPress
SPACEBAR while still holding SHIFT to shoot a projectileNOTES:
The longer you hold the
SHIFT key the more powerful your projectile will be when you shoot. Unfortunately, since excess of power leads to corruption, there's a limit for how powerful your shot can be (yeah I know ๐ฅ).
You will see when your launcher has already reached its full capacity when the arrow turns red, like the image below.There's also a minimum power that your launcher has to have in order for you to be able to shoot, so you can't just hit
SPACE and shoot.And yeah, you have unlimited projectiles at your disposal. Just be careful about crashing your computer by spawning too many of them (remember, don't abuse power! ๐)
Authors ๐ฉโ๐ป
This game was made as part of a computer science college assignment related to the subject of Computer Graphics.
1 like ยท 34 views ยท Jul 30, 2025
Developed a 2D anti-aircraft game using Java and OpenGL