Skip to content

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 ๐Ÿ˜ฏ

Notifications You must be signed in to change notification settings

sarah-lacerda/anti-aircraft-gunner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

91 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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 ๐Ÿ˜ฏ

Game Screenshot

Prerequisites ๐Ÿ”จ

  • Java 11 or newer
  • Windows, MacOS or Linux OS

Usage ๐Ÿ’ป

The .jar and .exe files can be downloaded directly from the Releases section right here.

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:
Player rotation Use the UP and DOWN arrow keys to rotate the player around (-80 to +80 degrees)
Hold the SHIFT key to charge the rocket launcher
Press SPACEBAR while still holding SHIFT to shoot a projectile

NOTES:

  • 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 ๐Ÿ‘ฉโ€๐Ÿ’ป

  • Sarah Lacerda

  • Julia Maia

This game was made as part of a computer science college assignment related to the subject of Computer Graphics.

About

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 ๐Ÿ˜ฏ

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages